View Full Version : Adding Adsense code
rigorous
08-20-2005, 01:30 PM
Whenever I try to add Google Adsense code, everytime I preview the page it seems to add another block of code.
I add the code using custom code and uploading an html file with the code.
I also added the code from google indicating that it will be framed (from what I see, soho seems to modify this code to work within the system and I think messes things up.
Any ideas... Anyone add Adsense code successfully?
Thanks,
Richard
demostorm
08-21-2005, 03:42 PM
What file are you adding the code to?
rigorous
08-21-2005, 08:29 PM
What file are you adding the code to?
I'm adding the code to the homepage.
I insert the Adsense code into an html file. > Then I upload that file to soho. > Then I go in to edit my homepage and drag custom code into one of the boxes where I want my Adsense to show. I select the html file with the Adsense code.
All seems ok when I do a first preview of the webpage. Then when I go to tweak other things on the page and then preview it once again, It seems to double up on the adsense code. (I see two block of adsense now.)
Any ideas?
TIA,
Richard
rigorous
08-22-2005, 06:06 PM
I think I figured it out... read some other threads on here.
I renamed the html file I uploaded with the Adsense code to .inc
and now it seems to work fine!
Richard
demostorm
08-22-2005, 06:22 PM
I think I figured it out... read some other threads on here.
I renamed the html file I uploaded with the Adsense code to .inc
and now it seems to work fine!
Richard
Good to know. Having never used adsense I had thought you could just add it to the main template file. Will store that one away for future reference
vBulletin® v3.7.2, Copyright ©2000-2008, Jelsoft Enterprises Ltd.