1. Personalization

The personalization conditions

Version:

This topic lists the personalization conditions that are available in Sitecore Experience Platform (XP) and in Sitecore Experience Manager (XM).

In a fully configured Sitecore XP installation, you can use all the personalization conditions in the Rule Set Editor and you can implement historic and in-session personalization.

However, in a Sitecore XM or XP installation, the personalization conditions that you can use are different depending on how you installed Sitecore:

  • If you used the Sitecore XP topology packages (XP Scaled or XP Single) to install Sitecore XP and then configured it to run in CMS-only mode, some of the personalization conditions are available and you can implement in-session personalization.
  • If you used the Sitecore XM Scaled topology packages to install Sitecore XM, no personalization conditions are available and you cannot implement any personalization.

If you install Commerce Connect, additional personalization conditions for Commerce Connect are installed.

In the Rule Set Editor, the personalization conditions are organized by category. The categories are:

You can use all of the rules in the following tables in XP. The conditions that you can use in XM are marked as compatible (Yes) or not supported (No).

Predefined Rules

ConditionXM

Installed with the Sitecore XM topology packages
XP

Sitecore XP configured to run in CMS-only mode
XP
Where predefined rule is trueNoYesYes

Campaign

ConditionXM

Installed with the Sitecore XM topology packages
XP

Sitecore XP configured to run in CMS-only mode
XP
When current interaction's campaign's custom facet field is classified under the specified custom groupNoYes - only supports in-session personalizationYes

Channel

ConditionXM

Installed with the Sitecore XM topology packages
XP

Sitecore XP configured to run in CMS-only mode
XP
When the current interaction is on the specified channelNoYesYes
When the current interaction is on a channel in the specified channel groupNoYesYes
When the current interaction is on a channel in the specified channel typeNoYesYes

Date

ConditionXM

Installed with the Sitecore XM topology packages
XP

Sitecore XP configured to run in CMS-only mode
XP
When the date has passedNoYesYes
When the current day of the month compares to numberNoYesYes
When the current day is day of the weekNoYesYes
When the current month is monthNoYesYes

Device

ConditionXM

Installed with the Sitecore XM topology packages
XP

Sitecore XP configured to run in CMS-only mode
XP
Where the device browser compares to specific valueNoYesYes
Where browser supports HTML 5 audioNoYesYes
Where browser supports HTML 5 videoNoYesYes
Where browser supports JavaScriptNoYesYes
Where the device is botNoYesYes
Where the device hardware model compares to specific valueNoYesYes
Where the device property compares to specific valueNoYesYes
Where the device operating system compares to specific valueNoYesYes
Where the device operating system vendor compares to specific valueNoYesYes
Where the device supports touch screenNoYesYes
Where device type is one of the listNoYesYes
Where the device vendor compares to specific valueNoYesYes
Where the hardware screen height compares to numberNoYesYes
Where the hardware screen width compares to numberNoYesYes

Fields

ConditionXM

Installed with the Sitecore XM topology packages
XP

Sitecore XP configured to run in CMS-only mode
XP
Where the specific field compares to specific valueNoYesYes
Where the specific field is emptyNoYesYes
Where the item contains a field type that compares to specificNoYesYes

IP Geolocation

ConditionXM

Installed with the Sitecore XM topology packages
XP

Sitecore XP configured to run in CMS-only mode
XP
Where the area code compares to specific valueNoYesYes
Where the business name compares to specific valueNoYesYes
Where the city compares to specific cityNoYesYes
Where the country compares to specific countriesNoYesYes
Where the DNS address compares to specific valueNoYesYes
Where the IP address compares to specific valueNoYesYes
Where the ISP name compares to specific valueNoYesYes
Where the latitude compares to specific valueNoYesYes
Where the longitude compares to specific valueNoYesYes
Where the metro code compares to specific valueNoYesYes
Where the postal code compares to specific valueNoYesYes
Where the region compares to specific valueNoYesYes

Item hierarchy

ConditionXM

Installed with the Sitecore XM topology packages
XP

Sitecore XP configured to run in CMS-only mode
XP
Where the item is the specific item or one of its ancestorsNoYesYes
Where the item is the specific item or one of its descendantsNoYesYes
Where the level of the item compares to numberNoYesYes
Where the item path compares to pathNoYesYes
Where the parent name compares to valueNoYesYes
Where the parent template is specific templateNoYesYes

Item information

ConditionXM

Installed with the Sitecore XM topology packages
XP

Sitecore XP configured to run in CMS-only mode
XP
Where the item ID compares to valueNoYesYes
Where the item name compares to valueNoYesYes
Where the item template is specific templateNoYesYes

Item version

ConditionXM

Installed with the Sitecore XM topology packages
XP

Sitecore XP configured to run in CMS-only mode
XP
Where the item language compares to valueNoYesYes

Marketing Automation

ConditionXM

Installed with the Sitecore XM topology packages
XP

Sitecore XP configured to run in CMS-only mode
XP
Where the contact has previously been in the specific Automation campaign and exited between start date and end dateNoNoYes
Where the contact is currently in the specific Automation campaignNoNoYes
Where the contact is currently enrolled and waiting in the specific activity of the specific Automation campaignNoNoYes

Security

ConditionXM

Installed with the Sitecore XM topology packages
XP

