Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Innovative Google Analytics - Asynchronous Version Details »»
Innovative Google Analytics - Asynchronous Version
Version: 1.00, by TheLastSuperman (Senior Member) TheLastSuperman is offline
Developer Last Online: Oct 2023 Show Printable Version Email this Page

Category: Integration with vBulletin - Version: 4.2.x Rating:
Released: 02-22-2011 Last Update: 08-29-2013 Installs: 359
Supported Uses Plugins Auto-Templates
Translations  

This modification automatically adds in your Google Analytics Code (Asynch version) to your forum just before the </head> tag. You enable the modification and set the UA-######-# and that's it!

Please Note: This is the asynchronous version of the google analytics code. It can still be used HOWEVER there is a newer "Universal Analytics" code - this mod does not utilize the new code only the asynch code. Our newer Anayltics mod utilizes the i,s,o,g,r,a,m universal code and can be found here.

What is Google Analytics?
Google Analytics Home

Quote:
Originally Posted by Google.com
Analytics provides easy to use APIs and SDKs to send data to Google Analytics.

With the collection APIs and SDKs, you can measure how users interact with your content and marketing initiatives. Once implemented, you will be able to view user-interaction data within Google Analytics or through the Reporting APIs.
*This modification is auto-template therefor if enabled the asynch google code will always be there, no need for manual template edits in one or multiple styles as it's handled automatically via a plugin and rendered in all styles!

This modification is similar to BBR's recently retired Google Analytics Modification however it's based on the new asynchronous version of the tracking code and the modification was not too complex so it was easy enough to replicate from scratch using the documentation provided by Google for the new asynchronous version.

Installation:
  • Import the product.
  • AdminCP > Settings > Options > Google Analytics
  • Enable the modification and enter in your UA-######-# account ID number and select other options.
  • Enjoy!

Why are there three versions of this available for download?
  1. product-innovative_google_analytics.xml is the default google analytics code without additional _gaq.push settings. This is perfect for newcomers associating themselves with Google Analytics for the first time.
  2. product-innovative_google_analytics_v2.xml is the default code with option to enable multiple domain tracking. This is perfect for those using multiple domains.
  3. product-innovative_google_analytics_v3.xml is the default code with options to enable multiple domain tracking, disable campaign tracking, and split snippets regarding the code placement. This is the most robust version of the mod available, all additional options can be enabled/disabled in admincp options.

*Version 3 is the most up to date, features cleaned up code using one push instance instead of multiple and contains all features of its two predecessors.

AdminCP > Settings > Options > Google Analytics

You can reference the new code here:
Async Tracking

The Async guide:
Async Guide

