Overview

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.

Types of Segments

There are two types of behavioral segments in CleverTap: Past behavior segments and Live segments.

Past Behavior Segments

Past behavior segments are users grouped by their actions in the past.

You can group users based on a single activity to complex combinations of actions, inactions, and user properties.

👍

Past Behavior Segments Example

An example would be to segment by all my users who launched the app in the past 30 days.

Live User Segments

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.

System User Segments

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.
1208

Segments - Overview

Create Segments

To create a new segment, , perform the following steps:

  1. From the dashboard, navigate to Segments > Segments.
  2. Click + Segment.
1396

Create Segment

  1. 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.
1199

Past Behavior 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 did not 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 did not 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)

Segment List Page

The Segments list page shows all existing segments available for you. You can choose to do various tasks with these listed segments.

1221

Segment List

Create Live User Segments

Live user segments can add users to the segment as soon as users qualify based on the following:

  • Single action: users who have added a product to the cart.
  • Inaction within time: users who have added a product to the cart but did not purchase within 10 minutes of adding a product to the cart.
  • On a date/time: users who have an appointment five days from today.
  • Page visit: users who have visited a certain URL on your website.
    • Referrer entry: users who have visited your website via a certain external referrer URL.
    • Page count: users who have visited a certain number of pages on your website.

In this example, we can create an Inaction within time segment for which users will qualify in real-time as soon as they add a product to cart but do not purchase the product within 10 minutes.

📘

Golden Window for Mobile Transactions

The golden window within which most users transact on our iOS and Android app platforms is within 10 minutes.

To create a live segment with CleverTap, perform the following steps:

  1. From the dashboard, navigate to Segments > Segments.
  2. Click + Segment.
  3. Under Live user segments, select the Inaction within time box.
1207

Create Live User Segment

  1. Select the appropriate properties for your live user segment.

You may choose to select the Filter on past user behavior and common properties checkbox to apply past action, inaction, or common user property filters.

  1. Click Save segment.
1403

Save Segment

  1. Name the segment, then click Save.

📘

Segment Naming Best Practices

Convey the core meaning of the segment while keeping the name brief.

  1. You can now see your new segment in the main section as Added to cart but no charge within 10 minutes.
1396

View Created Segment

View Live User Segment Reports

To view a live user segment report, perform the following steps:

  1. From the dashboard, navigate to Segments > Segments.
  2. Search for the segment you are looking for, then click on it.

At the top of the report, you can click View segment definition to understand more about the underlying query.

The two graphs describe the following:

  • The left-hand side shows the plot of the number of users who qualified for the segment going forward from the first complete day after creating the segment.
  • The right-hand side shows the real-time rate at which users are qualifying for the segment vs. all user activity on your app/website.
1272

Segment Reports

  • 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.
1269

Segment Size and Reachability

  • The lower-most part of the report shows 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.
1266

Sample Users

Create Past Behavior Segments

To create a past behavior segment, perform the following steps:

  1. From the dashboard, navigate to Segments > Segments.
  2. Select any of the options underneath Past behavior user segments from the main segment creation page.

For example, we can 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.

  1. Select the box Actions which takes you to the segment setup page.
1228

Create Past Behavior Segment

  1. Click Save segment and name the segment. You can now view your new segment on the overview page.

View a Past Behavior Segment Report

The top portion of the past behavior user segment report consists of a way to first view the 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.

1204

Segment Trend

You can also mark a particular past behavior segment as a Precomputed Segment. Precomputed segments are the past behavior segments computed every three hours, providing you with a more recently updated user set to engage with.

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.

1206

Segment Size and Reachability

View Analytics Filtered by Segment

Under the Do more with this segment section, you have the option to view an analytics report. This is for the chosen segment alone and not your entire user base.

Real-time dashboard views such as the Today dashboard only enable 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.

Create Campaigns for a Chosen Segment

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.

617

Create Campaign from Segment

Include and Exclude Segments

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.

715

Include and Exclude Segments

Exclude Segments

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.

1050

Exclude Segments

Include Segments

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.

1067

Include 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.

Additional AND By Behavior Filters

AND By behavior filters provide customers the ability to segment users based on the count, average, or total sum of a property value.

Count

The count filter allows customers to filter users by event count. The query finds all users who performed a Charged event greater than 5 times in the past 30 days.

1192

Count Filter

Average of Property Filter

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 that exists a condition in the Filter by section.

1192

Average of Property Filter

Total Sum of Property

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.

1194

Total Sum of Property Filter

📘

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.

1187

Include Users Who Did Not Do an Event