Skip to content

SlotMemory

Defined in: variant.ts:96

What one copy slot showed in this page view, kept so a later mount of the same slot shows exactly that again instead of holding and replacing it. Renderers read and write it through VariantRegistry.slot.

campaignId: string | null

Defined in: variant.ts:103


contentSource: "generated" | "cached" | "static" | null

Defined in: variant.ts:105

The provenance the impression reports for the shown copy.


heldSince: number | null

Defined in: variant.ts:98

When the slot first held blank on screen (Date.now()), or null.


impressionRecorded: boolean

Defined in: variant.ts:107

The slot’s impression has been recorded in this page view.


shown: Partial<Record<CopyField, ShownCopy>> | null

Defined in: variant.ts:100

Per field, the copy the visitor saw. Null until something showed.


variantId: string | null

Defined in: variant.ts:102

The variant and campaign the shown copy belongs to, when known.