trackEvent

fun trackEvent(context: Context, eventName: String, properties: Properties): MoETask<TrackEventResult>

Track user behaviour as events with properties.

Since

12.0.00

Parameters

context

instance of Context

eventName

Event Name

properties

instance of Properties

Throws

if the SDK is not initialized.


fun trackEvent(context: Context, eventName: String, properties: Properties, appId: String): MoETask<TrackEventResult>

Track user behaviour as events with properties.

Since

12.0.00

Parameters

context

instance of Context

eventName

Event Name

properties

instance of Properties

appId

Account identifier, APP ID on the MoEngage Dashboard.

Throws

if the SDK is not initialized.