Skip to main content

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:

  1. Go to a text box where Liquid can be used (as indicated by the 💧 icon).
  2. 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 %}.
  3. Add the variable order.tags.
    {% if order.tags %} YOUR TEXT {% endif %}
  4. Add "contains" after order.tags.
    {% if order.tags contains %} YOUR TEXT {% endif %}
  5. 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:

  1. Analytics
  2. Package Reports -> "Create new report"
  3. In the "Columns" dropdown, select "Custom".
  4. 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

  1. Open the flow concerned.
  2. Create/add a trigger split.
  3. Select zigzag_event.
  4. Select tags + contains + tag_name
  5. Type = List
  6. Continue creating your flow according to the tag you're using.

Display a block in the email template based on a tag:

  1. Go to your Klaviyo email template.
  2. Select the block you wish to condition.
  3. Go to the Display options tab on the left side of the screen and click Create logic.
  4. Add the condition order.tags contains tag_name in the field that appears.