• 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

    (@artofadoweb)

    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. ]

    <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

    (@specialk)

    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.