Web Hosting Vodahost    

Home Take The Royal Tour! Order Now Features Prices
Go Back   Web Hosting > Other Forums > Start your own community forum

Notices

Start your own community forum Discussions & Articles about how to create, promote and benefit from having your own community forum.

Closed Thread
 
Thread Tools
  #1  
Old 02-22-2008, 10:23 PM
Kellyann's Avatar
Corporal
 
Join Date: Jan 2008
Posts: 14
Default Google Analytics in forum page?

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #2  
Old 02-22-2008, 11:01 PM
Kellyann's Avatar
Corporal
 
Join Date: Jan 2008
Posts: 14
Default Re: Google Analytics in forum page?

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.
__________________
-Kellyann
www.LowCarbChatter.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #3  
Old 02-23-2008, 12:44 AM
Special Status
 
Join Date: Jan 2006
Location: Dark side of the moon
Posts: 1,186
Default Re: Google Analytics in forum page?

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>
change the red highlighted to your account and depend on the adds change the sizes. then close and save the file, upload using ftp into the same place a you got it from. job done.

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #4  
Old 02-23-2008, 01:29 AM
Kellyann's Avatar
Corporal
 
Join Date: Jan 2008
Posts: 14
Default Re: Google Analytics in forum page?

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.
__________________
-Kellyann
www.LowCarbChatter.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #5  
Old 02-23-2008, 02:28 AM
Special Status
 
Join Date: Jan 2006
Location: Dark side of the moon
Posts: 1,186
Default Re: Google Analytics in forum page?

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>
you can also put this on your bv pages ether in a html box or the page html between the head tags.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #6  
Old 02-23-2008, 10:57 PM
Kellyann's Avatar
Corporal
 
Join Date: Jan 2008
Posts: 14
Default Re: Google Analytics in forum page?

Quote:
Originally Posted by Aliens Anonymous View Post
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>
you can also put this on your bv pages ether in a html box or the page html between the head tags.
That is the code I mean. What I can't find is any HTML for the bulletin board pages. When I go in file manager and public_html and then forums I just see PHP stuff. If I can find the right file containing HTML for the forum pages I know how to add it. I don't see html in there under forums anywhere.
__________________
-Kellyann
www.LowCarbChatter.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #7  
Old 02-24-2008, 12:37 AM
Special Status
 
Join Date: Jan 2006
Location: Dark side of the moon
Posts: 1,186
Default Re: Google Analytics in forum page?

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #8  
Old 03-04-2008, 06:34 AM
Kellyann's Avatar
Corporal
 
Join Date: Jan 2008
Posts: 14
Default Re: Google Analytics in forum page?

Thank you very much. I think I've got it now.
__________________
-Kellyann
www.LowCarbChatter.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT +1. The time now is 09:47 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC7
2005-2009 VodaHost Web Hosting Your Perfect Web Host - All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203