trackAction

open fun trackAction(actionName: String)

Tracks a user action event.

This function is a convenience method that creates a Event.Action event and tracks it.

Parameters

actionName

The name of the action performed by the user.


abstract fun trackAction(action: Event.Action)

Tracks a user action event using a predefined Event.Action object.

Parameters

action

The Event.Action object representing the user action event.