Google Analytics

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dieselpowered
    Senior Member
    • Aug 2004
    • 859
    • 4.2.X

    Google Analytics

    I have tried placing the Google Analytics code in the footer template as suggested, however, that does not seem to work. Any other suggestions of what template it should be added to? Not sure if it matters, however, I am using the new Universal Analytics.

    Thanks in advance!
    CommanderTalk.com --> www.commandertalk.com
  • Wayne Luke
    vBulletin Technical Support Lead
    • Aug 2000
    • 73976

    #2
    I suggest ad_footer_bottom as the template. Normally it is blank.

    What isn't working in the footer?
    Translations provided by Google.

    Wayne Luke
    The Rabid Badger - a vBulletin Cloud demonstration site.
    vBulletin 5 API

    Comment

    • dieselpowered
      Senior Member
      • Aug 2004
      • 859
      • 4.2.X

      #3
      Originally posted by Wayne Luke
      I suggest ad_footer_bottom as the template. Normally it is blank.
      I will give that a try, thank you. **EDIT** there is no ad_footer_bottom template...there is an ad_footer_end template that is blank (which also does not work)

      Originally posted by Wayne Luke
      What isn't working in the footer?
      Google is not seeing the tracking code as being installed.
      CommanderTalk.com --> www.commandertalk.com

      Comment

      • Wayne Luke
        vBulletin Technical Support Lead
        • Aug 2000
        • 73976

        #4
        Not sure why google doesn't see it. I can see it when I view the page source in my browser:

        [code]
        <script type="text/javascript">

        var _gaq = _gaq || [];
        _gaq.push(['_setAccount', 'UA-XXXXXXXXXXX-29']);
        _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>
        [/quote]

        Removed your UA ID though.
        Translations provided by Google.

        Wayne Luke
        The Rabid Badger - a vBulletin Cloud demonstration site.
        vBulletin 5 API

        Comment

        • woodmj
          Senior Member
          • Mar 2013
          • 205
          • 5.7.5

          #5
          dieselpowered - When I first inserted the GA tracking code into my site it took GA a full 24 hrs to change it's status to recognised/installed but I found during that time the Realtime reports section worked just fine straight away so that gave me an indication it was working. Hope that helps.

          Comment

          • Wayne Luke
            vBulletin Technical Support Lead
            • Aug 2000
            • 73976

            #6
            We can't help you make Google recognize the code. I can only suggest that you reverify the code with that shown on the Google Webmaster Tools site. Also make sure to generate set up each of your sites separately if you have multiple sites.
            Translations provided by Google.

            Wayne Luke
            The Rabid Badger - a vBulletin Cloud demonstration site.
            vBulletin 5 API

            Comment

            Related Topics

            Collapse

            Working...