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 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.
var customEvent = new UACustomEvent("event name", 100.0) customEvent.addProperty("custom key", "some value"); UrbanAirship.addCustomEvent(customEvent);