Created
June 22, 2015 20:51
-
-
Save ydn/81e03afa4b8881161c07 to your computer and use it in GitHub Desktop.
Timed Flurry Events with Parameters
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 the author info & user status | |
let articleParams = ["Author": "John Q", "User_Status": "Registered"]; | |
Flurry.logEvent("Article_Read", withParameters: articleParams, timed: true); | |
// In a function that captures when a user navigates away from article | |
// You can pass in additional params or update existing ones here as well | |
Flurry.endTimedEvent("Article_Read", withParameters: nil); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment