google analytics only works on the front page?

Discussion in 'Google' started by cscott5288, Feb 26, 2009.

  1. #1
    By default, once you've placed the google analytics code on your front page - it will only track visitors on that page, not on other pages existing on the domain? I pretty sure of this, but just wanted to clarify.

    Also, how do I get analytics to track all of the pages on a domain? Do I simply insert the code on the pages I want to be tracked?

    thanks
     
    cscott5288, Feb 26, 2009 IP
  2. dylan_jones

    dylan_jones Peon

    Messages:
    47
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    depends on what cms/script your using

    you either need to put it on each page or have some sort of include file with it in
     
    dylan_jones, Feb 26, 2009 IP
  3. vansterdam

    vansterdam Notable Member

    Messages:
    3,145
    Likes Received:
    120
    Best Answers:
    0
    Trophy Points:
    245
    #3
    Yes Google Analytics only tracks stats for the specific page that the code is installed on. As dylan mentioned, you can put that code on every page quite easily by putting it in an include such as in a footer file. Or you can just manually put that code on every page.
     
    vansterdam, Feb 26, 2009 IP
  4. Astroman

    Astroman Well-Known Member

    Messages:
    2,355
    Likes Received:
    71
    Best Answers:
    0
    Trophy Points:
    135
    #4
    You need the code on every page you want to track, which is easy if you're using a CMS like Joomla or Wordpress etc because you just put it in your main or footer template file. Otherwiise, if you're using a static content HTML site with no php incudes or anything, you will have to paste the code into every page.
     
    Astroman, Feb 26, 2009 IP
  5. cscott5288

    cscott5288 Active Member

    Messages:
    912
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    60
    #5
    i've got it in an include now, thanks.

    i don't know why i thought it would be tracking all pages on the domain by inserting it into the home...
     
    cscott5288, Feb 26, 2009 IP
  6. teo123

    teo123 Banned

    Messages:
    500
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #6
    If your using a blog, stick it in an include/widget - like mentioned above.
     
    teo123, Feb 26, 2009 IP