vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=289055

Easy Google Analytics
by Shadow
14 Oct 2012 14:15

2 Attachment(s)
Description:
This small and simple modification will allow you to easily add your Google Analytics tracking code to your site without editing templates. Editing templates may seem daunting to some people however this modification allows you to paste your code in a box and it'll handle the rest.

Your Analytics tracking code will be added to the end of the footer template so it doesn't slow the loading of your site down.

Installation:
  1. Download the product XML and import it through the 'Manage Products' page in the AdminCP.
  2. Add your tracking code to: Admin CP -> Settings -> Options -> Google Analytics Settings.
  3. Done.
Changelog:
14/10/2012 - Version 1.00:
- Initial release.

Notes:
I'm always looking to improve my work for the people that enjoy using it. If you have any suggestions on how I can improve this hack then please leave a comment and I'll see what I'm able to do. Don't forget to 'Mark As Installed' if you've got it installed!

TheSupportForum 14 Oct 2012 14:52

its great to see you took my advice on adding a template hook :)
from my previous message on about your other product for this product

Shadow 14 Oct 2012 15:00

Quote:

Originally Posted by simonhind (Post 2372906)
its great to see you took my advice on adding a template hook :)
from my previous message on about your other product for this product

Indeed I did, it was a fair suggestion. The other one was just a code snippet and a suggestion for users as to where to place it. But nonetheless, thank you for your suggestion :)

MARCO1 14 Oct 2012 16:22

Finally Aakif, Good work mate :)

Shadow 14 Oct 2012 16:26

Quote:

Originally Posted by MARCO1 (Post 2372935)
Finally Aakif, Good work mate :)

Thank you :p Got some more coming :)

Dutch_Boy 04 Dec 2012 21:53

Hey thanks!

Does it take time for Google to process or is it because I installed it on VB4.2.0?

Brandon Sheley 06 Dec 2012 17:32

Quote:

Originally Posted by Dutch_Boy (Post 2388498)
Hey thanks!

Does it take time for Google to process or is it because I installed it on VB4.2.0?

this is a vb 5 mod so...
Also google analytics are generally a day behind, unless you check the "real time" tracking tab.

Shadow 08 Dec 2012 20:20

Quote:

Originally Posted by Dutch_Boy (Post 2388498)
Hey thanks!

Does it take time for Google to process or is it because I installed it on VB4.2.0?

You should install this version if you're running vBulletin 4 - http://www.vbulletin.org/forum/showthread.php?t=290306

photo 15 Dec 2012 13:26

It's not working for vBulletin 4.2.0 Patch Level 3.

Shadow 15 Dec 2012 15:20

Quote:

Originally Posted by photo (Post 2390859)
It's not working for vBulletin 4.2.0 Patch Level 3.

Because this is the vBulletin 5 version. You'll need to download and install this instead: http://www.vbulletin.org/forum/showthread.php?t=290306

JamalFree 16 Jan 2013 12:42

Thank for sharing

Dorgham 03 Apr 2013 23:21

work Great
Wait for new

Raima 15 Jul 2013 14:06

Just installed this, and it's not working with 5.03 for me.

Google Analytics says the tracking is not installed.

I imported the file downloaded, went into options, pasted the code in, clicked on save and nothing.

I have a look at the page source, and I can see the google analytics code inserted. Not sure why Google Analytics is saying it's not being tracked.

Any ideas?

Is anyone else having difficulties?

fords8 15 Jul 2013 21:09

Quote:

Originally Posted by Raima (Post 2433775)
Just installed this, and it's not working with 5.03 for me.

Google Analytics says the tracking is not installed.

I imported the file downloaded, went into options, pasted the code in, clicked on save and nothing.

I have a look at the page source, and I can see the google analytics code inserted. Not sure why Google Analytics is saying it's not being tracked.

Any ideas?

Is anyone else having difficulties?

How long did you wait? I just did mine 2 days ago and it is working. And I am on 5.0.3.

Raima 16 Jul 2013 01:46

Quote:

Originally Posted by fords8 (Post 2433837)
How long did you wait? I just did mine 2 days ago and it is working. And I am on 5.0.3.

It's been over 12 hours now. How long did it take Google analytical to acknowledge tracking was installed?

Each time I refresh the Google Analytical page, it says under tracking info:

Status: Tracking Not Installed

Last checked: Jul 15, 2013 6:22:29 PM PDT

The Google Analytics tracking code has not been detected on your website's home page. For Analytics to function, you or your web administrator must add the code to each page of your website.


Each time I refresh or check, the last checked details change.

Any ideas?

EDIT: Just noticed Google Analytics offer 2 types of tracking.

Universal Analytics (beta) which is the default option and Classic Analytics. I've just switched over to Classic Analytics. There's no dynamic updates, so I'll just wait if that does the trick.

EDIT 2: Changing to Classic Analytics worked.


All times are GMT. The time now is 08:14.

Powered by vBulletin® Version 3.8.12
Copyright © 2019, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.