vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 5.x Products & Extensions (https://vborg.vbsupport.ru/forumdisplay.php?f=258)
-   -   Miscellaneous Hacks - Easy Google Analytics (https://vborg.vbsupport.ru/showthread.php?t=289055)

Shadow 10-13-2012 10:00 PM

Easy Google Analytics
 
1 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 10-14-2012 01:52 PM

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 10-14-2012 02:00 PM

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 10-14-2012 03:22 PM

Finally Aakif, Good work mate :)

Shadow 10-14-2012 03:26 PM

Quote:

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

Thank you :p Got some more coming :)

Dutch_Boy 12-04-2012 09:53 PM

Hey thanks!

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

Brandon Sheley 12-06-2012 05:32 PM

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 12-08-2012 08:20 PM

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 - https://vborg.vbsupport.ru/showthread.php?t=290306

photo 12-15-2012 01:26 PM

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

Shadow 12-15-2012 03:20 PM

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: https://vborg.vbsupport.ru/showthread.php?t=290306

JamalFree 01-16-2013 12:42 PM

Thank for sharing

Dorgham 04-03-2013 10:21 PM

work Great
Wait for new

Raima 07-15-2013 01:06 PM

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 07-15-2013 08:09 PM

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 07-16-2013 12:46 AM

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.

fords8 07-16-2013 02:21 AM

Quote:

Originally Posted by Raima (Post 2433880)
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?

I read that it could take 24 to 48 hours for it to start tracking. You did paste all the code into it?

belfast2012 09-16-2013 05:40 PM

I don't see manage products page, I do see Enable/Disable Hook System, when I enable that I don't see anyway to upload the xml? do I need to upload the xml file somewhere on the server first?

belfast2012 09-16-2013 10:54 PM

Quote:

Originally Posted by belfast2012 (Post 2446011)
I don't see manage products page, I do see Enable/Disable Hook System, when I enable that I don't see anyway to upload the xml? do I need to upload the xml file somewhere on the server first?

Anyone help a newb! :erm:

fords8 10-10-2013 05:26 PM

NM Fixed!

dgincr 11-20-2014 03:32 PM

Hey everyone,

I am trying to install google analytics for my forum. Unfortunately it's not working. I tried putting in the footer, header and headerinclude.... nothing.

I then installed the plugin called "Easy google analytics"
http://awesomescreenshot.com/0473vyqbb6

Nothing is working for me.... what am i doing wrong ??

TheLastSuperman 11-21-2014 07:19 PM

Quote:

Originally Posted by dgincr (Post 2523537)
Hey everyone,

I am trying to install google analytics for my forum. Unfortunately it's not working. I tried putting in the footer, header and headerinclude.... nothing.

I then installed the plugin called "Easy google analytics"
http://awesomescreenshot.com/0473vyqbb6

Nothing is working for me.... what am i doing wrong ??

If you've never used Google Analytics before on your site, give it some time, in the least 24hrs for data to start showing.

Quote:

If you have installed tracking and don't see data in your reports after 24 hours, you may have one or more of the following issues.
https://support.google.com/analytics...683?hl=en&rd=1

mykkal 02-27-2015 06:09 PM

Be so awesome if there was a version of this for vb 4.2.X. Is there???

markoroots 03-01-2015 06:45 PM

Quote:

Originally Posted by Shadow (Post 2389404)
You should install this version if you're running vBulletin 4 - https://vborg.vbsupport.ru/showthread.php?t=290306

Read here. ;)

delds 09-26-2015 06:00 PM

now will this work also if I put a 2nd script in after the google Analytics script. I have a special independent stats program that requires a script entered also, that way I have stats generated from 2 sources

Thangvip9x 10-01-2015 11:26 PM

Quote:

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

Please upgrade your site to vBulletin version 5.0.0 or greater


All times are GMT. The time now is 02:21 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01399 seconds
  • Memory Usage 1,773KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (13)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (25)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete