Unlike traditional subscriber lists, segments are groupings of contacts defined by a set of conditions. Lists are static, meaning they grow as people subscribe or are manually added. Segments, on the other hand, are dynamic, meaning they grow as people meet the segment's conditions and shrink as people no longer meet them.
Highly segmented campaigns return more than 3X the revenue per recipient as unsegmented campaigns. Klaviyo's segment builder allows you to create cross-sections of your contacts that will update in real-time. Below are a few examples of how you might use segments to identify different audiences:
- Customers who purchase a new product, so you can watch the segment grow after launch
- Inactive subscribers who have been on your list for at least 6 months but have never opened or clicked an email
- VIP customers, which includes everyone who has purchased at least X number of times before or have spent over Y amount of money
- Customers with a high predicted customer lifetime value (CLV) who are likely going to be future VIPs
When you build a segment with a certain set of conditions, it will pull from all of the contacts in your account. This means that segments don't necessarily have opt-in criteria in order for people to be added, which is important to keep in mind when you're planning on emailing a particular segment.
Create a Segment
Navigate to the Lists & Segments tab in your account and click Create List / Segment in the upper right corner of the window. Next, choose Create a Segment on the creation page.
After clicking Create a Segment, you'll be taken to the segment builder.
When building a segment, you can use the following conditions:
- What someone has done (or not done)
Here, you can choose from any activity tracked by Klaviyo -- we call all activities "events" or "metrics"; to see a list of all metrics being tracked in your account, click here.
- Properties about someone
Here, you can choose to segment based on attributes associated with profiles in your account -- custom properties can be assigned via an integration, or you can add properties to profiles manually.
- Where someone is located
When targeting customers in the US, EU, or Canada, this option allows you to segment based on a certain radius of a specific zip code.
- If some is or is not in the EU (GDPR)
This option allows you to exclude people from the EU from a particular segment if you haven't collected GDPR compliant consent.
- If someone is in or not in a list
This option is great if you want to combine two or more lists or create a segment of a specific list, which is a best practice when sending campaign emails.
- If someone is or is not suppressed
If you plan on sending a campaign email to a segment, another best practice is to add this condition and exclude everyone who is suppressed in your account; this will give you a more accurate count of not only who meets your segment's conditions, but also which profiles are email-able.
- Predictive analytics about someone
Please note that you will only see this condition if you meet the criteria outlined in this article. Predictive analytics allow you to segment based on CLV, which in turn can help you identify customers who are likely to become repeat purchasers, who are not likely to purchase again, and more.
Filtering a Segment Condition
When building a new segment around what someone has done (or not done), you will have the opportunity to filter this action to refine your segment. You can do this by first choosing an action, and then selecting the Add Filter option.
When you choose Add Filter, you will first see an input that says Choose Property and then another input that says Choose Value:
- When you click within this empty Choose Property field, a drop-down menu will appear. This drop-down menu will populate with all top-level properties available for segmentation.
- After choosing a property, you will be prompted to choose a value that you want to add a filter to. A drop-down menu will also populate here with available values. A value will only be pre-populated if it has been synced to Klaviyo along with an order, or another tracked event.
While Klaviyo may sync many details about a given metric, not all synced properties are available for segmentation. For data management purposes, only the primary details of an event are synced as "top-level" properties, and only these top-level properties are segment-able.
If you view the raw data Klaviyo syncs for an event, you will see key data points for the event. For a Placed Order event, for example, you may see the following top-level properties:
- Collections / Categories
- Item Count
- Source Name
You will see an array labeled "Extra" or "Details." While the data within an "Extra" or "Details" array is available to insert within an email template, properties nested within this array will not be segmentable.
Using AND vs. OR to Join Conditions
Using the AND connector between conditions will make a segment more exclusive. We will check each condition separately AND individually, but each condition must evaluate to true in order for someone to be included. Someone must meet all of the segment's conditions in order to be added.
In the following example, only those that are in our newsletter list AND also have placed an order at least once before will be included. So, if someone is in our newsletter list but hasn't placed an order, they will not be included.
Using the OR connector between a sequence of segment conditions will make the segment more inclusive. We will check each condition in the sequence individually, meaning someone only has to meet one of the segment's conditions in order to be added.
In the following example, anyone who is in our newsletter list OR anyone that has placed an order at least once before will be included. So, this segment will capture everyone who is in our newsletter list as well as anyone who has ever placed an order, even if there is no overlap between them. Someone could place an order and not be on our newsletter list, and vice versa, and still be included in the segment:
When using OR connectors, it's especially important to keep an eye on segments with negative conditions, i.e. someone has done X zero times over all time. Let's say, for example, that we'd like to create a segment of people who don't live in the US or Canada.
If we use an OR connector, contacts only have to meet one of the conditions in order to be added, not both. Someone who is in Canada, or Mexico, or Italy, and so on, is not in the US. So, people from Canada will fulfill this first condition, and therefore be added to the segment even though they don’t meet the second condition. Likewise, for the second condition, someone in the US is not in Canada, since no one can be in two places at once. So, people from the US and Canada and every other country in the world will also be added to this segment.
In this case, we would need to use an AND connector in order to build a segment that excludes people from the US and Canada. This is often true with any segment containing negative conditions, so be sure to double check your ANDs and ORs.
If you’re not sure which connector to use when building a segment, take a look at the number of people who are added to the segment and assess if this number seems correct -- if you use OR when you should instead use AND, this number will likely be much larger than you expect. Additionally, you can spot-check the members of the segment and make sure they meet the conditions you’re looking for. If they don’t, there may be an error in the way the segment was set up.
How to Segment Your Audience
When to Use a Segment vs. a Flow
Segments are great tools to identify cross-sections of your audience to send one-time campaigns to. While it is possible to build a flow that is triggered by being added to a segment, the same filtering and targeting options that you have in the segment builder are also available within the flow builder.
For example, if you would like to trigger an email when buys a specific product, you can accomplish this by creating a flow that is triggered by the Placed Order event, and then add a Trigger Filter to the flow to only include people who purchased the specific item.
Any segment that leverages the metrics from the What someone has/has not done dropdown can also be built using a metric-based flow. Likewise, Properties about someone targeting options are available as Flow Filters.
Not sure which segments to start with?
- Use engagement tiers to identify different levels of interest within your audience, and then market to these segments accordingly.
- Check out our guide to list cleaning to suppress any unengaged subscribers and ensure that your deliverability remains strong and your emails make it to the inbox.
- Create email frequency segments to market to people based on how often they'd like to hear from you. This helps you keep contacts engaged by letting them choose how many emails they get.
- Segment based on someone's predicted customer lifetime value (CLV) to identify your future VIPs.
- Learn just how powerful segments can be with our Segmentation for Ecommerce Benchmark Report.