Segments let you divide your visitors into smaller groups and analyze them separately in reports and on dashboards. By breaking down your data, you can gain insights that would be difficult to discover when looking at all your data together. For example, you can see specific patterns among visitors who use your site on mobile devices or trends among those who signed up for your newsletter.
In this article, we’ll show you how to create and apply segments.
Before you start
Here are some things to know before you start:
- Segments work for historical data.
- You can create as many segments as you want to.
- You can create a segment that will be visible only to you or to all users.
- You can set a segment to be visible across all your sites/apps.
- You can copy a segment to other sites/apps.
- You can mark a segment with a star to make it appear at the top of the list.
- You can use
AND
andOR
logic operators in segment conditions. - Segments use two scopes: event and session. The scope is applied automatically based on the segment definition, report definition and filters used in a report.
Create a new segment
To build a new segment, follow these steps:
- Go to Menu > Analytics.
- At the top of any open tab (Dashboards, Reports, Custom reports, Goals or Ecommerce) you will find segments. Click the + button.
Note: You can also access segments in Menu > Analytics > Settings > Segments.
- Click Manage segments.
- Click Add a segment.
- Name the segment.
- In Visibility set: Author or All users. The All users option lets you share this segment with other teammates.
- (Optional) Check All sites & apps to make this segment visible across all sites and apps.
- On the right, pick the dimension you want to use and drag it to the drop-in section.
- Set a condition. Example:
Page URL contains https://clearbank.com/blog
.
- (Optional) Drag and drop more dimensions and set conditions. You can use
AND
andOR
logic operators in segment conditions. - When you’re done, click Create a segment.
- (Optional) You can star your segment to make it appear at the top of the list.
- Complete! Your segment is ready for use.
Use segments in reports and on dashboards
Once you have your segments ready, you can apply them to your dashboards, core reports and custom reports.
To use a segment, follow these steps:
- Go to Menu > Analytics.
- Navigate to Dashboards, Reports, Custom reports, Goals or Ecommerce.
- Pick the report you want to see.
- Click All visitors at the top of the report or dashboard.
- Pick the segment you want to use and view your report.
If you want to compare two segments, follow these steps:
- Apply the first segment as described in the previous section.
- Click the + button.
- Pick the segment you want to compare with the first one and view your report.
Copy your segment to other sites/apps
To copy the created segment to other or all sites/apps, follow these steps:
- Go to Menu > Analytics.
- Navigate to Settings.
- On the left, click Segments.
- Find the segment you want to copy in the list, click the ⋯ three-dot icon next to it and click Copy.
- (Optional) Rename the segment.
- Choose one of the following options: Copy to other sites & apps or
Copy to all sites & apps. And if needed, pick the destination sites/apps.
- In Visibility set: Author or All users. The All users option lets you share this segment with other teammates.
- When you’re finished, click OK.
- Well done! The copied segment is now avaliable on the site/app you copied it to.