Analytics and Reporting
Custom events let you track user activities and key conversions in your application, and tie them back to corresponding push messaging campaigns.
Custom events requires analytics feature to be enabled. If disabled, any event that is added to analytics will be ignored. For a more detailed explanation on custom events and possible use cases, see the Custom Events topic guide.
Example custom event
var event = Airship.analytics.newEvent("foo")
event.eventValue = 100.0
event.eventProperties = {
someBoolean: true,
someDouble: 124.49,
someString: "customString",
someInt: 5,
someLong: 1234567890,
someArray: ["tangerine", "pineapple", "kiwi"]
}
event.track()
Feedback
Was this page helpful?
Thank you
Thanks for your feedback!
Tell Us MoreThank you
We will try harder!
Tell Us MoreCategories