Add a condition to a headless experience
Feature availability is part of a phased rollout. Your organization may not see this functionality yet. It will become available when your environment is included in the rollout.
Conditions control which visitors qualify for a headless personalization. If you do not add conditions, the personalization can run for any visitor when the trigger is met.
You can use an out-of-the-box condition or a custom condition created in SitecoreAI. You can combine multiple conditions to further refine the audience.
To add a condition:
-
On the Configuration page, in the Filter section, click Add conditions.
-
On the Conditions page, do one of the following:
- Click the plus icon to select an out-of-the-box condition or an existing custom condition.
- Click Create to create a custom condition.
-
Configure the condition.
For example, configure a Country condition, so that only visitors in Denmark qualify.
-
Optionally, add more conditions or condition groups to refine the audience.
NoteConditions reduce the eligible audience. For an A/B test, a narrower audience can increase the time required to reach the calculated sample size.
-
Click Save.
The condition is added to the headless experience, and a summary appears in the Filter section.