2011-03-29, 03:33 AM
2011-03-29, 03:55 AM
ACP>Themes & Templates>Templates>YOUR THEME TEMPLATES>
Find something named header templates in it,open it and then inside it open header and after whatever tag like <head>,etc you want add following:
But if you are not sure,theres a great plugin which does this automatically,you may try using it below:
http://mods.mybb.com/view/google-analytics
Find something named header templates in it,open it and then inside it open header and after whatever tag like <head>,etc you want add following:
<div id="content">YOUR ANALYTICS CODE HERE</div>
But if you are not sure,theres a great plugin which does this automatically,you may try using it below:
http://mods.mybb.com/view/google-analytics
2011-04-05, 04:08 AM
where can i find the <head> </head> ?
2011-04-05, 04:53 AM
(2011-04-05, 04:08 AM)enhu Wrote: [ -> ]where can i find the <head> </head> ?If you are not sure,use this plugin,it does add your code automatically to all your webpages:
http://mods.mybb.com/view/google-analytics
2011-04-05, 02:57 PM
Don't add it to the header and don't put it in a div.
Add it to the very bottom of your footer template so it loads last.
ACP >> Templates & Style >> Templates >> yourtheme >> Footer Templates >> footer
Add it to the very bottom of your footer template so it loads last.
ACP >> Templates & Style >> Templates >> yourtheme >> Footer Templates >> footer