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 to add Statcounter to phpBB3 ???

Discussion in 'phpBB' started by bofe, Dec 7, 2011.

  1. #1
    I use Statcounter on all my projects (websites).
    I opened forum for the last one, and now I don't know how to add the code to track the amount of visitors ???
     
    bofe, Dec 7, 2011 IP
  2. dynashox

    dynashox Premium Member Staff

    Messages:
    8,662
    Likes Received:
    563
    Best Answers:
    3
    Trophy Points:
    335
    #2
    Add it to the footer. For phpBB it's called overall_footer.html if i'm not mistaken.
     
    dynashox, Dec 7, 2011 IP
  3. Delirious84

    Delirious84 Member

    Messages:
    89
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    40
    #3
    ACP>Styles>Templates> Find the style you are using and click edit in the options. On the template file: select overall_footer.html.
    Scroll to the bottom of the code and find:
    
    </body>
    </html>
    
    Code (markup):
    Before that add in the code statcounter gives you.
    Note: Do not at it to the very bottom.

    Should look something like this:
    
    </script>
    your stat counter code
    </body>
    </html>
    
    Code (markup):
     
    Delirious84, Jan 8, 2012 IP