Please remove ALL older Google Analytic code and/or modifications before using (if you're installing the new version of this mod _v2 listed below simply choose to overwrite the modification). You can view Google's instructions here with information as to why you should not use two codes as well:
Async Migration Examples

More information for reference:
Async Split Snippets

______________________________________

Multiple Domain Tracking

Tracking Multiple Domains or using subdomains? Install the version product-innovative_google_analytics_v2.xml instead .
Reference:
Tracking Multiple Domains

AdminCP > Settings > Options > Google Analytics > Subdomain Name
Example: .vbulletin.org

*Don't forget to setup filters either pre-defined or custom to differentiate between the different subdomains!
Reference: Eric Mobley Explains Filters

Why is this important?
Hufted explains it here: Why this change is important

Please note: When updating from the normal version to the new _subdomains version it may take upwards of 24hrs before new information is displayed. Please view this page for additional information: Troubleshooting Tracking Issues

You can change the date range in "reports" to "today" to see if it displays new information after updating the modification before it has been 24hrs.
______________________________________

If you like the modification please MARK AS INSTALLED.
*You can note on the top right of the mod description in the side menu, your "Installed" or "Uninstalled" status indicator.

Download Now

File Type: xml product-innovative_google_analytics.xml (2.9 KB, 1281 views)
File Type: xml product-innovative_google_analytics_v2.xml (4.7 KB, 54 views)
File Type: xml product-innovative_google_analytics_v3.xml (7.3 KB, 387 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
Toorak Times

Comments
  #72  
Old 08-29-2013, 12:16 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hutfed View Post
If you were a banana, you'd be the top one! Thanks for checking and providing the update, it looks like it's all working as it should now.

I'm looking forward to the next version with all the other goodies in it.
Your welcome! Mind doing me a favor? try v2 it's out now - What I did was remove the _subdomain.xml file and simply updated the overall product so you can enable subdomain and set it in options now .

Quote:
Originally Posted by Toorak Times View Post
Hi, I have this uploaded and I saw the update, no sub domains yet but will have. Should I upload this update anyway?

...and can you tell me do I have to take the Google id out of the Options in my cpanel?

Thanks
cPanel? Do you mean your AdminCP in vBulletin? If you mean do you need to retype the UA# then no it should remain so long as you choose "Allow Overwrite" when installing the new version. The good thing about v2 is you can enable/disable multiple domain tracking in AdminCP > Settings > Options > Google Analytics

__________________

New version up, please install (allow overwrite) the file product-innovative_google_analytics_v2.xml ONLY if your using Multiple Domain Tracking because that is the only new addition in v2.
Reply With Quote
Благодарность от:
Toorak Times
  #73  
Old 08-29-2013, 12:19 PM
GoHighVoltage's Avatar
GoHighVoltage GoHighVoltage is offline
 
Join Date: Dec 2010
Location: Edwardsville, IL
Posts: 57
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

for the subdomain name do you just put in the box:

.domain.com

or do you do this:

forum.domain.com

?
Reply With Quote
  #74  
Old 08-29-2013, 12:25 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GoHighVoltage View Post
for the subdomain name do you just put in the box:

.domain.com

or do you do this:

forum.domain.com


?
.domain.com

Also I knew someone had already explained this so here's some info to read up on:
http://www.ericmobley.net/guide-to-t...gle-analytics/
http://productforums.google.com/foru...cs/wh5sF3zijrU <-- On this page see the note @ the bottom regarding pre-defined filters.
Reply With Quote
  #75  
Old 08-29-2013, 01:15 PM
hutfed hutfed is offline
 
Join Date: Jul 2013
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Some background on why this change to the plugin is important:

If you are running your forum on a subdomain of your main site, but you want to be able to track people landing on your forum then going to the main site, then you need to make sure the subdomain tracking is enabled.

So site is www.mysite.com and the forum is forum.mysite.com but it all goes through the same GA account and is tracked as if it was part of the same site because I'll add .mysite.com into this plugin setup.

For the forum that I've set up, it's the community part of a large ecommerce site, so it's important to track any revenue that people landing on the forum who then go on to buy something in the shop.

So now I've got this plugin installed, I'll be able to tell how much money the forum generates and which boards and posts go on to generate the sales. Very useful!

I'll give v2 a try for you and will report back.
Reply With Quote
Благодарность от:
TheLastSuperman
  #76  
Old 08-29-2013, 01:18 PM
hutfed hutfed is offline
 
Join Date: Jul 2013
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just installed it. Everything looks good to me! Nice one!
Reply With Quote
  #77  
Old 08-29-2013, 01:27 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hutfed View Post
Just installed it. Everything looks good to me! Nice one!
Good to hear and thanks for confirmation .
Reply With Quote
  #78  
Old 08-29-2013, 11:26 PM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Version 3 up! Innovative Google Analytics Version 3 is the most up to date, features cleaned up code using one push instance instead of multiple and contains all features of its two predecessors.

Version 3 Features:
  • Enable Multiple Domain and/or Subdomain Tracking
  • Disable Campaign Tracking
  • Split Snippets Option

Blame all the changes and going through two new versions on hufted, its all his fault
Reply With Quote
  #79  
Old 08-30-2013, 03:30 AM
bzcomputers's Avatar
bzcomputers bzcomputers is offline
 
Join Date: Apr 2012
Location: TX
Posts: 503
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can someone give a quick comparison of this mod to this other one:https://vborg.vbsupport.ru/showthrea...oint+analytics


I tried comparing the code but other than seeing they are completely different I wasn't sure if either had benefits over the other.
Reply With Quote
  #80  
Old 08-30-2013, 11:49 AM
TheLastSuperman's Avatar
TheLastSuperman TheLastSuperman is offline
Senior Member
 
Join Date: Sep 2008
Location: North Carolina
Posts: 5,844
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bzcomputers View Post
Can someone give a quick comparison of this mod to this other one:https://vborg.vbsupport.ru/showthrea...oint+analytics


I tried comparing the code but other than seeing they are completely different I wasn't sure if either had benefits over the other.
Actually he managed to put in the tracking subdomains and included more _gaq.push functions including tracking socials such as facebook and twitter plus no need to key in the subdomain info it auto-detects and one more thing he has it adding info about analytics to faq which I found very thoughtful honestly. Very nice mod he's made there the only difference I see is no split snippet or disabling of campaign tracking but he did place the analytics code in a template so you could actually edit the template yourself to add or remove whatever _gaq.push codes you like including disabling campaign tracking and the fact again that you don't need to key in your domain if tracking multiple sites etc is a plus.

You can try each to see which one you like better just not both at the same time but in all actuality they do pretty much the same thing in a sense however his seems to round the corners a bit better imho.
Reply With Quote
Благодарность от:
bzcomputers
  #81  
Old 09-12-2013, 12:30 PM
Bengie Bengie is offline
 
Join Date: Sep 2011
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed, will update in a few days.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 04:51 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04932 seconds
  • Memory Usage 2,364KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (4)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete