Segments
A segment is a subset of your users. For example, of your entire set of users, one segment might be users who come from a same traffic source. Another segment might be users who trigger certain events, for example, made a purchase.
Access Segments
To access Segments, follow below steps:
- Go to Clickstream Analytics on AWS Console, in the Navigation Bar, click on "Analytics Studio", a new tab will be opened in your browser.
- In the Analytics Studio page, click the Segments icon in the left navigation panel.
Create a segment
- Click on Create Segment + button
- Input Segment name and Description
- Specify a Refresh method
- Manual - Segment will be refreshed when user manually triggers refresh
- Automatic - Segment will be refreshed periodically. You can configure interval (e.g., Daily, Weekly, Monthly) and timing (e.g., 8AM).
- Specify Expirations settings. If you specified Automatically as refresh method, you will need to set an expiration date for a segment after which the segment will stop auto refresh.
- Define the segment by adding Filter group.
- You can have multiple filter groups, you can provide a short description for each filter group. Click + Filter group to add filter group.
- Specify time range for your filter group, you can choose relative date range or absolute date range.
- Set up filter by selecting filter type, specifying filter scope, comparison operator, and then provide a value or range of values. For example, to filter users who had made two purchases, you would add a filter and select
User has done
as filter type,purchase
as event andTotal number(PV)
as filter scope,=
as comparison operator,2
a value. - Within a filter group, filters can be evaluated with
AND
orOR
logic, Click on And or +OR to add filter per your need.
- Click Save.
View segment details
- Select a segment, click on the segment name or click on Actions>View Details.
- In the segment details page, you can view the segment settings, user number, and percentage of total user, segment history, and user samples.
- You can download the user list of a segment as a csv file by click on the Export button per each run history.
Filters
Below table describes the available filters to create a segment.
Filter type | Description | Filter scope | Comparison operator |
---|---|---|---|
User has done | Select users had done certain event. | ||
User has not done | Select users had NOT done certain event. | ||
User has done in sequence | Specify an event behavior sequence. Users will only be selected if they trigger these events in the specified order. | ||
User is/User is not | Select users by user attributes. | User attributes | |
User in segment/User not in segment | Select users based on whether user belong to a segment or not. | Segments |