Google analytics

Discussion in 'Google Analytics' started by Tashan007, Sep 8, 2009.

  1. #1
    can any one tell me where i have to paste google analytics code to track????
     
    Tashan007, Sep 8, 2009 IP
  2. Voimis

    Voimis Peon

    Messages:
    60
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    As the Analytics page that gives you the code says:

    just before </body> in your HTML code.
     
    Voimis, Sep 8, 2009 IP
  3. Tashan007

    Tashan007 Peon

    Messages:
    157
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    which html code?
     
    Tashan007, Sep 9, 2009 IP
  4. camp185

    camp185 Well-Known Member

    Messages:
    1,653
    Likes Received:
    51
    Best Answers:
    0
    Trophy Points:
    180
    #4
    Google suggests right before the ending body tag, but if a visitor leaves before the script has loaded you won't see them. You may want to consider putting it right after the body tag. That is what I do. You need to just be smart about it. If you have a ton of javascripts already loading on your page things get messed up or not always downloaded. Prioritize.
     
    camp185, Sep 9, 2009 IP
  5. seospeaking

    seospeaking Peon

    Messages:
    41
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Google suggests just before </body> tag. But I suggests always keep it in the <head> tag. So if whole page not uploaded then too your GA track the visitors. -------------Vishal
     
    seospeaking, Sep 11, 2009 IP
  6. profitable

    profitable Peon

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    paste the code into your footer - at the very bottom of your page
     
    profitable, Sep 12, 2009 IP
  7. jonbuoy

    jonbuoy Peon

    Messages:
    284
    Likes Received:
    4
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I've got to agree with Camp185, post the analytics code just after the <body> tag towards the top of your page and then a hit will get recorded even if the page does not fully load.

    The html code of each page. If you don't know what html is, you're fighting a losing battle
     
    jonbuoy, Sep 16, 2009 IP
  8. davidmerrick

    davidmerrick Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    I usually go by the book and put it before the </body> tag, but that's good thinking to put it in the header because it's true that if the visitor leaves before the page loads, Google wouldn't pick up on it in the analytics
     
    davidmerrick, Sep 18, 2009 IP
  9. HomeComputerGames

    HomeComputerGames Peon

    Messages:
    871
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Every page that you want Google to monitor.
     
    HomeComputerGames, Sep 18, 2009 IP
  10. onsons

    onsons Peon

    Messages:
    108
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    hi, you have to paste analytic code just before to </body> of every page. To include code for every page u have paste it just before to </body> in footer in include folder.
     
    onsons, Sep 18, 2009 IP