TrackOptions
Per-event options for useTrack — the one shared shape scope defaults and later telemetry components also draw from (plan 144 TASK-12).
Properties
Section titled “Properties”action?
Section titled “action?”
optionalaction?:string
Overrides the scope action for this event.
optionalarea?:string
Overrides the scope area for this event.
dedupeKey?
Section titled “dedupeKey?”
optionaldedupeKey?:string
Emit at most once per distinct key, for this hook instance’s lifetime.
immediate?
Section titled “immediate?”
optionalimmediate?:boolean
Send immediately instead of batching.
optionalonce?:boolean
Emit at most once (keyed on the event name), for this hook instance’s lifetime.
purpose?
Section titled “purpose?”
optionalpurpose?:TrackPurpose
Advisory TrackPurpose; overrides the scope purpose.