Inserting If-Then Statements in an Email Treatment

The following procedure shows how to insert if-then statements in an email treatment.

To insert if-then statements

  1. Navigate to the Offers screen, then the Email Treatments view.

  2. In the Treatments List, click an email treatment.

  3. Select a template to edit.

  4. From the If Then Rules menu, choose If.

  5. In the secondary menu, choose a merge field to be personalized.

  6. In the tertiary menu, choose a conditional operator.

  7. Click the Value button (the book icon) and enter the value of the merge field to be personalized.

  8. Select a location in the template to insert the personalized If statement.

  9. Click the Insert Rule button (which is a down arrow icon).

  10. Place the conditional content between $(if) and $(endif) tags.

  11. (Optional) Add $(elseif) conditions if more than one iteration of the content must appear.

  12. Place default content after the $(endif) tag.