Title: Perfect script injection
Last modified: September 2, 2016

---

# Perfect script injection

 *  [artofadoweb](https://wordpress.org/support/users/artofadoweb/)
 * (@artofadoweb)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/perfect-script-injection/)
 * Just installed it and the universal analytics code is exactly like GA describes
   it.
    No more and certainly not less. Can recommend this plugin.
 * Grtz Peer

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [artofadoweb](https://wordpress.org/support/users/artofadoweb/)
 * (@artofadoweb)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/perfect-script-injection/#post-7840699)
 * Update.
 * I checked the code supplied by Universal analytics again and there”s a little
   differcene. This is the actual script with the name of my website after the tracking
   code (see under). But when i look in teh source code of my page after using your
   terricaly easy plugin, I see the whole script exept the name of the website. 
   Is there a way to make it an option in your plugin to give the name of the website
   to track?
 * _[ Moderator note: please wrap code in [backticks or use the code button](http://codex.wordpress.org/Forum_Welcome#Posting_Code).]_
 *     ```
       <script>
         (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
         (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
         m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
         })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
         ga('create', <strong>'UA-xxxxxxx-x', 'artofado.nl')</strong>;
         ga('send', 'pageview');
   
       </script>
       ```
   
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/perfect-script-injection/#post-7840700)
 * Yes, I’ve added this to the list and will implement next update.
 * Thank you for the feedback 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Perfect script injection’ is closed to new replies.

 * ![](https://ps.w.org/ga-google-analytics/assets/icon-256x256.png?rev=2053004)
 * [GA Google Analytics – Connect Google Analytics to WordPress](https://wordpress.org/plugins/ga-google-analytics/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ga-google-analytics/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ga-google-analytics/)
 * [Active Topics](https://wordpress.org/support/plugin/ga-google-analytics/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ga-google-analytics/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ga-google-analytics/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/perfect-script-injection/#post-7840700)