Google Analytics Not Working
-
Hi,
Unfortunately my GA tracking code is not working. I have contacted Google and they have advised I need to change this code :
<script type="text/javascript" > window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date; ga('create', 'UA-57752802-6', { 'cookieDomain': 'www.surreysellers.com' } ); // Plugins ga('send', 'pageview'); </script> <script async src="https://www.google-analytics.com/analytics.js"></script>
With the following 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','https://www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-57752802-6', 'auto'); ga('send', 'pageview'); </script>
How do I do this within your plug in? Thanks
The page I need help with: [log in to see the link]
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Google Analytics Not Working’ is closed to new replies.