Sitecore XP configured to run in CMS-only mode
XP
Where the current user is anonymousNoYesYes
Where the current user domain name compares to valueNoYesYes
Where the user profile includes a valid email addressNoYesYes
Where the current user name compares to valueNoYesYes
Where the specific field in the user profile compares to valueNoYesYes
Where the specific field in the user profile is not emptyNoYesYes
Where the value in the specific numeric field in the user profile compares to numberNoYesYes
Where the current user is a member of the specific roleNoYesYes

Sitecore query

ConditionXM

Installed with the Sitecore XM topology packages
XP

Sitecore XP configured to run in CMS-only mode
XP
Where the result of the expression query existsNoYesYes

System

ConditionXM

Installed with the Sitecore XM topology packages
XP

Sitecore XP configured to run in CMS-only mode
XP
Where calling the specific script returns trueNoYesYes
Where a condition in the specific rule is trueNoYesYes
When the Content Search feature is enabledNoYesYes
Where the current domain name compares to valueNoYesYes
When the Item Buckets feature is enabledNoYesYes
Where true (actions always execute)NoYesYes

Tracking

ConditionXM

Installed with the Sitecore XM topology packages
XP

Sitecore XP configured to run in CMS-only mode
XP
Tracking is enabledNoYesYes

Venue

ConditionXM

Installed with the Sitecore XM topology packages
XP

Sitecore XP configured to run in CMS-only mode
XP
When the current interaction is at the specified venueNoYesYes
When the current interaction is at a venue in the specified venue groupNoYesYes
When the current interaction is at a venue in the specified venue typeNoYesYes

Visit

Note

Conditions in the Visit group are based on data from both the current and past visits. The default maximum time span covered by the contact profile is 30 days. For conditions that take into account only the historical behavior of the visitor, see the Visitor group.

ConditionXM

Installed with the Sitecore XM topology packages
XP

Sitecore XP configured to run in CMS-only mode
XP
Where at least one of the campaigns in list was triggered during the current visitNoYesYes
Where the specific campaign was triggered during a past or current interaction and when the number of elapsed days compares to number and when the past number of interactions compares to numberNoNoYes
Where the specific campaign was triggered during a past or current interaction and when the number of elapsed days compares to number and when the past number of interactions compares to number and the custom data compares to valueNoNoYes
Where a past or current interaction is on the specific Channel and when the number of elapsed days compares to number and when the past number of interactions compares to numberNoNoYes
Where a past or current interaction is on the specific Channel and when the number of elapsed days compares to number and when the past number of interactions compares to number and the custom data compares to valueNoNoYes
Where the number of engagement value points compares to numberNoYesYes
Where the specific goal was triggered during the current visitNoYesYes
Where the specific goal was triggered during a past or current interaction and when the number of elapsed days compares to number and when the past number of interactions compares to numberNoNoYes
Where the specific goal was triggered during a past or current interaction and when the number of elapsed days compares to number and when the past number of interactions compares to number and the custom data compares to valueNoNoYes
Where the current visit matches the specific pattern card in the specific profileNoYesYes
Where the specific outcome was registered during a past or current interaction and when the number of elapsed days compares to number and when the past number of interactions compares to numberNoNoYes
Where the specific page event was triggered during a past or current interaction and when the number of elapsed days compares to number and when the past number of interactions compares to numberNoNoYes
Where the specific page event was triggered during a past or current interaction and when the number of elapsed days compares to number and when the past number of interactions compares to number and the custom data compares to valueNoNoYes
Where the page index compares to numberNoYesYes
Where the specific page has been visited during the current visitNoYesYes
Where the value of the specific profile key in the interaction profile compares to specific valueNoYesYes
Where the search keywords compares to specific valueNoYesYes
Where the site name compares to valueNoYesYes
Where the traffic type compares to numberNoYesYes
Where a past or current interaction is on the specific venue and when the number of elapsed days compares to number and when the past number of interactions compares to numberNoNoYes
Where a past or current interaction is on the specific venue and when the number of elapsed days compares to number and when the past number of interactions compares to number and the custom data compares to valueNoNoYes
Where the Visit started at one of pages in listNoYesYes
Where the start date compares to dateNoYesYes
Where the referrer compares to specific valueNoYesYes

Visitor

Note

Conditions in the Visitor group are based on historical data accumulated in the contact's profile, which can include data from multiple visits. For conditions that look at the visitor's behavior in the current visit also, see the Visit group.

ConditionXM

Installed with the Sitecore XM topology packages
XP

Sitecore XP configured to run in CMS-only mode
XP
Where the number of the contact's current engagement value points compares to numberNoNoYes
When the current contact is in the specified contact listNoNoYes
Where the visit no. compares to numberNoNoYes
Where the specific tag of the visitor is not emptyNoNoYes
Where the ISP name compares to specific valueNoNoYes
Where the current contact matches at least one of the profile pattern card in listNoNoYes
Where the value of the specific profile key in the contact behavior profile compares to specific valueNoNoYes
Where the value in the specific numeric field in the user profile compares to numberNoNoYes
Where the visitor identification compares to specific valueNoNoYes
Where the specific tag of the visitor compares to valueNoNoYes

xDB

ConditionXM

Installed with the Sitecore XM topology packages
XP

Sitecore XP configured to run in CMS-only mode
XP
xDB is enabledNoYesYes
If you have suggestions for improving this article, let us know!