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
Navigate to the Offers screen, then the Email Treatments view.
In the Treatments List, click an email treatment.
Select a template to edit.
From the If Then Rules menu, choose If.
In the secondary menu, choose a merge field to be personalized.
In the tertiary menu, choose a conditional operator.
Click the Value button (the book icon) and enter the value of the merge field to be personalized.
Select a location in the template to insert the personalized If statement.
Click the Insert Rule button (which is a down arrow icon).
Place the conditional content between $(if) and $(endif) tags.
(Optional) Add $(elseif) conditions if more than one iteration of the content must appear.
Place default content after the $(endif) tag.