| |
| |
|
|
|
|
| |
|
| |
|
| :: |
| Author |
Message |
StL_Stadtroller
Joined: 07 Feb 2008 Posts: 4 Location: St. Louis, MO
|
Posted: Tue Feb 12, 2008 5:02 am Post subject: adding Google Analytics |
|
|
I'm trying to add Google analytics code to my forum pages, and am trying to follow the instructions found here:
https://www.google.com/support/googleanalytics/bin/answer.py?answer=55504&hl=en_US
sorry for the novice question, but I don't think I understand properly.
Are phpBB pages static or dynamic?
What does it mean to add the code in template pages before the </body> tag? If I look in my template pages (tpl files) I don't see BODY tags at all..
thanks! |
|
|
| Back to top |
|
 |
|
 |
SeO Administrateur - Site Admin

Joined: 15 Mar 2006 Posts: 3103
|
Posted: Tue Feb 12, 2008 8:45 am Post subject: Re: adding Google Analytics |
|
|
You just have to past the JS code snippet in overall_footer.tpl (phpBB2), right before the </body> tag (it's there I promise ) |
_________________
|
|
| Back to top |
|
 |
StL_Stadtroller
Joined: 07 Feb 2008 Posts: 4 Location: St. Louis, MO
|
Posted: Tue Feb 12, 2008 12:55 pm Post subject: Re: adding Google Analytics |
|
|
| SeO wrote: | You just have to past the JS code snippet in overall_footer.tpl (phpBB2), right before the </body> tag (it's there I promise ) |
yes, but the code for "Static" pages or "dynamic"?
Sorry - I really am a novice at this!
Thanks!! |
|
|
| Back to top |
|
 |
HB phpBB SEO Team

Joined: 16 Oct 2006 Posts: 794
|
Posted: Wed Feb 13, 2008 2:51 pm Post subject: Re: adding Google Analytics |
|
|
| StL_Stadtroller wrote: | | yes, but the code for "Static" pages or "dynamic"? |
They are all dynamic, build from template (*.tpl) files in V2.0.x. In phpBB3, they switched to HTML files with <!-- comments --> for basic dynamic content (e.g., <!-- IF S_show_google_ads -->blah blah blah<!-- ENDIF -->. dcz is correct, for V2, all you have to do is paste the code provided by Google Analytics into your overall_footer.tpl file (it has the closing </body> tag). |
_________________ Dan Kehn |
|
| Back to top |
|
 |
|
| Navigation |
Similar Topics |
|
|
|
|
|
|
|
| |
|
|
|
|
| |
|
|
|
|
| |