Description
Personalized Tags/ Liquid pills allow you to pull product and customer data without having writing Liquid code.
Example usage:
- Reference customer attributes in email
- Reference product attributes in email (special prices, etc.)
- Reference product name in Subject line for:
-
-
- browse abandonment campaigns
- post-purchase campaigns
-
Note: Liquid pills may not be sufficient when building out more advanced use cases; this is when writing Liquid becomes appropriate
Steps
Please refer to existing documentation regarding Personalized Tags via the link below for more information:
https://support.optimizely.com/hc/en-us/articles/4407268754957
- Click Edit (pencil icon) of an email touchpoint you want to personalize.
- Click the lightning icon for Subject, Preheader, or in the text body (dynamic grid) of the email to insert a personalization tag.
If a dynamic grid is not present, you can click and drag it into your email from Elements > Layouts. Place your cursor or highlight where you want to insert a personalization tag, then click the Lighting icon > Product.
- Place your cursor or highlight text (such as [BRAND NAME]) where you want to insert a personalization tag, then select Lighting icon > Customer Tag. In the following example, you want to personalize the greeting, "Thanks for shopping, {first name}".
- Select the field you want to reference; in this case, First Name.
Optionally set the text format and default value for the tag to use when the customer does not have a value for that field. If you have highlighted text instead of placing the cursor, the highlighted value is automatically set as the default, but you can update as needed.
- Click Save. The field displays.
To complete the form in this example, highlight [BRAND NAME], [ADD CODE], [OFFER], and the second [BRAND NAME], select the lightning icon for each and set the variables.
The email will then pull in the appropriate field value for each personalized tag based on the recipient of the email.
Additional Resources
- Liquid is “an open source template language created by Shopify”
- “Open source”: Engineers can make changes to it and adapt it for their own needs -- we did this
- “Template language”: A nice way to put data on an email/page
- Sources of public documentation:
- Shopify’s: https://help.shopify.com/en/themes/liquid
- Ours: https://support.optimizely.com/hc/en-us/articles/4407775333261-Advanced-Liquid-capabilities-in-ODP
- Ours: https://support.optimizely.com/hc/en-us/articles/4407775274253-Personalize-with-optional-content
- Shopify also has a Github repo for local testing: https://shopify.github.io/liquid/
Please sign in to leave a comment.