In the segmentation explainer, we discussed just what makes a segment and why they’re important for you and your campaigns. In this tutorial, we’ll go about showing you how to actually create a few of those segments.
We’ll start with a basic segment, just to get you familiar with creating a segment in Customer.io, and then ramp up the complexity. So head on to the Segments builder and let’s get started!
For this example, imagine that you have an app in which a key activation step you’d like the customer to take is filling out a profile. So, you’d want to know who hasn’t filled out a profile in your app, and create a segment of those users.
For this example, we’ve identified this user group with incomplete profiles by including anyone whose value for a particular attribute profile_percentage is less than 95. This is what the segment looks like in the builder:
Once you save this segment, we’ll process it, and you’ll be able to see exactly how many people belong to it:
See this segment in use in our onboarding campaign recipe, a drip campaign that encourages users to fill out their profile.
Another basic example is whether or not we’ve sent a user a particular message in the past that we’d like to follow up on. In the following example, my users:
This is a good example of a follow-up message that considers actual behavior. Instead of merely looking at whether someone opened or clicked on an email, we can see whether someone has actually completed the conversion goal of subscribing or not to formulate our communication strategy.
Note! These segments might feel a little abstract, because the attributes you’re sending us might be different. The idea here is to get you familiar with the builder. If you go through all of these and still find that you need help, please let us know.
If you have set up Push or are sending us mobile device data, you can segment your users based on that. Right now, we allow you to create segments based on whether or not they have a device registered with you:
Say we’re an outdoor clothing manufacturer, and we want to send a campaign to people who live in Canada (where it’s cold all the time) and haven’t bought a jacket recently. First, let’s start with identifying folks who haven’t purchased anything:
… followed by clicking Refine and Add filter to identify exactly which purchase they haven’t made. Now we’re looking for folks who haven’t purchased any jacket once within the last 100 days.
This segment relies on specific event data flowing into Customer.io (in this case, for purchase events). First, we want to segment for people who haven’t performed a purchase event with a specific product type, jacket, within the last 100 days. Also, we want to make sure they’re located in Canada, which we do with the country attribute.
When we’re done building all those conditions, the segment looks like this:
The saved segment looks like this:
For our most complex segment, we want to combine and nest a few conditions with a couple of AND and OR operators.
Say we released a new feature. Exciting! Now we want to segment for people in a particular role within their company (designer or marketer) who have used the demo for that feature, but subsequently did not upgrade their account. Maybe that feature hasn’t worked out for them, and they have some valuable feedback.
This is how we’d create this slightly complex segment:
In the builder, this looks like:
Then, after we save it:
If you’ve made a mistake in your segments, or want to move a condition or group within the segment builder, you can do so by dragging and dropping either of them, like this:
You’ll notice on the left side of the condition or group, there is a handle that you can use to pick up and drag the item. In the above example, we drag a single condition into a group, and then save the segment.
If you have any more questions about creating segments, please get in touch. We’re happy to help!