Once your site is installed and running, you may want to keep track of various statistics on your site. One of the most common stats programs used to day is Google Analytics. This can be easily inserted into your phpBB site allowing you to keep tabs on many different stats that you can tweak to improve the popularity and efficiency if your site. The following set of instructions explains how to include the Google Analytics code into your phpBB 3.0 website.

How to insert Google analytics into phpBB

  1. Log into your Administrative Control Panel.
  2. Once in the ACP, click on the Styles tab from the row of tabs at the top of the page.
  3. This leads you to the main Styles page. Look to the menu on the left and click on the Templates link under the Style Components category.
  4. From the Templates page, find the template you are currently using in the Installed templates category and click the Edit button to continue.
    select template to work on
  5. You are now on the Edit Template page. Click on the Template File dropdown, select overall_footer.html and click on the Select Template File button to open it.
  6. Once the overall_footer.html code appears in the editor, scroll through it looking for the </body> tag. In our example using the prosilver template it is located just two lines from the bottom. Once located, insert your Google analytics code in the blank line just before the the tag.
    edit footer template
  7. Once inserted, click the Submit button to save the analytics code to your template. You will need to repeat this for all style templates so that the statistics continue to report if you change templates.
Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve our Support Center:
Email Address
Optional, but our team may contact you for more information.
Like this Article?

Post a Comment

Name:
Email Address:
Comment:
Are you a bot?
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

Write New!
Do you want to publish a tutorial to our support center?

News / Announcements

SSL Certficate Warnings
Updated 2014-04-14 11:34 am EST
Hits: 2002
Heartbleed 0-day OpenSSL security bug
Updated 2014-04-14 04:43 pm EST
Hits: 5275

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!