: Since you mentioned that your code is in the footer, do you have the entire code block in the footer? If so try putting the top half in head: This code is just an example to show where
Since you mentioned that your code is in the footer, do you have the entire code block in the footer? If so try putting the top half in head:
This code is just an example to show where the break should occur. Your code might look different.
<head>
<script type="text/javascript">
//Tracking code customizations only
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'your analytics acct #']);
_gaq.push(['_setAllowHash', false]);
_gaq.push(['_trackPageview']);
</script>
</head>
Only include the part starting with (function(){ in the footer with script tags around it:
<script>
(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>
More posts by @Radia820
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.