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
  #82  
Old 09-12-2013, 10:18 PM
friendlymela's Avatar
friendlymela friendlymela is offline
 
Join Date: Dec 2012
Location: Karachi, Pakistan
Posts: 272
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is nice and useful mod
Reply With Quote
Благодарность от:
TheLastSuperman
  #83  
Old 10-15-2013, 12:13 PM
Bengie Bengie is offline
 
Join Date: Sep 2011
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed - http://pensioners.co.uk - but haven't a clue what it does.
Reply With Quote
  #84  
Old 11-08-2013, 02:30 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 Bengie View Post
Installed - http://pensioners.co.uk - but haven't a clue what it does.
Analytics, Google style if you have a google account check to see what shows up after installing this, that is if you did have one beforehand and entered in the number in settings after installing.
Reply With Quote
  #85  
Old 12-19-2013, 05:51 AM
bidorbuy bidorbuy is offline
 
Join Date: Nov 2011
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you for the plugin. Do you have any plans to support Univeral Analytics snippet? (https://developers.google.com/analyt...rade/?hl=en_US)
Reply With Quote
Благодарность от:
RichieBoy67
  #86  
Old 02-13-2014, 11:05 AM
induslady induslady is offline
 
Join Date: Jul 2006
Posts: 224
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello,
In my board I have enabled tracking through vbseo wherein the setting I have included the GA code - UA -####
Also have vbSSO plugin installed for single sign on integration between Wordpress and vbulletin.

Now I have an issue in tracking registrations happening in my site.
I have a custom built sign up page with native vbulletin registration page codes. When the users come to this sign up page it triggers iframe code that redirects to - forums/vbsso/vbsso.php
Here it is considered as an exit from the sign up page and hence increasing the bounce rate for the registration page.

In such a scenario, will your plugin help me resolve the issue and track registrations happening without any anomaly? If yes, how it is advantageous to include your plugin for tracking and disabling the setting in vbseo.

Please clarify.
Thanks.
Reply With Quote
  #87  
Old 04-22-2014, 04:20 AM
K!nG K!nG is offline
 
Join Date: Dec 2010
Location: United States
Posts: 477
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

I installed this mod added Tracking ID and did settings as needed in admincp. However when i go to my Google analytics. It says the follwing;
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.

I checked the source code of my site and it shows there and traking id is matching as well. What's wrong here ??

Help will be appreciated.
Reply With Quote
  #88  
Old 04-22-2014, 11:14 AM
RichieBoy67's Avatar
RichieBoy67 RichieBoy67 is offline
 
Join Date: Apr 2004
Location: CT - Down in a hole..
Posts: 3,057
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by K!nG View Post
Hi,

I installed this mod added Tracking ID and did settings as needed in admincp. However when i go to my Google analytics. It says the follwing;
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.

I checked the source code of my site and it shows there and traking id is matching as well. What's wrong here ??

Help will be appreciated.
Are you using the new set up or the old one? I am not sure if this is set up for the new universal analytics code yet.
Reply With Quote
  #89  
Old 04-22-2014, 02:38 PM
K!nG K!nG is offline
 
Join Date: Dec 2010
Location: United States
Posts: 477
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by RichieBoy67 View Post
Are you using the new set up or the old one? I am not sure if this is set up for the new universal analytics code yet.
I believe i am still on old set up because in my account, it's asking me to upgrade to universal analytics and i haven't done that yet. Even now still says the same, Just checked before replying this thread to make sure.
Reply With Quote
  #90  
Old 12-10-2014, 04:06 PM
JesWhite JesWhite is offline
 
Join Date: Apr 2014
Location: Muğla
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Code:
<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-xxxxxxx-x', 'auto');
  ga('send', 'pageview');

</script>

not worked for me ...
new code is here...

please update this addon..
thanks..
Reply With Quote
  #91  
Old 12-30-2014, 11:10 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 RichieBoy67 View Post
Are you using the new set up or the old one? I am not sure if this is set up for the new universal analytics code yet.
This mod is not updated for use with the new Universal code, see the link in the mods first post above for a link to the new Universal modification.

Quote:
Originally Posted by K!nG View Post
I believe i am still on old set up because in my account, it's asking me to upgrade to universal analytics and i haven't done that yet. Even now still says the same, Just checked before replying this thread to make sure.
Quote:
Originally Posted by JesWhite View Post
Code:
<script>
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-xxxxxxx-x', 'auto');
  ga('send', 'pageview');

</script>

not worked for me ...
new code is here...

please update this addon..
thanks..
This modification will not be updated, its meant for use if you have NOT updated to the new Universal Analytics code. See the link above in the first post if you wish to use our new version, we will not discuss the new version in this thread since its paid.
Reply With Quote
Благодарность от:
RichieBoy67
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 03:57 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.04998 seconds
  • Memory Usage 2,359KB
  • Queries Executed 28 (?)
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
  • (2)bbcode_code
  • (7)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
  • (3)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_postinfo_query
  • fetch_postinfo
  • 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