## What is Event-Based Segmentation?

Event-Based Segmentation allows you to create event based or object based segments. By defining a source of [Contact Event/Object Data](🔗) users will have the ability to create segments that identify target demographics via custom aggregations of these events or objects from within Segment Builder.

This segmentation workflow will allow you to drill down into specific details of a particular event, such as a specific order's products or value. These segments can use both event record data and regular contact properties.

The following guide aims to help you understand the different parts involved in constructing an event-based condition in a segment.

## How to Build a Segment using Events or Objects

There are 3 components to event or object based segments in Simon.

2030


An example of an event-based condition that can be composed from within the Segment Builder

  1. **Aggregates** - These are operations that can be taken on integer fields or to count the number of times an event has occurred for a user. Options include:

    • Number of - used for counting the number of records for a given user, equivalent to a SQL `COUNT`

    • Average of - used for fields defined as an integer (i.e. purchase value), equivalent to SQL `AVG`

    • Sum of - used for fields defined as an integer (i.e. purchase value), equivalent to SQL `SUM`

  2. **Time** - A timestamp clause that defines when the event has occurred. This condition is required for event record types, but not for objects. Timestamps can also be used as additional event properties below, though these will be evaluated alongside the any other event properties with the chosen AND/OR operator.

  3. **Event Properties** - Any additional fields about the event to filter on (i.e. campaign name, product name, store type).

Journeys Two Events

Looking to segment based on a [Journeys Two event](🔗)? You can choose one of these events from the event filer drop-down:

  • Journey Entry

  • Journey Exit

  • Journey Action

  • Journey Experiment Variant Assignment






## Understanding Segmentation Logic

## Event-Based Segment







## Event-Based Segment with a Filter







## Event-Based Segment with Multiple Filters







## Event-Based Segment with Additional Timestamp Filters