Upgraded to version 1.6 - Updated option to put code in header OR footer on forum pages.
Header - Recommended location by Google for the Asyncronous Code (the popular code)
Footer - Recommended location for non-Async (legacy) tracking code.
I strongly urge everyone to confirm with google your code is working by checking the analytics the next day after installing to confirm your hits are bing registered. The google tool for confirming the code is on the page is not good enough!
The main purpose of this mod was originally to add your Google Analytics code to the archive. The archive traditionally gets overlooked because the standard instructions of copying your analytics code into the footer doesn't cover the archive.
You simply copy and paste the full analytics code Google gives you into the mod options and enable it.
Optionally you can also use this mod to put your analytics code in the regular forum (non-archive) as well, however if you have already manually put your analytics code in the footer you should leave this option disabled.
To confirm it is working go to your archive and view the source on any archive page. At the bottom directly above the VB Copyright info should be your google code.
I have tested this on 4.0.8, 4.1.12, and 4.2.0 and it will work in all 4.0.x and 4.1.x /4.2.x at least.
Updated again to version 1.3... There was an issue where people who had the "Branding Free" vBulletin license couldn't get this to work in the forums (because the copyright text isn't present.) - I have altered the mod so it will always add the code to the footer regardless of the vBulletin copyright.
If you don't have the branding-free vBulletin license there is no need to upgrade.
Updated again to version 1.3... There was an issue where people who had the "Branding Free" vBulletin license couldn't get this to work in the forums (because the copyright text isn't present.) - I have altered the mod so it will always add the code to the footer regardless of the vBulletin copyright.
If you don't have the branding-free vBulletin license there is no need to upgrade.
Please go to your Admin CP -> Plugin Manager, scroll down to "Google Analytics in Archive" and see how many plugins are listed. If there are 2 you're good, if there are 3 then an old one didn't get removed. That was the reason I suggested uninstalling first.
Please go to your Admin CP -> Plugin Manager, scroll down to "Google Analytics in Archive" and see how many plugins are listed. If there are 2 you're good, if there are 3 then an old one didn't get removed. That was the reason I suggested uninstalling first.
Updated again to version 1.3... There was an issue where people who had the "Branding Free" vBulletin license couldn't get this to work in the forums (because the copyright text isn't present.) - I have altered the mod so it will always add the code to the footer regardless of the vBulletin copyright.
If you don't have the branding-free vBulletin license there is no need to upgrade.
Wow... downgraded this back to 1.13- back to the drawing board as the "fix" I put in v 1.3 causes more problems then it fixes.