Understanding the order of operations in conditions

In XM Cloud Pages Personalize, the order and hierarchy of the conditions that build an audience determine the way the audience is calculated. The following steps describe the personalization journey:

  1. When the outcome of a condition (or group of conditions) is evaluated to true for a given site visitor, the evaluation stops and the visitor is assigned to the relevant audience.

  2. Personalized content is displayed according to the audience the visitor is assigned to.

  3. At every page visit, the audience is reevaluated. For example, if after browsing your site, a page views condition changes and evaluates to true, the visitor might now be assigned to a different audience.

Audience builder operations are evaluated in the order in which they appear, while applying the following logic:

  • Group - conditions within the group are evaluated first according to their order.

  • And - conditions that are preceded by the AND operator are evaluated next.

  • Or - conditions that are preceded by the OR operator are evaluated next.

Tip

After adding and defining conditions, use the Preview option to understand how the audience will be built.

Do you have some feedback for us?

If you have suggestions for improving this article,