Request-scoped event and persistence consent.
OptionaleventUniversal event context shared by event calls made through this request object.
OptionalexperienceExperience API options shared by Experience calls made through this request object.
OptionalinsightsInsights API options shared by Insights calls made through this request object.
OptionallocaleRequest-scoped SDK locale used for Experience API requests, default event context, and SDK-managed Contentful entry fetching when no Contentful query locale is configured.
OptionalprofileComplete profile already known for the request, or populated by an Experience API response.
List of audience identifiers that this profile belongs to.
Primary identifier of the profile.
Optionaljurisdiction?: "US" | "EU"Data-residency jurisdiction of the profile's storage, when the Experience API reports it.
Geo-location information associated with the profile.
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.
Random value associated with the profile.
Aggregated session statistics for the profile.
Duration of the active session.
Average session duration across all sessions represented by this record.
Number of sessions associated with this profile or identifier.
Optionalid?: stringSession identifier, when supplied by the Experience API.
Indicates whether the visitor has been seen before.
Landing page for the session.
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.
Stable, long-lived identifier of the profile.
Traits describing the profile (user-level attributes).
OptionalprofileProfile ID for Experience API continuity when no complete profile is available.
Options used to bind stateless SDK calls to an incoming request.