vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Statistics Modifications - [Mod-Mall] Google Analytics with User Info and Site Speed! (https://vborg.vbsupport.ru/showthread.php?t=264216)

nitra1000 05-25-2011 10:00 PM

[Mod-Mall] Google Analytics with User Info and Site Speed!
 
1 Attachment(s)
What Google Analytics Does
For those of you not in the know... Google Analytics allows you to track site visits, bounce rate, content, users, along with dozens of other metrics... Even tying in with adsense/adwords.

It has now introduced Site Speed into the mix

What This Mod Does
This mod inserts the javascript in your header template, saving you from having to edit or revert your templates every upgrade.

It Also
  • Adds whether the visitor is Guest or Member (Available as a Custom Varible, and used with Segments)
  • Adds the code necessary to record Site Speed (Available in the Google Analytics Public Beta)


How to install
  1. Import the xml
  2. Register at google.com/analytics,and configure your site (if you haven't already)
  3. Find you UA number in the profile list
  4. copy and paste this into the UA field found in your admincp under Settings>Options>Google Analytics Script
  5. Activate and configure the add on in the same screen

How to upgrade
  1. Import the xml, set overwrite to allow/yes/on
  2. Check the settings at Settings>Options>Add Wibiya Script


Releases
V0.5 - Pre-Release
v1.0 - Release

Notes
I have nothing to do with Google, I just needed this for my forum and thought I would be nice.... By installing this mod you agree that I am in no way responsible for what it does good or bad to your website, or reporting,your dog or anything else for that matter.

Support / Branding
I provide vBulletin Mods for zero costs. To help me please leave the modification footer link alone, unless you support this modification with a 15$ minimum donation.

If you choose to support me, I will contact you via the email provided by paypal with instructions on how to remove the footer note.

A link to Supporting me ("Support Developer") can be found on the top right area of this post.


Instructions for viewing the data
Instructions for viewing the data inside Google Analytics can be found on my own website
Like This Mod?
Mark as Install
Nominate for Mod of the Month
Consider a Donation

nitra1000 05-25-2011 10:30 PM

Reserved

ssslippy 05-26-2011 12:45 AM

Shouldn't the javascript be in the footer to reduce page load time?

nitra1000 05-26-2011 06:34 AM

Nope this uses the asynchronous code which is the fastest available

Kraxell 05-26-2011 06:59 AM

Thx, will give it a try :)

Paul M 05-26-2011 07:31 AM

Remove this threat from your plugin.

Consider yourself warned - this is unacceptable.

PHP Code:

// DO NOT MODIFY THIS WITHOUT MY EXPRESS PERMISSION A LINK FREE VERSION WILL BE AVAILABLE SOON
// IF YOU DO MODIFY IT OTHER SCRIPTS MAY FIRE WHICH MAY HURT YOUR FORUM CONSIDER YOURSELF WARNED 


betts02 05-26-2011 07:54 AM

Does this track just the home page or every page ?

I used the code before and placed in in my header template

nitra1000 05-26-2011 07:54 AM

@Paul Removed :) Just an idel threat made after losing over 500,000 links when a board owner removed my copyright. I had no intention of even leaving the comment in the mod (and certainly would never carry out)

nitra1000 05-26-2011 07:55 AM

Quote:

Originally Posted by betts02 (Post 2200107)
Does this track just the home page or every page ?

I used the code before and placed in in my header template

Every page.

betts02 05-26-2011 07:57 AM

Sorry removed this due to above post by Admin


All times are GMT. The time now is 11:19 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.01139 seconds
  • Memory Usage 1,740KB
  • 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
  • (1)bbcode_php_printable
  • (1)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