custom Event
fun customEvent(eventName: String, screenName: String, attributes: Map<String, Any>? = null, traits: TrackingTraits? = null)
Reports a custom event.
Parameters
event Name
The name of the event.
screen Name
The name of the screen the event happened on.
attributes
Optional custom attributes to send with the event.
traits
Optional identity traits to send with this event only.