Hi
I am having trouble installing google analytics, I have copied the code into the 'end of body' tag and the code seems to be in the right place in the page source but it is not being picked up in my analytics account or by the firefox plugin I have.
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-11804058-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script></body>
</html>
Could you please advise if I am doing something wrong?
I am having trouble installing google analytics, I have copied the code into the 'end of body' tag and the code seems to be in the right place in the page source but it is not being picked up in my analytics account or by the firefox plugin I have.
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-11804058-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script></body>
</html>
Could you please advise if I am doing something wrong?