Segmentation enables you to gain insights into your data that help you better understand and grow your business.
The segmentation feature enables you to tag and add custom attributes to customer records in ChartMogul through the user interface or via the Enrichment API; using these tags you can create segments and explore your data in more detail than ever. With Segmentation, you can also create complex filters using out of the box attributes added to customers using ChartMogul data.
Using Segmentation has many use cases such as allowing your marketing team to know exactly which campaigns generate the most revenue, to help your sales managers identify top performers and understand what industry segments have the highest customer lifetime value (LTV) to improve targeting, and success teams to understand and prevent churn.
In this article we'll cover:
- Getting started
- Creating a segment
- Understanding available attributes
- Understanding filters and operators
- Saving or clearing a segment
- Selecting and editing segment
- Comparing segments
- Viewing a bar chart
- Stacking segments
- Adding a color label to a segment
- Tagging your customers
Segmentation has two main components, the Segmentation bar and attributes available on user profiles.
The segmentation bar is visible at the top of most pages with the ChartMogul UI, allowing you to create, edit and save segments. On the chart pages, you can also compare saved segments.
On customer profiles, we can see attributes that have been added via one of the available options. We can also add tags to customers manually here that can be used in filters.
Creating a segment
A segment is created by defining one or more filters on your customer base.
You can click on Add filter to see the available segmentation attributes.
Understanding available attributes
Attributes can be divided into these categories:
- Internal attributes defined by ChartMogul
- Metadata imported automatically from your billing system (Stripe and Chargebee customer metadata is imported automatically).
- Tags added manually.
- Added via the Enrichment API.
You can learn more about attributes and how to add them to your users in our customer attributes documentation.
Understanding filters and operators
When you select a filter, it is applied to all your customers by default. After you select what attribute you want to filter by, you will have some operators available that will allow you to set the scope of the filter.
Depending on which attribute you have selected you will be able to access the following operators:
- Numeric – equal to, not equal to, less than, greater than, equal to or less than, equal to or more than
- Date – on, after, before, on or after, on or before, between, is present, not present
- Tags – has all of the following, has at least one of the following, has none of the following
- String – is, is not, contains, does not contain, is present, not present
- Boolean – is true, is false
You can apply multiple filters at the same time to define your segment.
Saving or clearing a segment
Let's say we would like to create a segment of all customers that joined in Q3 2016 that have an MRR of less $100.
We would leave the regional and plan filters untouched and would select the "Customer since" attribute, setting a time range of "2018-04-01 to 2018-06-30". All customers that aren't included in these filters get removed from the dataset being analyzed. We will click on "Add" to lock in the filter selection.
Next, we will add a second filter, select "Current MRR" and the operator "less than" and type 100.
After adding a filter, we will see that two additional options appeared on the right: Save segment and Remove filters.
Removing the filters will reset them and the graph will also return to the default.
When you click on Save segment, a box prompts you to enter a name for the new segment.
Selecting and editing a segment
To select a saved segment, click on Saved segments. A drop-down will show you your created segments as well as some default segments ChartMogul added for you (you can delete these if you like by clicking the 'x' link in the Saved segments dropdown).
When you have selected a saved segment, it will be applied to your customer data. If you have a larger dataset, it might take a moment for your view to update. You will see an Edit option to the right of the segment when it is selected. Clicking on it will allow you to adjust the filters you had set for it. You will have to click on Save to confirm the changes made.
Adding a color label to a segment
You can now change the color of your segment to make it easier to compare segments. To change a color label, click on the little color patch to the left of the name of your segment. A color picker will pop up. Click on the color to confirm your selection.
To compare segments, select a saved saved segment from the "Saved segments" drop-down list or create a new one. Click on "Compare with saved segments" and select a segment for comparison. In this example, we are comparing customers with MRR >100 to customers with MRR <100. We can see in the graph that the majority of the MRR comes from accounts that fall into the <100 MRR segment towards the end of the period analyzed.
Viewing a bar chart
To view a metric as a bar that defaults to a line chart follow these steps:
- Go to a chart in ChartMogul, such as MRR.
- Click Bar at the top left of the chart.
Stacked segments are only available on the MOGUL, Enterprise, and PRO plans.
To stack segments follow these steps:
- Go to a chart in ChartMogul, such as MRR.
- Select a Segment or apply a filter to the chart.
- Next, select another Segment from your Saved Segments, or click New Segment to add another Segment to the chart.
- Click Stacked at the top left of the graph. This option will only become available once two Segments are applied to the chart.
A stacked line chart will be displayed on the graph.
Tagging your customers
You can manually tag your customers from their user profile by clicking into the Tags box and starting to type out the tag you would like to add. If there are any matching tags, they will show up below the field. You can add new tags by clicking on Add YOUR_TAG. Once a tag has been applied to a user, you will be able to use that tag in a filter condition to create a segment.