InitialCopy
Defined in: visitorContext.ts:131
Copy already produced for this view, ready for the initialCopy option of
useIsland, Hero and Cta. It renders visibly from the first frame,
settled and final.
Properties
Section titled “Properties”campaignId?
Section titled “campaignId?”
optionalcampaignId?:string
Defined in: visitorContext.ts:143
The campaign the copy belongs to. Impressions attribute to it.
contentSource
Section titled “contentSource”contentSource:
"generated"|"cached"|"static"
Defined in: visitorContext.ts:139
Where the copy came from: cached for copy read from the live-copy cache.
copy:
object
Defined in: visitorContext.ts:132
optionalbody?:string
optionalcta?:string
greeting?
Section titled “greeting?”
optionalgreeting?:string
headline?
Section titled “headline?”
optionalheadline?:string
freshness?
Section titled “freshness?”
optionalfreshness?:"fresh"|"stale"
Defined in: visitorContext.ts:149
For cached copy: fresh, or stale when it was past its freshness
window but still within its serving window. Reported with the
impression.
variantId?
Section titled “variantId?”
optionalvariantId?:string
Defined in: visitorContext.ts:141
The variant the copy belongs to. Pins the page’s variant.