Skip to content

Instantly share code, notes, and snippets.

@flurrydev
Last active April 19, 2022 21:53
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/bc4dffaec703e39cd318d8e910900cec to your computer and use it in GitHub Desktop.
Save flurrydev/bc4dffaec703e39cd318d8e910900cec to your computer and use it in GitHub Desktop.
iOS standard events
func someFunction(){
let param = FlurryParamBuilder()
.set(doubleVal: 34.99, param: FlurryParamBuilder.totalAmount())
.set(booleanVal: true, param: FlurryParamBuilder.success())
.set(stringVal: "book 1", param: FlurryParamBuilder.itemName())
.set(stringVal: "This is an awesome book to purchase !!!", key: "note")
Flurry.log(standardEvent: FlurryEvent.FLURRY_EVENT_PURCHASED, param: param)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment