Track Multiple Pages With Analytics

Discussion in 'Traffic Analysis' started by Num Lock, Jan 2, 2009.

  1. #1
    If I want to track more then 1 page with Google Analytics do I just put the same code on 2+ pages?
     
    Num Lock, Jan 2, 2009 IP
  2. gostats

    gostats Peon

    Messages:
    325
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Yes, that's how you do it. Plus there are many other analytics services out there - you should try them too while you are updating your code! ;)
     
    gostats, Jan 7, 2009 IP
  3. manish.chauhan

    manish.chauhan Well-Known Member

    Messages:
    1,682
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    110
    #3
    yes..just place the GA code on the pages that you want to track..:)
     
    manish.chauhan, Jan 20, 2009 IP
  4. squarecat

    squarecat Peon

    Messages:
    126
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    as long the pages are on the same domain anyway.
    All pages on your site should be tagged with the GA code (within the <body> </body> tags) to be able to get useful information from Google Analytics.
     
    squarecat, Jan 29, 2009 IP
  5. gostats

    gostats Peon

    Messages:
    325
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #5
    It's common to place the code within the <body> section, however, you can get more accurate data by installing your favorite tracker within the <head> section - especially if you have a heavy site with many elements. (Some slow connections or unstable browsers can timeout or interrupt the transmission of the later elements. In some cases, people will navigate on before the tracker has loaded and counted their visit/page view)
     
    gostats, Jan 29, 2009 IP
  6. squarecat

    squarecat Peon

    Messages:
    126
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Accepted, but the recommendation from Google is to setup within the <body> tags. I have seen it working fine in the <head> tags but placing the code at the bottom of the page ensures that if there is an error with the script that your page will load correctly before encountering the error.
    I'd go with allowing users to see the page over ensuring I see a page view in Analytics.
     
    squarecat, Jan 30, 2009 IP