Google Analytics Addons. Track Downloads, Mailtos & Outbound clicks
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README
README.fr
gaAddons.js
testgaAddons.html

README

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);