Google analytics doubt

Discussion in 'Google' started by gr8webseller, Apr 3, 2009.

  1. #1
    hello, i am having a site which is a simple html site. it is completely made of html. it has lots of pages. now my doubt is, where i want to paste my google analytics code. do i want to paste my code in all pages on it is enough to paste in one place.
     
    gr8webseller, Apr 3, 2009 IP
  2. hbl

    hbl Well-Known Member

    Messages:
    1,074
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    138
    #2
    paste your code in all pages:)
     
    hbl, Apr 3, 2009 IP
  3. GTate

    GTate Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yes, it has to be on all the pages you want it to log.

    It'd be better if you used PHP or something so that you could put all the code in just one file and have all the pages include that file, but so long as your site's not too big then it oughtn't take too long to add in to all the pages.
     
    GTate, Apr 3, 2009 IP
  4. vansterdam

    vansterdam Notable Member

    Messages:
    3,145
    Likes Received:
    120
    Best Answers:
    0
    Trophy Points:
    245
    #4
    Yes you definitely need to place the analytics tracking code on all pages that you want tracked. If you only put the tracking code on your homepage, you would be missing all the stats for other pages.

    If you're worried about the manual work of pasting the code in many pages, consider getting Macromedia Dreamweaver. It will let you do a mass find & replace for an entire folder. You could then replace </body> with <analytics code></body>
     
    vansterdam, Apr 3, 2009 IP
  5. gr8webseller

    gr8webseller Peon

    Messages:
    1,097
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #5
    thanks for all, i will do it.........
     
    gr8webseller, Apr 3, 2009 IP