trying to add google analytics code to questions and answers website

Discussion in 'Google Analytics' started by lebspy, Mar 25, 2011.

  1. #1
    hi guys im trying to add google analytics code to questions and answers website, but its not working. it worked fine when i put the code in vbulletin forum, but not on the questions answers website im using. any help? note that its a php website here's the link www.lebspy.com/index.php
     
    lebspy, Mar 25, 2011 IP
  2. Richie_Ni

    Richie_Ni Illustrious Member

    Messages:
    10,721
    Likes Received:
    1,175
    Best Answers:
    0
    Trophy Points:
    410
    #2
    What do you mean by not working? I can see the code in the source.
     
    Richie_Ni, Mar 25, 2011 IP
  3. Theah

    Theah Peon

    Messages:
    53
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Keep in mind it takes up to a few days before you start seeing data...
     
    Theah, Mar 25, 2011 IP
  4. tianli

    tianli Peon

    Messages:
    116
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    i think 24 hours you will see information
     
    tianli, Mar 25, 2011 IP
  5. lebspy

    lebspy Guest

    Messages:
    123
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    i added it long time ago, it is in the source code, but still its as if its not there :S
     
    lebspy, Mar 25, 2011 IP
  6. Theah

    Theah Peon

    Messages:
    53
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I see that your ID is 'UA-20298262-1' . Is this correct in your Google Analytics account? If it isn't the same ID, it isn't set up right.
     
    Theah, Mar 25, 2011 IP
  7. Theah

    Theah Peon

    Messages:
    53
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Your HTML isn't well formed at all. You have three different <body> tags. I wouldn't be surprised if this messes up the code.

    If you created the PHP page, validate and fix all your errors. Use this W3C Validator . If you aren't the developer, go yell at them.. LOL.
     
    Theah, Mar 25, 2011 IP