Skip to content

trackkit / queues/types / QueuedPageviewEvent

Interface: QueuedPageviewEvent ​

Defined in: queues/types.ts:70

Queued pageview event with precise argument typing.

Extends ​

Properties ​

id ​

id: string

Defined in: queues/types.ts:23

Unique identifier for this queued event.

Inherited from ​

QueuedEvent.id


timestamp ​

timestamp: number

Defined in: queues/types.ts:33

Timestamp when the event was enqueued (ms since epoch).

Inherited from ​

QueuedEvent.timestamp


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 ​

QueuedEvent.category


pageContext? ​

optional pageContext: PageContext

Defined in: queues/types.ts:56

Snapshot of the page context captured at enqueue time.

May be omitted for some calls.

Inherited from ​

QueuedEvent.pageContext


type ​

type: "pageview"

Defined in: queues/types.ts:71

High-level event type ('track', 'pageview', 'identify').

Overrides ​

QueuedEvent.type


args ​

args: [string]

Defined in: queues/types.ts:72

Raw argument list for the facade method.

The concrete shapes are specialised in the more specific QueuedTrackEvent, QueuedPageviewEvent and QueuedIdentifyEvent types.

Overrides ​

QueuedEvent.args

Released under the MIT License.