Skip to content

Google Analytics Addons. Track Downloads, Mailtos & Outbound clicks

Notifications You must be signed in to change notification settings

gnoirzox/gaAddons

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README gaAddons.js

Prerequisites to use this script:

1 - Use jQuery on pages using gaAddons.js
	> download jQuery ( http://docs.jquery.com/Downloading_jQuery );
	> use at least jQuery 1.7
	> host jquery.min.js on the same server of the analysed website.

2 - Put some parameters in the gaAddons.js script:
	> Line 18: put domains & subdomains associated to the analysed website:
		example:
		var crossDomains= '(inextcom.fr|blog.inextcom.fr)';
	> Line 22: put our Google Analytics account number;
	> Line 36: (optional) put the tracker used by the analysed website:
		example:
		var t = _gat.getTrackerByName('inextcom');

3 - Apply both scripts (jquery & gaAddons.js) on each pages to analyse (put it between <head> & </head>):
	example:
	<script type="text/javascript" src="scripts/jquery-1.7.2.min.js"></script>
	<script type="text/javascript" src="scripts/gaAddons.js"></script>

About the author: 
the author of the original script is Stephane Hamel (http://gaaddons.com);

About

Google Analytics Addons. Track Downloads, Mailtos & Outbound clicks

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published