You will learn
Learn about how to use Shopify tags to filter customers in Klaviyo. Shopify's customer tags are assigned as custom properties on each customer’s Klaviyo profile. These profiles sync into Klaviyo through your Shopify integration.
Before you begin
Knowledge Check
If you have not already, read our article on Getting started with Shopify for step-by-step instructions on integrating, before continuing with this article.
About Shopify tags in Klaviyo
Klaviyo creates a single "Shopify Tags" property, which is stored as a list data type. This is because, when these tags are used, there are often several tags applied to the same customer.
The difference between lists and strings is that the string data type is used to collect a single word or single phrase, while the list data type is used to collect an array of words or phrases, where each item in the array can be identified individually. When using the Shopify Tags property in a segment or filter, you can include as many available tags as you'd like, using multiple conditions.
Segment people associated with a single Shopify tag
To create a segment of customers associated with a single Shopify tag:
- In Klaviyo, click the Audience dropdown and select Lists & Segments
- Click Create List/Segment and select Segment
- Name your segment
- Under Definition, choose Properties about someone > Shopify Tags.
- The Type field will then automatically set to List.
- Type the name of the tag you'd like to use in the box after 'contains'
- Click Create Segment
Segment people associated with multiple Shopify tags
To create a segment of customers associated with multiple Shopify tags:
- In Klaviyo, click the Audience dropdown and select Lists & Segments
- Click Create List/Segment, and select Segment
- Name your segment
- Under Definition, choose Properties about someone > Shopify Tags
- The Type field will then automatically set to List.
- Type the name of the first tag you'd like to use in the box after 'contains'
- Click And
- Add another condition for each tag you would like to use, just like you did the first one
- Click Create Segment.
Segment people without a Shopify tag
You might want to create a segment of people who are not associated with a specific Shopify tag. To create this segment:
- In Klaviyo, click the Audience dropdown and select Lists & Segments
- Click Create List/Segment and select Segment
- Name your segment
- Under Definition, choose Properties about someone > Shopify Tags
- Update Type to Text
- Choose the option is not set
- Click Create Segment
Use Shopify tags in a flow filter
You can also use Shopify tags within a flow filter, just like you did when building a segment.
- When editing the flow filter, select Properties about someone > Shopify Tags > contains
- Select the tag you wish to use as your filter
- Make sure Type is set to Text