google analytics on every php?

Discussion in 'Google' started by nomadicmatt, Aug 6, 2008.

  1. #1
    I use wordpress and have put my analytics code in the home.php page. however, google seems to be missing traffic that my domain gets. Do i need to put the analytics code into everypage in order for all my hits to be counted?
     
    nomadicmatt, Aug 6, 2008 IP
  2. CollyMellon

    CollyMellon Peon

    Messages:
    749
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #2
    CollyMellon, Aug 6, 2008 IP
  3. yonghoshin

    yonghoshin Peon

    Messages:
    70
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I add the Analytics code for every page. You can just add it to your footer.
     
    yonghoshin, Aug 6, 2008 IP
  4. WishBone

    WishBone Peon

    Messages:
    2,566
    Likes Received:
    15
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You got to, make a code that will call the google code on every page of your site like what above suggested, put the code in footer.
     
    WishBone, Aug 6, 2008 IP
  5. Freewebspace

    Freewebspace Notable Member

    Messages:
    6,213
    Likes Received:
    370
    Best Answers:
    0
    Trophy Points:
    275
    #5
    Sometimes it might make your site slow and also the stats are very unreliable...
     
    Freewebspace, Aug 6, 2008 IP