Segments are named groups of people who share characteristics or behaviors. A Segment can have many people and a person can belong to many segments.
You can use segments as recipient lists, campaign triggers, filters, conversion goals and more. Whenever you need to reference a subset of the people in your workspace, you’ll use a segment.
For example, here is the criteria for one of the pre-made segments called, “Have not logged in recently”.
You can create two different kinds of segments in Customer.io. The way people enter and exit your segments depends on the type of segment you create.
Data-driven Segments: People enter and exit data-driven segments automatically when they match and stop matching the conditions that you set for the segment. These segments help you take action based on your audience’s real-time actions. You should use data-driven segments when you want Customer.io to move people in and out of your segments automatically based on the data you send us for each person.
Manual Segments: People enter and exit manual segments when you explicitly add them to, or remove them from, the segment. You might take advantage of manual segments when you want to move people in and out of segments based on business logic outside of Customer.io. You can add people to manual segments through a CSV upload, as part of a campaign workflow, or using our API. You can remove people from manual segments using the “Clear Segment” option, a campaign workflow action, or using our API.
Customer.io shines best when you have an active data integration between your system and ours. This allows you to utilize attributes and behaviors of your end-users to set up automated messaging from our app.
That is the power of Data-driven Segments, and for the most part this is the type of Segment you should be using.
Manual Segments are available in instances where you need more hands-on control of the Segment, you are expecting limited changes or a data integration is not available to you.
Generally we see the description field used to communicate who will match the Segment’s conditions using terms that are unique to the jargon of each company. This is also how we use our own Customer.io account.
The text you enter for the description will be searched when you start typing in the “Find a segment…” box so whatever you put in your descriptions can help people on your team hone in on the Segments they need.
Go to the Segments page to see your active segments. You can page through the list of segments using the , , , and icons.
Go to the Segments page and click Archived to see your archived segments.
Go to the Segments page and search for segments by name or description in the “Find a segment…” box. As you type, the list populates segments with a match in their name or description. You can also filter segments using the drop-down options just above the list.
You can click a specific segment to see specific criteria for the segment, the people currently in the segment, and graphs of membership over time.
- Go to the Segments page.
- Click the segment you want to see information about.
On the Segment Details page, you’ll find:
- Overview: For data-driven segments, you’ll see a collapsed view of the Segment’s conditions. For manual segments, you’ll see a list of CSV imports (if any). For all segments, you’ll see how many people are in the segment and a truncated view from the other tabs.
- People: Displays a count of segment membership over time*
- Usage: Links to campaigns, newsletters, and other assets that use the segment. Alternately, you can create assets based on the segment from here.
- Ad Audiences A list of Ad Audiences that sync with this segment.
When you click a segment on the Segments page, the People chart shows changes in segment membership over the past 30 days. You can also click the link on the chart to see the list of people in the segment.
When you view an individual Segment’s detail page there will be a “People” card with a quick view of the Segment’s membership counts over time.
Clicking anywhere on the chart will take you to the “People” tab for the Segment you are viewing. Here, you can view the total membership counts of the Segment and the change in Segment membership over time.
When a segment has one or more members, you can export a point-in-time CSV file containing a list of the people in the segment.
- Go to Segments.
- Click the segment you want to export a list from.
- Click Export. This starts the export process. You can find and download the CSV on the Exports page.
You might want to archive a segment instead of deleting it to keep a history of the segment or just to make sure that nobody uses it temporarily.
You cannot archive a segment that is currently in use. Check the Usage tab when looking at your segment to see if it’s still in use somewhere in your workspace.
- Go to Segments.
- Click the segment you want to archive or unarchive.
- Click Options and select the option to archive or unarchive the segment.
You can also archive or unarchive multiple unused segments from the Segments page by checking the box next to each segment that you want to archive or unarchive and then clicking Archive or Unarchive.
Automatic segment archiving is currently disabled
Every time data arrives at your account we scan all of your segments to perform updates. To eliminate unused segments and increase your account’s performance, we automatically archive segments that you have not used in the past 60 days. This does not affect campaigns or newsletters using your segment, and you can unarchive a segment at any time.
We consider a segment used if within the past 60 days it is:
- Used anywhere in a campaign
- A target or conversion goal for a newsletter in past 30 days
- Used for an ad audience sync
- Pinned to your workspace dashboard for metrics
- Viewed in People tab with membership metrics
To find your archived segments, go to the Segments page and click the Archived tab. Automatically archived segments are marked Automatically in the Archived on column.
These are some common issues with segments, and tips to help you solve them. If you run into any trouble implementing any of these solutions, reach out to our Support team and link to the specific segment you’re having trouble with.
My attribute value is a collection. How do I create a Segment based on an item in that collection?Attribute values in Customer.io are only simple strings. For convenience, we do, however, make them available in message templates as JSON objects (if it is valid JSON) or as arrays (if it is a valid array) but for segmentation purposes, we do not currently distinguish them as being different data types such as arrays or dictionaries, etc.
When you make changes to your data-driven Segment’s conditions, People who already match the updated conditions will not automatically enter any Campaigns that are triggered by that Segment. Only People who meet the updated Segment conditions AFTER the changes are made will enter the Campaigns. If you need People who already match your new conditions to enter a Campaign, please reach out to support with a link to the Campaign so that we can determine if it will be possible and advisable to force those People to enter your Campaign.
I edited my Segment conditions but People who match the new conditions did not enter a campaign that is triggered by my Segment.
I deleted a Segment but all the People are still in my account.
Deleting a Segment will NOT delete the members of that Segment. Try recreating the Segment and then viewing the People who are in the Segment by clicking on the link in the People section of the Segment’s detail page where it says, “This segment contains # people”. You will be able to delete the People from there.
I am trying to match values that contain a
+ but I am not getting the results I expect.
+ are special operators that allow for simple, regex-like matching. When searching specifically for strings containing these characters, try placing a backslash (
\) before the special operators that you want to find so that they will not be interpreted as regex operators.
I am using regular expressions in my Segment Condition but it’s not working.
Segment Conditions do not currently support the full set of regular expression rules. Try limiting your use to the few special operators we allow for string comparison (
I cannot add a Person to my Manual Segment because they do not exist in my account.
People must exist in your account before they can be added to a Manual Segment. Try adding that person to Customer.io and then you will be able to add them to a Manual Segment.
When you make changes to your data-driven Segment’s conditions, People who already match the updated conditions will not automatically enter any Campaigns that are triggered by that Segment. Only People who meet the updated Segment conditions AFTER the changes are made will enter the Campaigns.
If you need People who already match your new conditions to enter a Campaign, please reach out to support with a link to the Campaign so that we can determine if it will be possible and advisable to force those People to enter your Campaign.