PersonalizeData
|
Type |
Interface |
|
Import path |
|
Event and experiment data for running interactive experiences and experiments that are live in Sitecore Personalize.
Signature
Properties
|
Name |
Type |
Description |
Value |
|---|---|---|---|
|
|
|
Required. The touchpoint where the user interacts with your brand. For example, for webpages, the channel is Format: uppercase. |
Must be one of:
|
|
|
|
Optional. The alphabetic currency code of the currency the site visitor uses in your app. For example, if the site visitor selects Australian dollars as the currency, the currency is Format: uppercase ISO 4217. |
|
|
|
|
Optional. The site visitor's email address. Format: lowercase recommended. | |
|
|
|
Required. The unique identifier of the live interactive experience or experiment to run. To find the friendly ID in Sitecore Personalize, click the live experience or experiment to run, then click Build summary. The friendly ID is in the Details pane. |
|
|
|
Optional. The site visitor's geolocation data. |
| |
|
|
Optional. The identifiers used for identifying site visitors. If set, the experience or experiment runs only for the identified site visitor. |
| |
|
|
|
Optional. The language the site visitor interacts with your brand in. For example, if the site visitor selects the Japanese language in your app, the language is Format: uppercase ISO 639. Default for browser-side events: inferred from the HTML Default for server-side events: empty string. |
|
|
|
|
Optional. An object of your choice. If the URL of the webpage where this function runs contains UTM parameters, those parameters are automatically captured in To override the automatically captured UTM parameters, specify values manually in |
|
|
|
|
Optional. A list of IDs of personalized page variants. Ensures that the correct variants are rendered for personalization. If unset or an empty array, this property will not be part of the payload. |
|
PersonalizeGeolocation properties
PersonalizeGeolocation properties|
Name |
Type |
Description |
Value |
|---|---|---|---|
|
|
|
Optional. The site visitor's city address. Format: title case recommended. |
|
|
|
|
Optional. The site visitor's country address. Format: uppercase ISO 3166-1 alpha-2. |
|
|
|
|
Optional. The site visitor's region address. Depends on the regional structure of the country. Format: for example, for Australia, use state and territory abbreviations. For the United States, use ANSI standard INCITS 38:2009. |
|
PersonalizeIdentifierInput properties
PersonalizeIdentifierInput properties|
Name |
Type |
Description |
Value |
|---|---|---|---|
|
|
|
Required. The unique guest (site visitor) identifier provided by your organization's identity system, such as a Customer Relationship Management (CRM) system. |
|
|
|
|
Required. The name of your organization's identity system, external to SitecoreAI, that provided the unique guest (site visitor) identifier. |
|
params.utm properties
params.utm properties|
Name |
Type |
Description |
Value |
|---|---|---|---|
|
|
|
Optional. A product promotion or strategic campaign. |
|
|
|
|
Optional. The element the site visitor clicked that brought them to the website, such as a banner ad or a text link. |
|
|
|
|
Optional. The type of link used, for example, pay-per-click or email. |
|
|
|
|
Optional. The website that sent the traffic. |
|
|
|
|
Optional. Search terms the site visitor searched for. |
|
Examples
Here's an example of a personalize data object that doesn't contain the email attribute or the identifier attribute to identify the guest (site visitor). In this case, the browser IDbrowser ID is the guest identifier. This personalize data object also contains an optional custom object.
Here's an example of a personalize data object that uses the email attribute as the guest (site visitor) identifier.
Here's an example of a personalize data object that uses the identifier attribute as the guest (site visitor) identifier.
If the URL of the webpage where the personalize function runs contains UTM parameters, the payload of the personalize data object will contain the UTM parameters. Consider the following URL:
For this URL, the payload will contain all the UTM parameters in params.utm: