InternalChannel from which the event originated.
Contentful entry ID or flag key corresponding to the interaction.
Type of tracked optimization target for the interaction event.
'Entry' — A content entry.'Variable' — A Custom Flag or other variable-backed optimization target.Context object carrying environment and client metadata.
Optionalapp?: { name: string; version: string }Application-level metadata.
Name of the application.
Version of the application.
Campaign attribution metadata.
Optionalcontent?: stringCampaign content (e.g., utm_content).
Optionalmedium?: stringCampaign medium (e.g., utm_medium).
Optionalname?: stringName of the campaign (e.g., utm_campaign).
Optionalsource?: stringCampaign source (e.g., utm_source).
Optionalterm?: stringCampaign term (e.g., utm_term).
GDPR-related consent information.
Indicates whether the user has given consent.
Analytics library metadata.
Name of the SDK/library (e.g., "@contentful/optimization-web").
Version of the analytics library.
Locale identifier of the event (e.g., "en-US").
Optionallocation?: {Optional geo-location information associated with the event.
Optionalcity?: stringCity name associated with the location.
Optionalcontinent?: stringContinent name associated with the location.
Optionalcoordinates?: { latitude: number; longitude: number }Geographical coordinates for the location.
Latitude component of the coordinates.
Longitude component of the coordinates.
Optionalcountry?: stringCountry name associated with the location.
OptionalcountryCode?: stringCountry code associated with the location.
OptionalpostalCode?: stringPostal or ZIP code associated with the location.
Optionalregion?: stringRegion or state name associated with the location.
OptionalregionCode?: stringRegion or state code associated with the location.
Optionaltimezone?: stringTime zone identifier associated with the location.
Optionalpage?: {Path component of the page URL (e.g., /products/123).
Parsed query parameters for the page.
Referrer URL that led to the current page.
Raw search string including the leading ? (e.g., "?q=test").
Optionaltitle?: stringTitle of the page as seen by the user.
Full URL of the page.
Optionalscreen?: { name: string; [key: string]: JSONType }Name or label for the screen.
OptionaluserAgent?: stringUser agent string of the client, if available.
OptionalexperienceId?: stringIdentifier of the experience that rendered this entry or flag.
Unique identifier for this message.
Timestamp when the event originally occurred.
Timestamp when the event payload was sent.
Timestamp when the event was recorded or processed.
Discriminator indicating that this is an entry or flag view event.
OptionaluserId?: stringIdentifier of the authenticated user, if known.
Index of the variant associated with this interaction.
OptionalviewDurationMs?: numberMonotonically increasing visible duration for the active view.
OptionalviewId?: stringUUID identifying a single active view session.
Channel from which the event originated.
Contentful entry ID or flag key corresponding to the interaction.
Type of tracked optimization target for the interaction event.
'Entry' — A content entry.'Variable' — A Custom Flag or other variable-backed optimization target.Context object carrying environment and client metadata.
Optionalapp?: { name: string; version: string }Application-level metadata.
Name of the application.
Version of the application.
Campaign attribution metadata.
Optionalcontent?: stringCampaign content (e.g., utm_content).
Optionalmedium?: stringCampaign medium (e.g., utm_medium).
Optionalname?: stringName of the campaign (e.g., utm_campaign).
Optionalsource?: stringCampaign source (e.g., utm_source).
Optionalterm?: stringCampaign term (e.g., utm_term).
GDPR-related consent information.
Indicates whether the user has given consent.
Analytics library metadata.
Name of the SDK/library (e.g., "@contentful/optimization-web").
Version of the analytics library.
Locale identifier of the event (e.g., "en-US").
Optionallocation?: {Optional geo-location information associated with the event.
Optionalcity?: stringCity name associated with the location.
Optionalcontinent?: stringContinent name associated with the location.
Optionalcoordinates?: { latitude: number; longitude: number }Geographical coordinates for the location.
Latitude component of the coordinates.
Longitude component of the coordinates.
Optionalcountry?: stringCountry name associated with the location.
OptionalcountryCode?: stringCountry code associated with the location.
OptionalpostalCode?: stringPostal or ZIP code associated with the location.
Optionalregion?: stringRegion or state name associated with the location.
OptionalregionCode?: stringRegion or state code associated with the location.
Optionaltimezone?: stringTime zone identifier associated with the location.
Optionalpage?: {Path component of the page URL (e.g., /products/123).
Parsed query parameters for the page.
Referrer URL that led to the current page.
Raw search string including the leading ? (e.g., "?q=test").
Optionaltitle?: stringTitle of the page as seen by the user.
Full URL of the page.
Optionalscreen?: { name: string; [key: string]: JSONType }Name or label for the screen.
OptionaluserAgent?: stringUser agent string of the client, if available.
OptionalexperienceId?: stringIdentifier of the experience that rendered this entry or flag.
Unique identifier for this message.
Timestamp when the event originally occurred.
Timestamp when the event payload was sent.
Timestamp when the event was recorded or processed.
Discriminator indicating that this is an entry click event.
OptionaluserId?: stringIdentifier of the authenticated user, if known.
Index of the variant associated with this interaction.
Channel from which the event originated.
Contentful entry ID or flag key corresponding to the interaction.
Type of tracked optimization target for the interaction event.
'Entry' — A content entry.'Variable' — A Custom Flag or other variable-backed optimization target.Context object carrying environment and client metadata.
Optionalapp?: { name: string; version: string }Application-level metadata.
Name of the application.
Version of the application.
Campaign attribution metadata.
Optionalcontent?: stringCampaign content (e.g., utm_content).
Optionalmedium?: stringCampaign medium (e.g., utm_medium).
Optionalname?: stringName of the campaign (e.g., utm_campaign).
Optionalsource?: stringCampaign source (e.g., utm_source).
Optionalterm?: stringCampaign term (e.g., utm_term).
GDPR-related consent information.
Indicates whether the user has given consent.
Analytics library metadata.
Name of the SDK/library (e.g., "@contentful/optimization-web").
Version of the analytics library.
Locale identifier of the event (e.g., "en-US").
Optionallocation?: {Optional geo-location information associated with the event.
Optionalcity?: stringCity name associated with the location.
Optionalcontinent?: stringContinent name associated with the location.
Optionalcoordinates?: { latitude: number; longitude: number }Geographical coordinates for the location.
Latitude component of the coordinates.
Longitude component of the coordinates.
Optionalcountry?: stringCountry name associated with the location.
OptionalcountryCode?: stringCountry code associated with the location.
OptionalpostalCode?: stringPostal or ZIP code associated with the location.
Optionalregion?: stringRegion or state name associated with the location.
OptionalregionCode?: stringRegion or state code associated with the location.
Optionaltimezone?: stringTime zone identifier associated with the location.
Optionalpage?: {Path component of the page URL (e.g., /products/123).
Parsed query parameters for the page.
Referrer URL that led to the current page.
Raw search string including the leading ? (e.g., "?q=test").
Optionaltitle?: stringTitle of the page as seen by the user.
Full URL of the page.
Optionalscreen?: { name: string; [key: string]: JSONType }Name or label for the screen.
OptionaluserAgent?: stringUser agent string of the client, if available.
OptionalexperienceId?: stringIdentifier of the experience that rendered this entry or flag.
Monotonically increasing hover duration for the active hover.
UUID identifying a single active hover session.
Unique identifier for this message.
Timestamp when the event originally occurred.
Timestamp when the event payload was sent.
Timestamp when the event was recorded or processed.
Discriminator indicating that this is an entry hover event.
OptionaluserId?: stringIdentifier of the authenticated user, if known.
Index of the variant associated with this interaction.
Internal Insights queueing and flush runtime used by CoreStateful.