MyBB Community Forums

Full Version: Google analytics code on mybb
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How and were can I put google analytics code on my site http://versuspot.com pls explain with clear pix.
1. Download this https://community.mybb.com/mods.php?action=view&pid=62
2. Extract the files
3. Use a SFTP manager like http://mobaxterm.mobatek.net/download.html
4. Upload the files to the root directory of the forum, make sure to replace all the files.
5. Go to Settings -> Plugins in forum's admin panel, and install the plugin
6. In the Settings, locate Analytics plugin's settings , and use the given "Google Analytics ID" there. You can find the "Google Analytics ID in https://analytics.google.com -> Admin -> USer Management (second column's one) -> Tracking code under tracking info.
i am trying to install this plugins in mybb forum its  MyBB 1.8.8, but its said the structure is not supported

its my forum link : <snip>
You don't need a plugin to install analytics. Just copy the analytics code that you get from your google account and copy it into the footer template, right at the bottom.
You can literally edit headerinclude template.
(2017-07-07, 08:16 PM)Ashley1 Wrote: [ -> ]You don't need a plugin to install analytics. Just copy the analytics code that you get from your google account and copy it into the footer template, right at the bottom.

Old thread, I know, but my two Custom Pages are not being seen by Google Analytics and their code is located in the footer.
All the forum pages and threads and member.php are being counted by Google.  
Any idea why custom pages are not seen by Google?
Are this pages visable as guest? Are them linked on index? Are they contained in sitemap?
Templates & Styles - Templates - Header
Select Default Templates and Expand Templates
In Header Templates select "header" and click on Full edit.

Insert the Analytics code just before these tags:

</div>
<div id="content">