Skip to content

Instantly share code, notes, and snippets.

@flurrydev
Created August 13, 2021 06:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save flurrydev/3902f1ca959bf77cd8c7d697abbcb825 to your computer and use it in GitHub Desktop.
Save flurrydev/3902f1ca959bf77cd8c7d697abbcb825 to your computer and use it in GitHub Desktop.
- (void)somePurchasingEvent{
FlurryParamBuilder *param = [[[[[[FlurryParamBuilder alloc] init]
setDouble:34.99 forParam:FLURRY_EVENT_PARAM_TOTAL_AMOUNT]
setBoolean:YES forParam:FLURRY_EVENT_PARAM_SUCCESS]
setString:@"book 1" forParam:FLURRY_EVENT_PARAM_ITEM_NAME]
setString:@”This is an awesome book to purchase !!!” forKey:@"note"];
[Flurry logStandardEvent:FLURRY_EVENT_PURCHASED withParameters:param];
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment