Shopify FAQ
When are where to use Shopify tags?
In ZigZag, Shopify tags can be used when the Liquid (💧 icon) is available.
Shopify tags can be used in:
- Email templates (in promotional banners)
- Tracking page (in promotional banners)
- Notification Editor (trigger conditions, cancel sending, body text, etc.)
How do I use Shopify tags with Liquid?
All fields with the 💧 icon can contain Liquid.
Liquid can be a little scary at first. But it is really not so complicated! Let us break it down:
- Go to a text box where Liquid can be used (as indicated by the 💧 icon).
- Add the relevant operator in the text box.
The operator will likely be an "if" or "unless" variable:
{% if %}YOUR TEXT{% endif %}
{% unless %}YOUR TEXT{% endunless %}. - Add the variable order.tags.
{% if order.tags %}YOUR TEXT{% endif %} - Add "contains" after order.tags.
{% if order.tags contains %}YOUR TEXT{% endif %} - After "contains", add the tag_name on which the operator variable depends (remember the quotation marks around the "Tag Name").
{% if order.tags contains "tag_name" %}YOUR TEXT{% endif %}
Do not forget to test your Liquid with the preview!
How can I analyse the use of Shopify tags?
Analytics - Create exports containing Shopify tags (among other fields)!
Where? Navigate to:
- Analytics
- Package Reports -> "Create new report"
- In the "Columns" dropdown, select "Custom".
- Check the "Order tags" box plus any other fields you are interested in pulling for this report.
Note: It is not possible to use Shopify tags as filters in dashboards, orders, etc. because Shopify tags are not stored in Elasticsearch (since they are a list of values with the same key).
How can Shopify tags be used on Klaviyo, etc.?
Configure a trigger condition to trigger a tag-based email/SMS
- Open the flow concerned.
- Create/add a trigger split.
- Select zigzag_event.
- Select tags + contains + tag_name
- Type = List
- Continue creating your flow according to the tag you're using.
Display a block in the email template based on a tag:
- Go to your Klaviyo email template.
- Select the block you wish to condition.
- Go to the Display options tab on the left side of the screen and click Create logic.
- Add the condition order.tags contains tag_name in the field that appears.