Create & Preview an Email Template with Dynamic Content
Last updated
Was this helpful?
Last updated
Was this helpful?
Dynamic Content is a feature that allows you to personalize your emails depending on the recipient's attributes. You don't need to create separate email campaigns for separate audiences. You can have one template with design blocks for 2 separate recipient groups (as in the example below) and send it out, saving your time.
Let's look at the following example divided by gender and location.
Women in the US should receive an email that is relevant to them
Men in the UK should receive one relevant to them.
You can set the display condition for each block from the bottom left icon. Or you can access it from the right side panel of the template editor console – ‘Add Display Condition’.
Another option is that you can find it on the selected block itself as a tick mark to the bottom left of it.
Create different versions of a block that you want to test in the same email template.
Select the block which you want to display for audience 1.
Click Add Display Condition section on the right hand panel.
Enter a label for the condition in the Label field.
Click Add Filter.
Then click Select Field right below that.
Select from Contact Attributes. With this option you can serve different emails to different contacts based on information about them, like their location, age etc. As in the example above, you can have different product catalogues and the corresponding messaging for males in USA and females in the UK.
To do this, follow these steps.
Click Contact Attributes.
Click the next dropdown and select Gender.
Click In.
Select Female and click the green tick.
Click the Select dropdown.
Select Contact Attributes again and select Location.
Set the location for females: United States and click the green tick .
Similarly, you can create the conditions for the UK-based male audience (audience 2):
Select the block which you want to display for the audience 2.
Click on Display Condition
Set the right conditions for the UK-based male audience (audience 2).
Using AND/OR Logic for Content Targeting
The AND/OR selector helps you combine multiple conditions for precise content targeting.
AND Logic Example: To show content only to contacts who meet ALL of these criteria.
OR Logic Example: To show content to contacts who meet ANY of these criteria.
Results
Here’s what the 2 different contact segments would receive in their inbox.
After you create an email template with dynamic content blocks, you can preview the variants in the Preview mode.
You can preview how the email will look for two different audience segments with dynamic content sections.
Click the preview icon.
Click the Email Preview radio button.
Select the first variant.
Click Preview. You can see the template preview for the first audience segment.
Click the cross icon to exit the first preview.
Click the preview icon.
Deselect the first variant and select the second.
Click Preview. Now, you can see the template preview for the second audience segment.
Once you’re done creating your template, you can preview it, download as a .html file or save it.