MyBB Community Forums

Full Version: Google Analytics for MyBB
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
(2014-10-05, 05:31 PM).m. Wrote: [ -> ]@Vadim, if you add the code in the footer template then it is inserted in to each & every page of your forum

Assuming that you are using MyBB 1.8
you can add the Google Analytics code at the bottom of the footer template
admin panel >> Templates & Style >> Templates >> forum active theme templates >> Footer Templates >> footer
Thank you, I know it!

But the fact that I am helping to make themes for 1.8.
And when the theme is updated again have to edit it.
This is very inconvenient and takes a long time.

When the theme is updated, all who have a MyBB forum, you have to manually add the code again, so need a plugin!

I found the plugins, but they are old:
http://mods.mybb.com/view/header-injection-for-mybb
http://mods.mybb.com/view/footer-injection-for-mybb
Please update it, make two windows, one for the header and one for the footer.

I posted a request here:
http://community.mybb.com/thread-160828.html
Hi, question about adding analytics code into footer (v 1.8): what if visitors surf forum in "lite mode", do they still get served analytics code? Since I am not sure the template files (including footer or header where we add analytics shortcode) are being loaded when using "lite mode".

Anybody knows for sure?
Thanks
Look at the page code "lite mode", and you will see.
Pages: 1 2