Skip to content

TrackOptions

Per-event options for useTrack — the one shared shape scope defaults and later telemetry components also draw from (plan 144 TASK-12).

optional action?: string

Overrides the scope action for this event.


optional area?: string

Overrides the scope area for this event.


optional dedupeKey?: string

Emit at most once per distinct key, for this hook instance’s lifetime.


optional immediate?: boolean

Send immediately instead of batching.


optional once?: boolean

Emit at most once (keyed on the event name), for this hook instance’s lifetime.


optional purpose?: TrackPurpose

Advisory TrackPurpose; overrides the scope purpose.