Number of dropped events.
Dropped events in oldest-first order.
Channel from which the event originated.
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.
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 event is an alias event.
OptionaluserId?: stringIdentifier of the authenticated user, if known.
Channel from which the event originated.
Contentful entry ID corresponding to the interacted component.
Type of component for the interaction event.
'Entry' — A content entry component.'Variable' — A variable or inline value component.UUID identifying a single active component view session.
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 component.
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 event is a component view.
OptionaluserId?: stringIdentifier of the authenticated user, if known.
Index of the variant associated with this interaction.
Monotonically increasing visible duration for the active component view.
Channel from which the event originated.
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.
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 event is a group event.
OptionaluserId?: stringIdentifier of the authenticated user, if known.
Channel from which the event originated.
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.
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.
Traits describing the user.
Discriminator indicating that this event is an identify event.
OptionaluserId?: stringIdentifier of the authenticated user, if known.
Channel from which the event originated.
Override the context property of UniversalEventProperties with a page-specific context.
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.
Page context for events that occur within a web page.
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.
OptionaluserAgent?: stringUser agent string of the client, if available.
Unique identifier for this message.
Optionalname?: stringOptional name for the page.
Timestamp when the event originally occurred.
Page-level properties such as URL, path, and referrer.
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.
Timestamp when the event payload was sent.
Timestamp when the event was recorded or processed.
Discriminator indicating that this event is a page view.
OptionaluserId?: stringIdentifier of the authenticated user, if known.
Channel from which the event originated.
Override the context property of UniversalEventProperties with a screen-specific context.
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.
Screen context for events that occur within a mobile or TV application.
Name or label for the screen.
OptionaluserAgent?: stringUser agent string of the client, if available.
Unique identifier for this message.
Name of the screen being viewed.
Timestamp when the event originally occurred.
Optionalproperties?: Record<string, JSONType>Optional properties describing the screen context.
Timestamp when the event payload was sent.
Timestamp when the event was recorded or processed.
Discriminator indicating that this event is a screen view.
OptionaluserId?: stringIdentifier of the authenticated user, if known.
Channel from which the event originated.
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.
Name of the event being tracked.
Unique identifier for this message.
Timestamp when the event originally occurred.
Additional properties describing the event.
Timestamp when the event payload was sent.
Timestamp when the event was recorded or processed.
Discriminator indicating that this event is a track event.
OptionaluserId?: stringIdentifier of the authenticated user, if known.
Configured queue max size.
Queue size after enqueueing the current event.
Context payload emitted when offline personalization events are dropped due to queue bounds.