analytics script placement

Discussion in 'Google Analytics' started by QiSoftware, Jun 11, 2010.

  1. #1
    Recently, I have been updating my site pages with the new Google Analytics scripts. I was using urchin scripts. Originally, those scripts were placed just before the end body tag i.e., </body>.

    The new instructions -- specified insertion before the end head tag i.e., </head>.

    I was looking at a web site for someone claiming to be an expert in SEO and his Analytics script was at the bottom of the page -- however it was the new script.

    Does it make a difference?

    Q..
     
    QiSoftware, Jun 11, 2010 IP
  2. Crazy_Rob

    Crazy_Rob I seen't it!

    Messages:
    13,157
    Likes Received:
    1,366
    Best Answers:
    0
    Trophy Points:
    360
    #2
    They recommend placing it towards the top of the page so that you get more accurate reporting.

    Personally, I always place the code in the footer or at the bottom of the page. And I've had no issues.
     
    Crazy_Rob, Jun 11, 2010 IP
  3. Alexandros1

    Alexandros1 Peon

    Messages:
    332
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I'm sure you've heard it before. Tracking and testing your website is essential to growing a solid business. But the question still remains for many website owners, how exactly is it done? Is it possible to put a form of tracking code or script on a website? It is very possible and fairly simple to do as long as you use an easy tracking software program. There are many good ones on the market, but I'll share a good one that I use that tracks everything I need to build a budding empire.
     
    Alexandros1, Jun 11, 2010 IP
  4. Crazy_Rob

    Crazy_Rob I seen't it!

    Messages:
    13,157
    Likes Received:
    1,366
    Best Answers:
    0
    Trophy Points:
    360
    #4
    Copy and paste plagiarism isn't allowed here.
     
    Crazy_Rob, Jun 11, 2010 IP
  5. abrianna

    abrianna Member

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    36
    #5
    place the scripts before </head> may generate more accurate results, but I'm not sure
    and I place scripts at footer before </body>
     
    abrianna, Jun 12, 2010 IP
  6. jucychau

    jucychau Guest

    Messages:
    42
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Putting it at header is better, because header is always loaded earlier than footer.
     
    jucychau, Jun 20, 2010 IP
  7. whitespparow

    whitespparow Peon

    Messages:
    464
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I have heard that now analytics script location is changed. now we have to install it before </head> tag. putting script before </head> will really make a difference.
     
    whitespparow, Jun 21, 2010 IP
  8. QiSoftware

    QiSoftware Well-Known Member

    Messages:
    805
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    158
    #8
    I am not sure why analytics script placement has changed. putting the script at the top of the page is less noticeable than at the end of a page-- when reviewing source. I use the account on two sites-- qisoftware and hosting-q.com-- Putting my name in both headers means nothing. Putting google adsense and analytics scripts in both accounts -- shows ownership insofar as money, bank accounts, etc. I am having issues with ads and credit. tantamount to fraud.

    By the way, how does Google check page load timing? script placement affected?
     
    QiSoftware, Jun 21, 2010 IP
  9. speedmanist

    speedmanist Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    Hii guys;
    I have placed my google codes at footer before</body>, But when i replaces place before </head> my web pages are start indexed more fast
    ;)
     
    speedmanist, Jul 7, 2010 IP
  10. flip.prior72

    flip.prior72 Peon

    Messages:
    1
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    anybuddy help me to get Google Analytics script.
     
    flip.prior72, Jul 21, 2010 IP
  11. atxsurf

    atxsurf Peon

    Messages:
    2,394
    Likes Received:
    21
    Best Answers:
    1
    Trophy Points:
    0
    #11
    did you mean loading or indexing? not sure why analytics code position has to have any impact on indexing.
     
    atxsurf, Jul 21, 2010 IP
  12. prosta

    prosta Peon

    Messages:
    71
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #12
    you can put it everywhere
     
    prosta, Jul 21, 2010 IP