Google Analytics Problems
-
I’m trying to install Google Analytics to my blog. I’ve tried the plugins, but none of them work, so I’ve resorted to trying to install it myself and I’m having problems. Anything wrong with this code?
</div> </div> </div> <script type="text/javascript" src="<?php bloginfo('template_url'); ?>/script.js"></script> <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-41502146-1', 'footballbettor.co.uk'); ga('send', 'pageview'); </script> </head>
[Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
Thanks,
Pete
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Google Analytics Problems’ is closed to new replies.