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


All times are GMT. The time now is 07:44 PM.

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.01084 seconds
  • Memory Usage 1,737KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete