create your own

How to add analytic code in phpbb3 ?

69
rate or flag this page

By probyte2u


To add in the analytic code just follow the simple steps below.

1. Login in to your Administration Control Panel.

2. Click "Style Tab"

3. At the left hand side under "Style components", click "Templates"

4. If you are using phpbb3 template prosilver, then at Option Column, click "Edit".

5. Then Select template file : "overall_footer.html"

6. Find the code below

</body>

7. Add your google analytic code before it. I have add in div code to start and end of my analytic code

<div>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-6955063-2");
pageTracker._trackPageview();
} catch(err) {}</script>
</div>



8. Click Submit, after few minutes google will detect the code.

Interesting Books

Building Online Communities with phpBB 2 Building Online Communities with phpBB 2
Price: $35.07
List Price: $39.99
Building Online Communities With Drupal, phpBB, and WordPress Building Online Communities With Drupal, phpBB, and WordPress
Price: $10.00
List Price: $49.99
phpBB: A User Guide phpBB: A User Guide
Price: $21.48
List Price: $24.99

Comments

RSS for comments on this Hub

Leop profile image

Leop  says:
2 months ago

Very useful information here. I put them to good use. Thank you.

Submit a Comment

Members and Guests

Sign in or sign up and post using a hubpages account.


optional


  • No HTML is allowed in comments, but URLs will be hyperlinked
  • Comments are not for promoting your hubs or other sites

working