Follow

Using Segmentation

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 and Clearbit 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

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.

In the Segmentation bar there are three selectors available, allowing you to filter by region, subscription plan or a custom filter. The first two filters default to "All regions" and "All plans".

Understanding available attributes

Clicking on "Add filter" will reveal the "Select customer attribute" dropdown. Attributes can be divided into these categories:

  • Internal attributes defined by ChartMogul
  • Metadata imported automatically from Clearbit or Stripe's metadata (ChartMogul does this for you).
  • 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, 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, 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

Lets say we would like to create a segment of all customers that joined in October 2015 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 "2016-07-01 to 2016-09-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: "Save segment" and "Clear filters".

Clearing 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 data set, 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. 

Comparing segments

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 >200 to customers with MRR <200. We can see in the graph that the majority of the MRR comes from larger accounts that fall into the >200 MRR segment. 

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.