A segment in CleverTap is a group of users whose actions performed, actions not performed, or user profile properties match a set of defined criteria. For example, a segment can be users who launched the app for the first time in the past 30 days. A more complex segment could be users who live in New York, were acquired via a Facebook campaign in April, transacted three or more times in May and June, and have not transacted in the past two weeks.
After you have identified segments of interest, you can save and then target them with any type of messaging campaign. You can also trend segments over time to understand how a segment behaves in response to your marketing initiatives. The entire CleverTap dashboard can be filtered by any segment you create including any of our analytics features.
There are two types of behavioral segments in CleverTap: Past behavior segments and Live segments.
Past behavior segments are users grouped by their actions in the past.
You can group users based on a single activity (that is, all my users who launched the app in the past 30 days) to complex combinations of actions, inactions, and user properties.
While past behavior segments let you evaluate users based on historic criteria, live user segments let you track what is happening in your app right now.
When you define a set of behaviors of interest, CleverTap monitors for these behaviors as they happen in your app, and immediately adds a user to a segment the moment their behavior matches your action criteria.
You can create live user segments for a single activity (booked a movie ticket), inaction (did not buy a movie ticket in a certain time), off of date/time properties of events, or website-related actions such as page visit, count, or referrer.
The following are system-defined user segments that are available for your use:
- All Users: This user segment contains all the users available to your account.
- Test Users: This user segment contains the users who you can test for your campaign response. A campaign or journey can now be tested on this Test Users segment before it is sent to an actual segment. The Test User segment is available by default for engagement and UI experiences.
To create new segments, navigate to Segments under the Segmentation tab on the dashboard.
Click the + Segment button.
The main segment creation page displays a list of options for types of past behavior and live user segments. Select an option based on the required segment.
Past Behavior segments can be based on:
- Past user actions ( for example, users who added a product to the cart in the past 30 days)
- Past user action/inaction combination (for example, users who added a product to the cart but didn’t purchase in the last 30 days)
- Past user action/inaction combination along with common user properties (for example, platinum-level users who added a product to the cart but didn’t purchase in the last 30 days)
Live User segments can add users to the segment as soon as users qualify based on the following:
- Single action (for example, users who have added a product to the cart)
- Inaction within time (for example, users who have added a product to the cart but did not purchase within 10 minutes of adding product to the cart)
- On a date/time, (for example, users who have an appointment five days from today)
- Page visit (for example, users who have visited a certain URL on your website)
- Referrer entry (for example, users who have visited your website via a certain external referrer URL)
- Page count (for example, users who have visited a certain number of pages on your website)
The Segments list page shows all existing segments available for you. You can choose to do various tasks with these listed segments.
Segment list page
To create a live segment with CleverTap, choose any of the options underneath Live user segments from the main segment creation page.
For instance, in the current example, we will create an Inaction within time segment for which users will qualify in realtime, as soon as they add a product to cart but do not purchase the product within 10 minutes (the golden window within which most users transact on our iOS and Android app platforms).
Select the Inaction within time box, which displays the following page where you can set up the segment as follows.
The user can choose to check the Filter on past user behavior and common properties checkbox to apply past action, inaction, or common user property filters.
The next step would be to click Save segment, name the segment, and then see it show up in the main Segments menu by its name, which in this case is “Added to cart but no charge 10 mins.”
Segment Naming Best Practices
Convey the core meaning of the segment while keeping the name brief.
The top portion of the live user segment report consists of a way to first Show segment definition to understand its underlying query.
There are also two graphs:
- One on the left-hand side showing the plot of the number of users who qualified for the segment going forward from the first complete day post-segment creation.
- One on the right-hand side showing the real-time rate at which users are qualifying for the segment (vs. all user activity on your app/website).
The lower portion of the live user segment report consists of a list of sample users trickling into your segment in real-time on the right-hand side.
It also shows the reachability percentages for these users within each messaging channel on the left-hand side.
The lower-most part of the report shows you how to do more with this segment by either filtering relevant analytics dashboard views by this particular user segment or reaching out to this segment via relevant messaging channels.
To create a Past Behavior segment with CleverTap, choose any of the options underneath Past behavior user segments from the main segment creation page.
For example, we will create an Action based segment where users will qualify if they have applied a payment offer at least one time in the past 30 days.
Select the box Action, which takes you to the page where you can set up our segment as follows.
The next step would be to click Save segment, name the segment, and then see it show up in the main Segments menu by its name, which in this case is Frequent Buyers.
The top portion of the past behavior user segment report consists of a way to first Show segment definition to understand its underlying query. There are graphs on the left-hand side showing the plot of the number of users who qualified for the segment going forward from the first complete day post-segment creation. The list on the right-hand side shows the sample list of users who qualified for the segment on this day.
The lower portion of the live user segment report consists of reachability percentages for these users within each messaging channel. The lower-most part of the report shows you how to do more with this segment by either filtering relevant analytics dashboard views by this particular user segment or reaching out to this segment via relevant messaging channels.
Under the Do more with this segment section, you have the option to view an analytics report. This will be for the chosen segment alone and not your entire user base.
Analysis dashboard views have the following filter at the top to enable this:
Realtime dashboard views such as the Today dashboard only enables filtering by Live User segments. Analytics based on past behavior such as Mobile App, Revenue, Funnels, Cohorts, Trends, and Events will only enable filtering their stats by Past Behavior segments.
Under the Do more with this segment section, under Engage, you have the option to create a campaign to message a specific segment.
This immediately takes you to the messaging channel with your segment criteria pre-populated in the target.
You can simplify complex queries by including or excluding the existing user segments. Create segments with complex conditions once and then reuse them in different scenarios.
You can create powerful segmentation that is valid for a variety of scenarios.
There may be instances when you want to exclude some users based on specific criteria.
For example, you want to offer discounts to all the users who have expressed interest by adding the product to the cart in the past 30 days; however, you want to save your engagement dollars by excluding the power users.
The parameters for these power users can be the following:
- Users who have charged three times in the past three months, and
- Users who have launched the app 15 times in the past month, and
- Users who rated a product 10 times in the past year
Now you can create a segment with these criteria called Power Users and use it every time rather than creating a complex query each time. You can save all these parameters in a segment called Power Users and exclude them from the discount message.
The following is a campaign query for an e-commerce app that excludes the Power Users segment.
There may be instances when you want to include some users based on specific criteria.
Consider the example of a ride-hailing app. You want to nudge your users to enroll for a monthly pass as soon as they open the app. The parameters for these users can be the following:
- The users must be power users, and
- The users have booked more than five rides in a month, and
- They belong to select cities in the country
Now you can create a segment with these criteria called Power Users and using it repeatedly rather than creating a complex query each time.
The following is a campaign query for a ride-hailing app that includes the Power Users segment.
Include and Exclude Segments
- You can include and exclude segments in the same query. It is considered as an AND condition between the two segments.
- The include and exclude segments are currently unavailable for bulletins and A/B Testing.
- The segments available for including or excluding users can only be of the type PBS segment.
AND By behavior filters provide customers the ability to segment users based on the count, average, or total sum of a property value.
The Count filter allows customers to filter users by event count. The query finds all users who performed a Charged event greater than five (5) times in the past 30 days.
The Average of property filter allows customers to filter users by the average of a chosen event property. The query finds all users who performed a Charged event such that the average Revenue event property per event is greater than $10.
The Average of property filter allows averaging the value of the selected event property. For example, you can find out the average revenue earned from all users who performed purchases worth $10 or less. Let us assume that 5 users charged for each for $3, $5, $7, $2, and $8. The average value of all the purchases lower than $10 is ($ 3+ 5 +7+2+8)/5 events = 25/5= $5 per event.
Let us assume that the value for 2 charged events is missing. The charged event values received are $3, $5, and $7. The value of the missing events will be considered as “0”. The average of property is now ($3 + 5 +7 +0 +0)/5 events = 15/5 =$3 per event.
If you want to exclude all the events that do not have event properties, you can select the property exists condition in the Filter by section.
The Total sum of property filter allows customers to filter users by the sum of a chosen event property. The query finds all users who performed a Charged event such that the Revenue event property is greater than $10.
Include users who did not do the event
If the query is to find people who performed the charged event fewer than five times, by default, the users who have not performed the charged event are not included in the result set. Only the users who did the charged event but did it fewer than five times are included; however, if the checkbox for Include users who didn’t do the event is selected, those users are also included in the result set. The same is true for sum and average.
Updated 4 months ago