track
Tracks an event with the specified name, and data. The event type will be DispatchType.Event
Return
: A Single onto which you can subscribe to receive the completion with the eventual error or the TrackResult for this track request.
Parameters
name
The name of the event to track.
data
Additional data to include with the event (optional).
Tracks an event with the specified name, type, and data.
Return
A Single onto which you can subscribe to receive the completion with the eventual error or the TrackResult for this track request.
Parameters
name
The name of the event to track.
type
The type of dispatch to use (default is .event).
data
Additional data to include with the event (optional).