Last active
October 30, 2017 18:40
-
-
Save kbshl/453f3cee5f704c97b8a5 to your computer and use it in GitHub Desktop.
Titanium Mobile: Fire Google Analytics Event
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
// fire analytics event | |
require('/helpers/analytics/ga').event(CATEGORY, ACTION, LABEL, 1); |
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
// fire analytics event | |
require('/helpers/analytics/ga').event({ | |
category: CATEGORY, | |
action: ACTION, | |
label: LABEL, | |
value: 1 | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment