Unable to Install GA Tracking Code.

Discussion in 'Google Analytics' started by smellyfinger, Oct 29, 2009.

  1. #1
    Can anyone tell me the exact path where i have to copy/paste analytics tracking code?

    I have a phpbb forum, and i would like to install the code on the home page. So, should i add it in index_body.html (templete file) or where?

    Can anyone tell me the exact path for it ?
     
    smellyfinger, Oct 29, 2009 IP
  2. zarades

    zarades Peon

    Messages:
    13
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Make search in files using "Notepad++" or any other program.
    And look for "</body>" replacing it with "ANALYTICS-CODE </body>"
     
    zarades, Oct 31, 2009 IP
  3. dipali

    dipali Peon

    Messages:
    450
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #3
    if you are using phpbb forum then must be add google analytics code before</body> tag on each and every page. or if you have footer.php then add code of ga in to it.
     
    dipali, Nov 2, 2009 IP
  4. Jectillplum

    Jectillplum Peon

    Messages:
    587
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    you should add your Google Analytics code in Footer Page then it's gets statics of all of your forum pages but remember you should have to put your analytic code before </body> Tag.
     
    Jectillplum, Nov 2, 2009 IP
  5. smellyfinger

    smellyfinger Well-Known Member

    Messages:
    665
    Likes Received:
    17
    Best Answers:
    0
    Trophy Points:
    128
    Articles:
    11
    #5
    thanks for the replies, i have been able to get GA working now.

    can anyone also suggest where to put the GA code for a WP 'Daily Digest' Theme. I googled and it says that i should put in in themes>footer.php but footer.php is a small file with a long coded line like this - ijfdgfjgjjhnjfgjngfjnjnfgjn23ddwjkjdf348845thrfj ....

    I dont see any </body> tag there, its just a long single lined file.

    So can I put the code anywhere?
     
    smellyfinger, Nov 2, 2009 IP