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

Reply
 
Thread Tools
Easy Google Analytics Details »»
Easy Google Analytics
Version: 1.00, by Shadow Shadow is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.x.x Rating:
Released: 11-06-2012 Last Update: Never Installs: 85
Uses Plugins Auto-Templates
Re-useable Code Translations  
No support by the author.

Description:
This small and simple modification is a back port of my vBulletin 5 version and 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:
07/11/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!

Download Now

File Type: xml product-ega.xml (2.4 KB, 435 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
4 благодарности(ей) от:
ae3799t, CoZmicShReddeR, mapleleaffans, mykkal

Comments
  #12  
Old 01-31-2013, 02:19 AM
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Posts: 3,085
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Something terribly wrong here. The AdminCP says "Google Analytics website. Once you have this, paste it here and Save.". But wtf does that mean? We're supposed to paste the entire GA website in that little box? Or some portion of the URL?

I suspect what it should say is:
Login to your GA site page and find the "Tracking Info" tab. From the box where it says "This is your tracking code. Copy and paste it into the code of every page you want to track.", copy and paste the entire text.

Or am I wrong? I have been unable to get GA working for ages now so maybe I really should be pasting whole websites in the box?
Reply With Quote
  #13  
Old 01-31-2013, 04:31 PM
Shadow Shadow is offline
 
Join Date: Jan 2011
Posts: 194
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, it reads fine to me.

Google Analytics gives you your tracking code when you enter your site information. This is what needs to be entered in to the text box. The modification then places the code automatically on all pages that use the designated template.
Reply With Quote
  #14  
Old 06-21-2013, 06:06 AM
Syxguns's Avatar
Syxguns Syxguns is offline
 
Join Date: Jul 2011
Posts: 280
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Shadow!
Gonna take her for a test ride!
Reply With Quote
  #15  
Old 06-30-2013, 01:00 PM
furnival furnival is offline
 
Join Date: Mar 2008
Posts: 136
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have to agree with the above poster that the language used in this plugin is confusing and bad English. It was not clear whether I should have posted just my Google Analytics ID "UA-xxxxx-x" or the whole tracking code. Thanks though, it's a useful mod.
Reply With Quote
  #16  
Old 07-17-2013, 03:52 PM
Pspfanatic Pspfanatic is offline
 
Join Date: Dec 2011
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I had the same question as above. Do we post the whole code or just the ID?

EDIT: Nevermind, got it.
Reply With Quote
  #17  
Old 07-17-2013, 10:42 PM
CoZmicShReddeR's Avatar
CoZmicShReddeR CoZmicShReddeR is offline
 
Join Date: Sep 2006
Location: MI, USA
Posts: 338
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by voglermc View Post
This has already been done, are you copying their code?
https://vborg.vbsupport.ru/showthread.php?t=256325
It might do something similar but the code isn't the same... I think you shouldn't be so easy to jump on something until you compare the coding...

I used to do the same thing but instead I now compare the code and if someone makes something even if it does the same thing I compare the code and chose whoever made the cleaner code and this one is quite well streamlined!

Even though I am not going to use it I just happened to check it out and wanted to make sure you understood to be nice as we need as many happy free coders as we can get for vbulletin and not scare them away...
Reply With Quote
Благодарность от:
Shadow
  #18  
Old 08-13-2013, 09:43 AM
Akyeame Kwame Akyeame Kwame is offline
 
Join Date: May 2008
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd like to use this mod as it adds to the bottom of the footer rather than the before </head>. One question: Is this the asynchronous version of the GA tracking code?
Reply With Quote
  #19  
Old 02-17-2014, 05:45 AM
PattiOz PattiOz is offline
 
Join Date: May 2009
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Easy, simple, excellent!
Reply With Quote
  #20  
Old 02-17-2014, 08:08 AM
DemOnstar's Avatar
DemOnstar DemOnstar is offline
 
Join Date: Dec 2012
Posts: 859
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Fairly simple install..
Not really sure about the confusion a few threads up..

Installed and testing...

Splendid...... Thanks for you efforts...
Reply With Quote
  #21  
Old 02-17-2014, 04:45 PM
forums4windows forums4windows is offline
 
Join Date: Feb 2014
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed and tested. Works great - very simple to install, very easy to set up and works great. Once Google have started gathering date, the facility to monitor and track visitors is an excellent resource, thanks to this mod!

Very much appreciated.
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:41 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.14816 seconds
  • Memory Usage 2,325KB
  • 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
  • (1)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
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (5)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)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