Last active
November 13, 2018 21:23
-
-
Save jakebellacera/54b730d212b18c8cdaad17d53b5eb5fe to your computer and use it in GitHub Desktop.
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
// Events are tracked using the Split.track() method | |
// | |
// The format is as follows: | |
// split.track(CUSTOMER_ID, TRAFFIC_TYPE, EVENT_TYPE, VALUE) | |
// Example #1: Track page load time | |
split.track(USER_ID, "user", "page_load_time", 5.5346); | |
// Example #2: Track API response time | |
split.track(USER_ID, "user", "api_response_time", 1.7459); | |
// Example #3: Track database query time | |
split.track(USER_ID, "user", "db_query_time", 0.2434); | |
// Example #4: Track clicks or engagements | |
split.track(USER_ID, "user", "clicked_purchase_button"); | |
// Example #5: Track support ticket count creations | |
split.track(USER_ID, "user", "created_support_ticket"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment