Google Anylitics Code

Discussion in 'Water Cooler' started by BabyDesigner, Sep 21, 2009.

  1. BabyDesigner

    BabyDesigner Adept

    Where do I put the google anylitics code?
    Ive been looking EVERYWHERE and I cant find one definate place to put it :(
    And I keep getting the annoying "Tracker not installed" even though I can find it in my source code.


    HELLLP
     
  2. BabyDesigner

    BabyDesigner Adept

    OOPS I just realised I posted in the wrong area, oops.
     
  3. ArnyVee

    ArnyVee Regular Member

    I generally put mine in the footer of my vB install. This way, it loads on every page without an issue :)
     
    2 people like this.
  4. BabyDesigner

    BabyDesigner Adept

    So this would be style manager > all style options > then place the code in the footer section?
     
  5. kev

    kev Regular Member

    At the very bottom of the footer.

    Instead of going to all styles, I search for the footer template and add the code to every style I have installed.
     
    2 people like this.
  6. BabyDesigner

    BabyDesigner Adept

    Ok put it there, now i have to wait a few hours for the google bots to pick it up?
     
  7. Wayne Luke

    Wayne Luke Regular Member

    I recommend that you put it in the ad_footer_end template. This template ships blank by default and should never trigger the "Updated Templates" feature after an upgrade. Whereas putting it in the footer can prevent changes from being applied on a new upgrade or if you purchase branding free.
     
    2 people like this.
  8. BabyDesigner

    BabyDesigner Adept

    Thanks Wayne, ill move it soon as I jump on my computer again.
     
  9. Michael

    Michael Regular Member

    Hmmm I have been having problems using this in the headinclude template with the site refreshing constantly, Ill try in there :D
     
  10. David

    David Regular Member

    I use mine in headinclude, sometimes people don't wait for entire pages to load.
     
  11. Michael

    Michael Regular Member

    I wonder which is best then, headinclude or the footer, I am thinking headinclude now since it may not register a visitor who never waited for the whole page to load.
     
  12. Wayne Luke

    Wayne Luke Regular Member

    Depends on whether user experience or statistics are more important to you.

    If the statistics are more important than put the code in the head of your template.

    If user experience is more important with faster loading pages than put it in the foot of your template.

    I try to side with user experience first and everything else second.
     
    2 people like this.
  13. Michael

    Michael Regular Member

    It appears to be in the footer already when using vbseo :D Gonna switch those codes in the headinclude on our other forums right to the footer :) Thanks Wayne!
     
  14. OneUpDave

    OneUpDave Guest

    I agree with Wayne, I always put the user's experience first and foremost, then the statistics last. Actually, on all of my sites, I put the code in the bottom, right before the </body> tag.
     

Share This Page