Last active
February 17, 2016 19:25
-
-
Save flurrydev/42aae10df2d90396a590 to your computer and use it in GitHub Desktop.
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
| // Capture author info & user status | |
| Map<String, String> articleParams = new HashMap<String, String>(); | |
| articleParams.put("Author", "John Q"); | |
| articleParams.put("User_Status", "Registered"); | |
| //Log the timed event when the user starts reading the article | |
| //setting the third param to true creates a timed event | |
| FlurryAgent.logEvent("Article_Read", articleParams, true); | |
| //... | |
| // End the timed event, when the user navigates away from article | |
| FlurryAgent.endTimedEvent("Article_Read"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment