google analytics problems

I am using this code from google analytics and pasting it in to my _footer,html, but it fails to pick it up.

Any ideas please ?

 

<bx_injection:injection_footer />

<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-XXXXXXXX-X']);
_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>

Quote · 18 May 2011

I can't see anything in there that would be wrong. What editor did you use to make the changes?

 

This is a dumb question, but you masked your UA code to X's for this post right?

 

To rule out any theme/template/cache issues, do you see the code injected when you view the source of your website? It should be at the very bottom.

 

Last note, it can take up to 24 hours or more before GA picks up your site code properly.

Skype: shawn.nelson
Quote · 19 May 2011

Did you empty the cache/ (except for the .htaccess file) and cache_public/ directories after adding the code?

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 19 May 2011

Hi Guys,

All seems to be working now, maybe it was a delay in google verification, thanks very much for taking the time to reply to me.

 

Steve

Quote · 19 May 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.