View a Segment

Clicking the Segment button at the top of many Matomo dashboards will change the entire Matomo dashboard. Look for the tab that says All Visits at the top of the screen. If you click it and there are no Segments defined, you can get started by clicking “Add New Segment”.

Apply Segment

Clicking on a segment name will update the view. For example, by selecting UK Visitors in the tab, we now have a graph which shows only data for UK Visitors.
Segment Visits Over Time

Apply two segments

You can apply two segments simultaneously:
1. Click any segment in the Segment Tab.
2. Click any other segment in the Segment Tab.

Edit a segment

Click on the Segment button in the top menu to bring up the list of available segments. Then click on the pencil button to the right of the relevant name to load the segment editor. Now you can update your segment details and click the big green Save & Apply button.

Delete a segment

Click on the Segment button in the top menu to bring up the list of available segments. Then click on the pencil button. Click Delete.

Using segments in e-mail reports

It is also possible to create e-mail reports that use a segment. E-mail reports that use a segment will display the segment name at the top of the page.

Segment Email Report

Common segment definitions

Our guide Common segments has instructions for making these common types:
-Customer
-Returning Customer
-Bounced Visits
-Mobile Visits
-Visits from your geographic region
-Search Engines

Setting an Empty String in segments

In some, but not all cases, the Segment definition can include an empty string. Rather than put “” for a blank field you can simply leave the field untouched. Please test, as it only works for some cases.

For example, here is a segment which describes all users who are not signed in with a UserID, by using an empty string in the third field.

Less common segment definitions

If you have an affiliate or partner relationship with another company, you may want to look at visits which click on your partner links. Or, if you use special content features, such as AMP from Google, then you may want to create a segment based on the URL pattern of those visitors.

We are frequently asked whether you can combine one part of the dashboard with another. Segments can usually do this. Make a segment that mimics the first part of the dashboard you are interested in (a URL, a Channel, a Timestamp) and then apply that segment while you view the second part of the dashboard.