Last active
December 23, 2018 18:12
-
-
Save kylerush/5955920 to your computer and use it in GitHub Desktop.
Google Analytics custom event example to reduce user frustration.
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', 'Donate error', 'field validation error', 'email']); |
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', 'Ajax response time', 'donate submission', timeString]); |
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', 'Donate error', 'has errors', erroCount]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment