Personalize your messages with Liquid tags
Liquid tags in Dynosend allow you to dynamically personalize your email content based on contact data. By inserting liquid tags, you can tailor your messages to include specific details like the recipient’s name, email, or other custom fields.
What Are Liquid Tags?
Liquid tags are placeholders that dynamically pull contact data into your emails or other messages. For example:
- {SUBSCRIBER_FIRST_NAME} inserts the recipient's first name.
- {SUBSCRIBER_EMAIL} inserts the recipient's email address.
All the audience's custom fields can be used for liquid tags to personalize you messages.
Where Can You Use Liquid Tags?
You can use liquid tags in:
- Email subject lines or preview headers
- Email body content
- SMS messages
- Slack messages
- Mobile push notifications
- Outgoing webhooks
- Double opt-in & notification emails
- and anywhere else it may apply
Adding Liquid Tags in Dynosend
- Navigate to the drag-and-drop email editor (or any other editor)
- Insert a Liquid Tag by typing it or click on Merge Tags to select your tag
Use the liquid tag format {SUBSCRIBER_<field_tag> }. Replace <field_tag> with the custom field tag you want to add in all caps.
Example:
- {SUBSCRIBER_EMAIL} for the recipient's email address.
- {SUBSCRIBER_FIELD_TAG} for another custom field in audience audience.
Common Errors
- Non-existent fields: Ensure the field you’re referencing exists in your audience and contains data, or else it will be an empty space in your email.
- Improper syntax: Liquid tags must be enclosed in {} and fields should match your custom field tag in all caps.
- Additionally, all liquid tags must start with SUBSCRIBER_
Extra liquid tags
There are certain tags that are not associated with your contacts, which you can find in the merge tags menu.
- {CURRENT_DAY} : Display the current day
- {CURRENT_MONTH} : Display the current month
- {CURRENT_YEAR} : Displays the current year
- {AUDIENCE_COMPANY} : Display's the associated audience's company name
- {AUDIENCE_COUNTRY} : Display's the associated audience's country
- {AUDIENCE_STATE} : Display's the associated audience's state
- {AUDIENCE_CITY} : Display's the associated audience's city
- {AUDIENCE_ZIP} : Display's the associated audience's zip code
- {AUDIENCE_ADDRESS_1} : Display's the associated audience's address one
- {AUDIENCE_ADDRESS_2} : Display's the associated audience's address two
- {AUDIENCE_PHONE} : Display's the associated audience's phone number
- {AUDIENCE_WEBSITE} : Display's the associated audience's website
- {AUDIENCE_EMAIL} : Display's the associated audience's contact email address
- {UNSUBSCRIBE_URL}: Display an unsubscribe URL in emails
- {WEB_VIEW_URL}: Display a web view URL in emails
- {UPDATE_SUBSCRIBER_PREFERENCES}: Display a URL in emails leading to a page allowing your contact to update their information