Announcement

Collapse
No announcement yet.

google analytics for V10

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    google analytics for V10

    please can you tell me strp by step where i enter the following

    add the following piece of code to the website before the </head> tag on every page:



    <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', 'UA-45105825-1', 'easimat.com');

    ga('send', 'pageview');



    </script>



    The second part is to set up the ecommerce tracking so shopping cart data is shared.
Working...
X