Created
August 21, 2013 14:16
-
-
Save lancebecker/6295014 to your computer and use it in GitHub Desktop.
GAQ in one data prop
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<a href="#" data-track='{"category":"categoryName", "action":"click", "label":"labelName"}'> | |
TrackingManager.prototype._standardGaq = function(o) { | |
return _gaq.push(['_trackEvent', o.category, o.action, o.label]); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment