Comparison operators for personalization rules

The following examples list the comparison operators available for use in simple personalization rules.

Note: The rules editor features a graphical view and a text view for defining personalization rules. The examples here present the operators as seen in the text view of the rules editor. The operators appear differently in the graphical view, but you apply them in the same way.
Content displays when this condition is satisfied. Operator Example
The field value exactly matches the rule value.

=

==

region = "east"

All recipients in the east region see the content.

The field value does not match the rule value.

! =

accountStatus != "past due"

Content appears to all recipients except those individuals whose accounts are overdue.

The field value exceeds the rule value. >

age > 21

All recipients older than 21 see the content.

The field value is less than the rule value. <

age < 65

All recipients less than 65 years old see the content.

The field value matches or exceeds the rule value. >=

accountBalance >= 25000

Content appears to all recipients with at least $25000 on account.

The field value matches, or is less than, the specified rule value.

<=

claimRate <= 2

Recipients with 2 claims or less see the content.