Group visitors into segments

Analytics new

Needed permissions: owner, manage, edit & publish or edit

When working with web analytics, you will see lots of reports with combined data about visitors. For example, you’ll see the total number of people who viewed a pricing page but you won’t know who those people are. It’s like looking from a plane high in the air at people on the streets.

With segments, you can group visitors with similar characteristics together and see how they behave from up close. For example, you can group visitors to new and returning ones and observe how differently they move on your website.

There are dozens of conditions by which you can define your segments. So before you start, think which data are important for your website (hence your business). Remember that segmentation lets you easily slice visitor’s data to look at each bite separately.

Now, let us show you how to create and apply segments.

Before you start

Here are some things to know about segments before you begin creating them:

  • You can create as many segments as you want to.
  • You can create a segment that will be visible only for you or for all users. 
  • You can set a segment to be visible on all your websites.
  • The segment will work for historical data.
  • You can copy a segment to other websites.
  • Segments created in the Analytics (classic) won’t appear in the Analytics (new), and vice versa.

Create a new segment

To build a new segment, follow these steps:

  1. Go to Menu > Analytics (new).
  2. At the top of any open tab like Dashboards, Reports, Custom Reports, Goals, or Ecommerce you will find segments. Click the + button.
    Segments in Piwik PRO

    Note: You can also access segments under Menu > Analytics (new) > Settings > Segments.

  3. Click Manage segments.
  4. Click Add new segment.
  5. Name the segment.
  6. Choose the Visibility option: Author or All users. The All users option lets you share this segment with other teammates.
    Segments in Piwik PRO
  7. If you want to have this segment available on all websites, mark All websites.
    Segments in Piwik PRO
  8. On the right, pick the dimension that you want to use and drag it to the drop-in section.
    Segments in Piwik PRO
  9. Set the condition. For example, Page URL contains https://clearbank.com/blog.
    Segments in Piwik PRO
  10. Optionally, drag and drop more dimensions and set conditions.
  11. When you’re done, click Create segment.

Use segments in reports and on dashboards

When you have segments ready, you can apply them to your dashboards, core reports, and custom reports.

To use a segment, follow these steps:

  1. Go to Menu > Analytics (new).
  2. Navigate to DashboardsReportsCustom ReportsGoals, or Ecommerce.
  3. Pick the report you want to view.
  4. On top, click All visitors.
    Segments in Piwik PRO
  5. Pick the segment that you want to use and view the report.
    Segments in Piwik PRO

Now, if you want to compare two segments, follow these steps:

  1. Apply the first segment as described in the previous section.
  2. Click + button.
    Segments in Piwik PRO
  3. Pick the segment that you want to compare with the first one and view the report.
    Segments in Piwik PRO

Copy a segment to other websites

To copy a created segment to one or more other websites, follow these steps:

  1. Go to Menu > Analytics (new).
  2. Navigate to Settings.
  3. On the left, click Segments.
  4. Click the three-dot icon next to the segment that you want to copy and click Copy segment.
    Segments in Piwik PRO
  5. Optionally, rename the segment.
  6. Choose Copy segment to other websites and select websites for which you want to copy the segment.
    Segments in Piwik PRO
  7. Choose the Visibility option: Author or All users. The All users option lets you share this segment with other teammates.
    Segments in Piwik PRO
  8. When you’re done, click OK.
  9. Your copied segment will appear on the segment list on the website you copied it to.
    Segments in Piwik PRO
Was this article helpful?

Technical Support

If you have any questions, drop us a line at support_SPC@piwik_SPC.pro.

We’re happy to help!