• Hello everyone and thanks for taking the time to help me out,
    I am the marketing coordinator here and don’t have too much web experience but I am learning. I am just trying to see where we get most of our traffic from on our website.
    I have been trying to install google analytics to our website castroscleaning.com for about a week now. I made the google account, got their code and posted it at the top of all of our pages above the <head> tags. Everything matches the code, and the tracking number, yet I cannot get google to identify the code and start tracking.
    If anyone can help it would be much appreciated!

    our website castroscleaning.com

    our analytical code:

    <script type="text/javascript">
    
      var _gaq = _gaq || [];
      _gaq.push(['_setAccount', 'UA-37610655-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' : 'https://www') + '.google-analytics.com/ga.js';
        var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
      })();
    
    </script>

    [Please post code or markup snippets between backticks or use the code button. As it stands, your posted code may now have been permanently damaged by the forum’s parser.]

Viewing 2 replies - 1 through 2 (of 2 total)
  • When did you add the code? Google needs to do a few things before it starts working…

    You can use other methods also (to see your traffic), and many hosts provide such for site owners…

    While up at Google, use their other tools to check site…for example did you submit your sitemap and robots files? Is something else up?

    Thread Starter Gustavo_Castro

    (@gustavo_castro)

    I pasted the code about a week ago, then I’ve just been trouble shooting the past few days. I have not done anything but put the codes where google said to, and thats it. Im very new at this and haven’t tried anything else yet.
    Thanks for the response.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Adding Google Analytics’ is closed to new replies.