James nzjames

View ga-helper.js
1 2 3 4 5 6 7 8 9 10
/**
* Google Analytics tracking
*
* This helper sets up a delegate that responds to on click events for
* all elements that have a data-gcat (GA category)
* attribute and initializes a click or submit track event (submit for input[type=submit])
* and also sends the data-galabel label.
*
* Usage:
* 1. Add to the page footer
Something went wrong with that request. Please try again.