1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

How Do I Add Google Analytics To My phpBB Forum?

Discussion in 'Google Analytics' started by Sean101, Aug 22, 2013.

  1. #1
    I have a forum which I have been running for the last 2 and a bit years, the software is phpBB and up until now I have been using the visitors statistics that comes with HostGator. All is good, but not as good as Google Analytics. Im not sure on which file(s) I have to put the Analytics code. Can someone that has added Google Analytics to there phpBB forum before please reply below and let me know how to do it correctly. Thanks!
    Sean101, Aug 22, 2013 IP
  2. jezzz

    jezzz Well-Known Member

    Messages:
    4,887
    Likes Received:
    189
    Best Answers:
    0
    Trophy Points:
    150
    #2
    Paste your code in Footer.php under body tags
    jezzz, Sep 10, 2013 IP
  3. Sean101

    Sean101 Active Member

    Messages:
    245
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    90
    #3
    Simple as that? :D I thought I had to add it to several pages and files. :p
    Sean101, Sep 10, 2013 IP
  4. saharmis

    saharmis Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #4
    hi, you can add script to the file Overall_header.html, in the template you use.
    XenForo would be better for you.
    saharmis, Nov 11, 2013 IP