Tracking HTML?

Discussion in 'HTML & Website Design' started by Carlo Cabrera, Nov 6, 2007.

  1. #1
    I have a simple 10 page html website.

    I would like to track my visitors with google analytics.

    Do I need to put the code on each html page?

    Thanks in advance,

    Carlo
     
    Carlo Cabrera, Nov 6, 2007 IP
  2. webdev11

    webdev11 Peon

    Messages:
    52
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    yes... it has to go on every page.
     
    webdev11, Nov 6, 2007 IP
  3. twistedspikes

    twistedspikes Notable Member

    Messages:
    5,694
    Likes Received:
    293
    Best Answers:
    0
    Trophy Points:
    280
    #3
    Yep, every page.

    Your best thing to do would be to make your website with a server side language and include the analytics code.

    If you need an explination on how to do this just ask.
     
    twistedspikes, Nov 6, 2007 IP
  4. Carlo Cabrera

    Carlo Cabrera Peon

    Messages:
    45
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    I appreciate the help. Do I use the same code for each page or a unique code for each page?
     
    Carlo Cabrera, Nov 6, 2007 IP
  5. 04lwarner

    04lwarner Banned

    Messages:
    240
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    if your using a cpanel host you could be able to just click AVSTATS, this will show you the amount of viewers and the amount of uniques. Even if its not a cpanel host you should have some sort of counter/stats system built in.
     
    04lwarner, Nov 7, 2007 IP
  6. twistedspikes

    twistedspikes Notable Member

    Messages:
    5,694
    Likes Received:
    293
    Best Answers:
    0
    Trophy Points:
    280
    #6
    It's the same code.

    Thats why using a server side include would be the best option.
     
    twistedspikes, Nov 7, 2007 IP