google analytics head or body?

Discussion in 'Google' started by eSpenders.com, Mar 24, 2007.

  1. #1
    I was adding a google analytics code to a few of my new pages and noticed it said to enter code b4 the </body> tag
    but all my others that i have added are in the head tag!
    did i put it in the wrong place or did this just change
    should i move them to body!
    i would think that this could make loading content a lil faster?
    any 1 kno?
     
    eSpenders.com, Mar 24, 2007 IP
  2. unlisted80

    unlisted80 Peon

    Messages:
    644
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #2

    header...

    is this your site?
    There are 4 ads in one pages. I think google allow only 3
     
    unlisted80, Mar 24, 2007 IP
  3. eSpenders.com

    eSpenders.com Peon

    Messages:
    1,567
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    0
    #3
    yes i just purchased it! i need to finish it and promote it!
    where do u see 4 ads? are you counting the link unit?
    :eek: Please let me know
    Thanks
     
    eSpenders.com, Mar 24, 2007 IP
  4. Monty

    Monty Peon

    Messages:
    1,363
    Likes Received:
    132
    Best Answers:
    0
    Trophy Points:
    0
    #4
    No, before the closing body tag :

    Should I add the tracking code to the head or the body of my page?

     
    Monty, Mar 24, 2007 IP
  5. Pierce

    Pierce Active Member

    Messages:
    634
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    95
    #5
    the old perscribed method was "header"

    now due to speed issues, its recommended you put it at the end, just before the </body>

    Pierce
     
    Pierce, Mar 24, 2007 IP
  6. Aragorn

    Aragorn Peon

    Messages:
    1,491
    Likes Received:
    72
    Best Answers:
    1
    Trophy Points:
    0
    #6
    If you add it in the head section, then the urchin code is downloaded before the actual page. On the other hand, if you put it just before the closing body tag then the page is downloaded before the javascript code. Hence your page loads faster. During the earlier days the former method was preferred, but now the latter one is being followed. But I think, if you follow the latter method, and if a person leaves a page before it is loaded completely, then the stats for that page view doesn't get recorded. Somebody please correct me if I'm wrong.
     
    Aragorn, Mar 24, 2007 IP
  7. eSpenders.com

    eSpenders.com Peon

    Messages:
    1,567
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    0
    #7
    thanks for your answers/comments
    i think im gonna change em all to rite b4 </body!
    i would much prefer not get the stats then have the page load slower!:eek: :D
     
    eSpenders.com, Mar 24, 2007 IP
  8. unlisted80

    unlisted80 Peon

    Messages:
    644
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #8
    link units is not count? i thought links unit is count as an ADS
    i am not SURE maybe somone in here can help you
     
    unlisted80, Mar 24, 2007 IP
  9. eSpenders.com

    eSpenders.com Peon

    Messages:
    1,567
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    0
    #9
    na im prety sure that link units dont count
    A single link unit may also be placed on each page.
    hence the also!
    I hope im safe
    thanks for you comment!
    if any1 knows differnt please let me know!
    also
    did the image upload go smooth i think ur the 1st 2 use it other then me!
     
    eSpenders.com, Mar 24, 2007 IP
  10. Aragorn

    Aragorn Peon

    Messages:
    1,491
    Likes Received:
    72
    Best Answers:
    1
    Trophy Points:
    0
    #10
    Even if you try to put more ads than that is allowed, the extra ads won't show up. So if something like that happens, ie there are less ads than the number of codes entered, then remove the extra codes.
     
    Aragorn, Mar 25, 2007 IP