---
title: Build an Event Segmentation analysis
slug: analytics/docs/sWH_-build-an-event-segmentation-analysis
docTags: 
createdAt: 2026-07-20T15:45:03.515Z
---

You can create an event segmentation analysis to determine the top categories in which users have played content the most number of times.

1. Go to **+ >** **Event Segmentation**.
2. Name your template, add a description, and choose the folder to place it in.
3. Choose the preferred measure using the selector. For example, choose **Count of Events**.

   ![opti-eseg-1.png](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/wfbNMbXOjFkj0SxteKAWj-20260720-144910.png)
4. Click **+ Add Event** in the **Events** section to select one or more events to analyze. For example, choose **Play Content** from the **Product Events** dataset.
5. Add a filter to eliminate the **Other** category from the analysis.

   ![opti-eseg-2.png](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/Rijhw3xFFQjyh_pCqFU4E-20260720-144909.png)
6. Click **+** under **Grouped by** and choose **category\_id** as the value to group the results by category ID.

   ![opti-eseg-3.png](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/y1rcasM56Juo2djYVA8lq-20260720-144909.png)
7. Set the number of top segments to **100**.

   ![opti-eseg-4.png](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/DRPjj6h1upKSCpEFHwuqJ-20260720-144909.png)
8. Set the time interval to **30 days**.
9. Click **Run** to see the aggregated count of each event segmented by categories.
10. Click **Save**.

    ![opti-eseg-5.png](https://api.archbee.com/api/optimize/BrbvVORKJ5iIeSMZye5kI/tM_ZTbx7b25vNE7tm2ICg-20260720-144909.png)
