Adding conditional text
The email editor also comes with predefined templates for conditional text blocks, which you can apply to any text content. To add conditional text, proceed as follows:
- Place your cursor in the text block where you want to add the conditional text.
- Click the Conditional text icon.
You can choose from the following conditional templates:
Decide by gender
With this option, you can display text targeted at customers based on their gender. You can also personalize this conditional.
Decide by email address
With this option, you can define conditional text based on an exact or a partial match for the contact's email address. You can also personalize this conditional.
Decide by country or region
With this option, you can define conditional text based on the recipient's country or region. You can also personalize this conditional.
You can insert the ID of the country or region as stated in the list of all the available values for the single-choice system fields. The IDs for these fields can also be fetched via the Listing available field choices API call. You can define multiple IDs separated by commas.
You can define as many countries or regions as you like, as long as, they are included as IDs in the Country field of the Emarsys database.
Decide by contact field
With this option, you can select from any database field and define conditional text for one single value of that field.