Author Topic

Johnny Clingham

Sunday 27 February 2011 12:45:21 pm

Comment66262

Hi all i am having issue with my google Analytics code below

I have tried putting this code in the bottom of my pagelayout.tpl

I have also tried adding it in the footer javascript

google analytics shows it has been successfully installed and data is being gathered now

but nothing appears can any one assist thank you i am not a developer but have a but of knowlodge on the file layout

here is my code

<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try{
var pageTracker = _gat._getTracker("UA-*******-2 ");
pageTracker._trackPageview();
} catch(err) {}</script>