track

abstract fun track(eventName: String)

Tracks an event with no properties.

Parameters

eventName

Name of the event

Throws

when eventName does not use characters from the set (a-zA-Z0-0_)


abstract fun track(eventName: String, properties: EventProperties?)

Tracks an event with optional properties.

Parameters

eventName

Name of the event

properties

Properties of the event

Throws

when eventName does not use characters from the set (a-zA-Z0-0_)