Created
April 23, 2014 11:32
-
-
Save s7anley/11211727 to your computer and use it in GitHub Desktop.
Tracking GA events before redirect.
This file contains hidden or 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
_gaq.push( | |
['_trackEvent', 'Category', 'Action', 'Label'], | |
function() { | |
window.location.href = '/'; | |
} | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment