English
Audiences › Conditions
Structure and evaluation of Conditions
With conditions, you define the circumstances under which a content block is shown. To do this, you define rules that check, for example, a customer’s age, interests or target group membership.
Three terms are important for defining a rule:
- Operator: Defines how the check is made, for example for equality, a greater numerical value or the occurrence of a particular text.
- Cardinality: Indicates whether no, one or several comparison values are required. The term Customer stands for the special case of a check on the entire customer object.
- Data type: Describes the kind of value checked, for example text, number or list. It determines which operators can be used.
How to define a rule
- Select the field whose value is to be checked. When checking target group membership, the customer as a whole is considered.
- Select an operator that matches the data type.
- Enter the required comparison values or select the relevant target group. Operators with the cardinality Zero do not require a comparison value.
A content block is only to be shown to customers who are at least 18 years old. To do this, select the age field, the operator Greater Or Equal and the comparison value 18. The field must contain a numerical value and therefore correspond to the data type Number. As exactly one comparison value is required, the cardinality is One.
Combining several rules
If a condition contains several rules, the selected link determines when the content block is shown:
every: All rules must be met. This corresponds to an AND link.
any: At least one rule must be met. This corresponds to an OR link.
Check the condition with suitable test contacts before sending. Include both contacts who meet the conditions and contacts for whom the content block should not be shown.
The following subchapters explain the available operators, cardinalities and data types using tables and examples.
Topics in this chapter
Condition operators
All operators with cardinality and matching data type.
Condition cardinalities
How many comparison values an operator requires.
Condition data types
Which data types can be checked.