Decision table rules
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.
In component personalization, each row in a component’s decision table is a rule that uses your selected inputs to determine whether a visitor matches.
For each input in a rule, you define:
- Comparator - the operator used to evaluate an input, such as Is equal to or Is in. Available comparators depend on the selected input.
- Value - the specific value the input is compared against, such as a country, device type, or condition result.
For example, if you use Country and Device type as inputs, your rules might look like this:
- Rule 1
- Country is equal to
DE - Device type is in
Desktop,Mobile
- Country is equal to
- Rule 2
- Country is in
US,CA - Device type is not equal to
Tablet.
- Country is in
Each rule appears as a separate row in the decision table and creates a corresponding component variant that you can customize in Page builder.

When personalization is live and a visitor loads the page:
- Rules are evaluated from top to bottom.
- The first matching rule is applied.
- The corresponding component variant is displayed.
- If no rules match, the original component is displayed.
Because only the first matching rule is applied, place more specific rules above more general ones.
Available decision table comparators
The following comparators are available for use when configuring personalization rules in decision tables:
| Comparator | Description | Example use case |
|---|---|---|
| Contains | Value includes the specified text. | Email contains @company.com |
| Does not contain | Value excludes the specified text. | Referrer does not contain linkedin.com |
| Does not end with | Value does not end with the specified text. | Email does not end with .org |
| Does not start with | Value does not start with the specified text. | Referrer does not start with internal- |
| Ends with | Value ends with the specified text. | Email ends with .com |
| Greater than | Value is greater than the specified number. | Number of page views is greater than 10 |
| Is after | Date value occurs after the specified date. | Date of birth is after 2000-01-01 |
| Is before | Date value occurs before the specified date. | Date of birth is before 2000-01-01 |
| Is between | Date value falls within the specified range. | Date of birth is between 01-01-1990 and 12-31-2000 |
| Is empty | Value is empty. | Email is empty |
| Is false | Boolean value is false | Guest birthday is false |
| Is equal to | Value exactly matches a single value. | City equals Copenhagen |
| Is in | Value matches any value in a list. | Device type is in Mobile, Tablet |
| Is in the next | Date value falls within the next number of days, weeks, months, or years. | Date of birth is in the next 30 days |
| Is in the past | Date value falls within the previous number of days, weeks, months, or years. | Date of birth is in the past 7 days |
| Is in the year | Date value falls within the specified year. | Date of birth is in the year 1995 |
| Is not equal to | Value does not match the specified value. | Country is not equal to US |
| Is not in | Value does not match any value in a list. | Country is not in US, UK |
| Is not in between | Date value falls outside the specified range. | Date of birth is not in between 01-01-1990 and 12-31-2000 |
| Is not in the next | Date value does not fall within the next number of days, weeks, months, or years. | Date of birth is not in the next 30 days |
| Is not in the past | Date value does not fall within the next number of days, weeks, months, or years. | Date of birth is not in the past 7 days |
| Is not in the year | Date value does not fall within the specified year. | Date of birth is not in the year 1995 |
| Is not null | Value exists and is not null. | Email is not null |
| Is not on the day | Date value does not occur on the specified day. | Date of birth is not on 01-01-2001 |
| Is now minus | Date value is before the current date by the specified number of days, weeks, months, or years. | Date of birth is now minus 30 years |
| Is now plus | Date value is after the current date by the specified number of days, weeks, months, or years. | Date of birth is now plus 30 years |
| Is null | Value is null. | Email is null |
| Is on the day | Date value occurs on the specified day. | Date of birth is on 01-01-2001 |
| Is true | Boolean value is true | Guest birthday is true |
| Starts with | Value starts with the specified text. | Referrer starts with https:// |