![]() |
|
| |||||||
| Notices |
| Start your own community forum Discussions & Articles about how to create, promote and benefit from having your own community forum. |
![]() |
| | LinkBack | Thread Tools |
|
#1
| ||||
| ||||
|
How and where do I add the code for google analytics into my PHPbb forums page? I promised I searched first. I have it in my homepage because I developed that. I don't see how to dd it to the bulleting board pages. TIA for your help. Kellyann |
|
#2
| ||||
| ||||
|
I know how to get into the file manager. Do I upload it as a script into a folder in public_html? If yes which one? Or is there certain code I can open and just plug the GA code into? I can't find any HTML code to add it to in that folder in forums.
|
|
#3
| ||||
| ||||
|
This depends on were you want the adds to appear, and whish forum program you are using. if you are using phpbb2 and you just what the adds at the bottom of the page like HERE and HERE then you will need to edit a file called overall_footer.tpl in phpbb2 which can be found in templates/yourstyle down load the file using your ftp manager to your pc open it with your text editer look for, The phpBB Group : 2002 // --> after on new line add this Code: <script type="text/javascript"><!-- google_ad_client = "pub-8139885049862529"; google_ad_width = 728; google_ad_height = 90; google_ad_format = "728x90_as"; google_ad_type = "image"; google_ad_channel =""; google_color_border = "FF0000"; google_color_bg = "000000"; google_color_link = "99CC33"; google_color_url = "0033FF"; google_color_text = "FFFFFF"; //--></script> <script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"> </script> you can get these codes from google for different adds. this one is for the image banner. if you are using phpbb3 or any other then you may have to have a mod or hack which will involve editing more files this also goes for putting the banners on the sides of the forum.
__________________ Angies CyberScripts Web Designs by the Boom Crew The Showcase Now Closed PhpBB and web design |
|
#4
| ||||
| ||||
|
I just want analytics...not adsense. I have the code but don't know where to put it. And yes it's a PHPbb2 board. I want to do Ads at some point too but haven't decided what yet.
|
|
#5
| ||||
| ||||
|
Sorry my mistake. but if the the code is like this one i got from them, then in the same place Code: <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> </script> <script type="text/javascript"> _uryct = "OA-3475631-1"; urchinTracker(); </script>
__________________ Angies CyberScripts Web Designs by the Boom Crew The Showcase Now Closed PhpBB and web design |
|
#6
| ||||
| ||||
| Quote:
|
|
#7
| ||||
| ||||
|
in your ftp manger open the forum folder, look for a folder called templates open that. now depending and what style you are using open the folder, i will take it your using subSliver ( but could be another if you have installed one ) open this and look for a file named overall_footer.tpl phpbb2 does not have html pages. once you have opened this file with your text editer look for the lines The phpBB Group : 2002 // --> enter your code after that on a new line, then save and upload. this file is the best place to add the code as the overall_footer appears on all the pages of your forum.
__________________ Angies CyberScripts Web Designs by the Boom Crew The Showcase Now Closed PhpBB and web design |
|
#8
| ||||
| ||||
|
Thank you very much. I think I've got it now.
|