trackInputChangeEvent
Tracks an InputChangeEvent.
trackInputChangeEvent = (parameters: {
tracker: Tracker,
locationStack?: LocationStack,
globalContexts?: GlobalContexts,
options?: TrackEventOptions
}) => Promise<TrackerEvent>
caution
This is a lower-level API.
Event Tracking Hooks are preferable as they automate retrieving both the Tracker instance and LocationStack. In fact, the do use these lower-level APIs internally.
Parameters
type | |||
---|---|---|---|
required | tracker | ReactTracker | |
optional | options | TrackEventOptions | |
optional | locationStack | LocationStack | |
optional | globalContexts | GlobalContexts |
Returns
Promise<TrackerEvent>
Usage
- InputContextWrapper documentation has a practical usage example of this Event Tracker.