The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Google Analytics in the Archive (and Forum) Details »» | ||||||||||||||||||||||||
Google Analytics in the Archive (and Forum)
Developer Last Online: Aug 2023
New Version 2.0
New in 2.0: New Improved Google Tracking Code, Code in forum moved to recommended location before the </head> tag. Uninstall old versions before installing Version 2.0 You will need your Google Analytics tracking ID when installing or upgrading. (UA-XXXXXX-X) 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 your tracking ID into the mod and enable it in your forums and/or archive. 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 in 3.8.6 and 3.8.7 and it will work in all 3.8.x and probably in 3.7 and earlier as well. For VB4.x see this version: https://vborg.vbsupport.ru/showthread.php?t=256325 You won't see any indication on the pages but you can demo the product at: http://www.juot.net/forums/archive/index.php (You will have to view source to confirm it is working.) Please mark as installed if you use this. Full instructions in .zip file. Download Now
Show Your Support
|
Comments |
#22
|
|||
|
|||
Ok, I disabled each plugin, one by one, but the error is still there >
damn...I remember that, following some guides, I added the Analytics script in the footer and in another page, but I'm unable to remember WHERE... |
#23
|
||||
|
||||
I suggest you try disabling hooks to confirm where the problem is. There are no templates in the archive.
To disable hooks edit your config.php... add this as the second line, directly below the opening tag <?php Code:
define('DISABLE_HOOKS', true); |
#24
|
|||
|
|||
Ok, no more error removing the hooks. Consider I don't even know what is a hook :'(
Now what to do? What changes if i remove hooks? |
#25
|
||||
|
||||
Disabling hooks *really* disables every single mod and plugin... You should re-enable them again but now we know for sure the problem is with a plugin, not altered vbulletin files.
Re-enable your hooks, confirm the error is back... Then go to Admin CP -> Plugin Manager and tell me what plugins you have at the top under Product: vBulletin (if any)... |
#26
|
|||
|
|||
Sh*t, found it!
It was my fault as I looked at Products instead of Plugins... it was this one: Name: Code in Archive Hook Location: archive_complete PHP Code: $output .= "<script src=\"http://www.google-analytics.com/urchin.js\" type=\"text/javascript\"> </script> <script type=\"text/javascript\"> _uacct = \"XXXXXXXXXXXXXXXXXXXXXXXXXXX\"; urchinTracker(); </script>"; <!--Paste Google Adsense Code (with slashes) Above This Line--> '; |
#27
|
||||
|
||||
yeah,, good, delete that plugin, you won't need it anyway with this mod.
|
#28
|
||||
|
||||
tankx :-)
|
#29
|
|||
|
|||
installed but google tells me that no tracking is installed?
www.NJStangers.org I don't see it on my pages neither even though its in the google anayltics product I added to the backend |
#30
|
||||
|
||||
It's definitely in your archive... I see it's not on your pages though... I think it's because you have the "Branding" removed from vBulletin (branding free license)- I wasn't taking that into consideration when I tied the Analytics code to the copyright... If there's no copyright there's no analytics code.
I suggest you manually add the code to your footer template but leave the mod installed for the archive. I'll work on fixing this. |
#31
|
|||
|
|||
ah okay that happened when we did the custom garage as well as a few other mods, that explains it. Thanks again.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|