Based on frequent client requests and support tickets, we'll continue to add examples to this page to help you best utilize Zephyr's power. Don't see something here? Let us know!
For use in email templates/campaign emails.
You want to:
Include a certain part of template code/text only when a user is a member of a particular list.
Scenario:
In this example, we want to display a particular section of HTML when a user is a member of a list in our account called "Master List".
Use:
{if contains(profile.lists, 'Master List')}
<h2>You're also subscribed to our main deals! Awesome!</h3>
{/if}
For use on our Hosted Pages platform.
Use:
Include a selection of code based on the list used to mail a user.
Scenario:
You may host multiple brands on your account and would like a particular logo to display on an opt-down page, dependent on the list used to send a given campaign. In this example, we want an image to appear on the opt-down page when "Master List" members are sent a campaign and click through to the opt-down page.
Use:
{if blast.list == 'Master List'}
<img src="http://www.mydomain.com/logo.gif"/>
{/if}