Hello. New to Dolphin but glad to be here. I want to place Google Analytics and Adsense code inside my Dolphin site. But I couldnt find a proper php file to place the codes inside. Especially Analytics code is suggested to be placed immediately before tag. Which Dolphin files can I place the codes inside?
Thanks is advance. |
I am sorry. But forum submit buttons doesnt work properly in Firefox. I posted two unnecassary topic. Could admins erase those please? |
"Especially Analytics code is suggested to be placed immediately before tag."
what exactly does this mean?
as for adsense, you just add a new block on whatever page you want to display the ads on and insert the javascript. you can play around with the banner manager and place adsense in different locations across the page as well, that will display on every page.
later, DosDawg When a GIG is not enough --> Terabyte Dolphin Technical Support - Server Management and Support |
Hello. Thanks for the reply.
"Especially Analytics code is suggested to be placed immediately before body close tag."
I have used HTML for body close tag (< / body >) and it didnt appear. Sorry. Analytics suggests the code to be placed immediately before the body close tag. But I dont know which php files generates open and close body tags? |
Have a look at mr powerless tutorial videos at http://www.boonex.com/unity/blog/entry/Google_analytics_code_placement_2008_07_24 for google analytics. I would recommend looking at the rest of his posts as they are very helpfull! |
You will not see your analytics code once it is put in your file. It is only "visible" to the google analytics tool. You will have to log back into your google analytics account and get it to "verify" your site and that the code was placed correctly. I recommend folowing the link that Tish06 provided. His tutorials are excellent! |
The body closing tag is in /templates/base/_footer.html |
Thank you so much @RumpyBumpy. That is I was looking for. |