Google analytics code

Discussion in 'Google Analytics' started by sirna, Mar 16, 2010.

  1. #1
    Hi ,

    Can anyone please let me know why we need to add the google analytics code at the bottom before the end of body tag ...why can't we add it in the head tag...?
     
    Last edited: Mar 16, 2010
    sirna, Mar 16, 2010 IP
  2. vdaniel80

    vdaniel80 Peon

    Messages:
    20
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    ..because it takes time to load the tracking. So if you put it to the bottom, your website content will load first then the code. i hope it makes sense.
    BTW, there is a new code from google, which you can put in the header!! just google it.
     
    vdaniel80, Mar 16, 2010 IP
  3. desperateboy

    desperateboy Peon

    Messages:
    610
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    If they advice how use and where to use then why these kind of stupid questions asking.
     
    desperateboy, Mar 17, 2010 IP
  4. Michael-DK

    Michael-DK Peon

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    #3: I agree, but many people are used to this and that
     
    Michael-DK, Mar 17, 2010 IP
  5. sirna

    sirna Greenhorn

    Messages:
    49
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #5
    Hi Daniel,

    Thanks for your valuable answer.....
     
    sirna, Mar 18, 2010 IP
  6. sirna

    sirna Greenhorn

    Messages:
    49
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    16
    #6
    Hi Desperateboy,

    This is not a stupid question... Daniel has given the correct answer for my question....the reason we add google analytics code in the bottom is to track the page loading time... If we add the code in the headtag we cannot track the visitors count who exit from the page before loading.....so make sense right....:)
     
    Last edited: Mar 18, 2010
    sirna, Mar 18, 2010 IP
  7. bhallday

    bhallday Peon

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    yea so we can track the vistors before they leave
     
    bhallday, Mar 18, 2010 IP
  8. fatehseo

    fatehseo Guest

    Messages:
    51
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    It is really interesting fact i think very few of SEO have knowledge about this fact thanks for providing information.
     
    fatehseo, Mar 20, 2010 IP
  9. LookAtHerBeautifulFace

    LookAtHerBeautifulFace Peon

    Messages:
    171
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Yupz...it's about Tracking. If it put on the end of body tag...,They can give You complete analyze which reported on Your Google Analytics dashboard. But now a New Question emerged: why does the new code placed on the header???!
     
    LookAtHerBeautifulFace, Mar 20, 2010 IP