trackkit / queues/types / QueuedTrackEvent
Interface: QueuedTrackEvent
Defined in: queues/types.ts:62
Queued track event with precise argument typing.
Extends
Properties
id
id:
string
Defined in: queues/types.ts:23
Unique identifier for this queued event.
Inherited from
timestamp
timestamp:
number
Defined in: queues/types.ts:33
Timestamp when the event was enqueued (ms since epoch).
Inherited from
category
category:
ConsentCategory
Defined in: queues/types.ts:49
Consent category this event belongs to.
Used by the consent gate and flushEssential/clearNonEssential.
Inherited from
pageContext?
optionalpageContext:PageContext
Defined in: queues/types.ts:56
Snapshot of the page context captured at enqueue time.
May be omitted for some calls.
Inherited from
type
type:
"track"
Defined in: queues/types.ts:63
High-level event type ('track', 'pageview', 'identify').
Overrides
args
args: [
string,Props,string]
Defined in: queues/types.ts:64
Raw argument list for the facade method.
The concrete shapes are specialised in the more specific QueuedTrackEvent, QueuedPageviewEvent and QueuedIdentifyEvent types.