Definition builder
You use the Definition builder to construct your segment definition. In that construction, you use components, containers, operators, and logic.
You can configure the type and scope of your definition:
- To specify the type of your definition, specify whether you want to build an include or exclude definition. Select
Options and from the drop-down menu Include or Exclude. - Select the scope of your definition from the Include or Exclude drop-down menu: Event, Session, Person, Global Account B2B Edition, Account B2B Edition, Opportunity B2B Edition, or Buying Group B2B Edition.
You can always change these settings later.
Components
A vital part of the construction of your segment definition is using dimensions, metrics, existing segments and date ranges. All these components are available from the component panel in the Segment builder.
To add a component:
-
Drag and drop a component from the components panel onto Drag and drop Metric(s), Segment(s), and/or Dimensions here.
- You can use the
in the components bar to search for specific components. - You can use
in the components bar to filter on Approved, Favorites, Dimensions, Metrics, Segments, Date ranges, and container components (like Products, Content Assets). You can also filter on tags.
- You can use the
-
Specify details for the component. For example, select a value from Select value. Or enter a value. What and how you can specify one or more values depends on the component and the operator.
-
(Optional) Enable the option to Limit results to the reporting date range.
Data in a Workspace report can extend beyond the reporting date range if your segment includes date range components.
Enable this option to limit results to the reporting date range regardless of any date components included in the segment.
This option displays only when Person is selected as the scope (container) of your definition from the Include or Exclude drop-down menu.
-
(Optional) Modify the default operator.
For example, from equals to equals any of. See Operators for a detailed overview of the available operators.
To edit a component:
- Select a new operator for the component from the operator drop-down menu.
- Select or specify a different value for the operator if appropriate.
- If the component type is a dimension, you can define the attribution model. See Attribution model for more information.
To delete a component:
- Select
in a component.
Containers
You can group multiple components in one or more containers and define logic within and between containers. Containers allow you to build complex definitions for your segment.
- To add a container, select Add container from
Options. - To add an existing component to the container, drag and drop the component into the container.
- To add another component to the container, drag and drop a component from the component panel into the container. Use the blue insertion line as a guide.
- To add another component outside of the container, drag and drop a component from the component panel outside of the container, but inside the main definition container. Use the blue insertion line as a guide.
- To modify the logic between components, containers, or a container and a component, select the appropriate And, Or, Then. When you select Then, you turn the segment into a sequential segment. See Create sequential segment for more information.
- To switch the container level, select
Global Account B2B Edition, Account B2B Edition, Opportunity B2B Edition, Buying Group B2B Edition, Event, Session, Person or Object. When you select Object, select the custom container to use. For example, Products or Content Assets.
You can use
| Container action | Description |
|---|---|
| Add container | Add a nested container to the container. |
| Exclude | Exclude the result from the container in the segment definition. A thin red left bar identifies an exclude container. |
| Include | Include the result from the container in the segment definition. Include is the default. A thin gray left bar identifies an include container. |
| Name container | Rename the container from its default description. Type a name in the text field. If you provide no input, the default description is used. |
| Delete container | Delete the container from the definition. |
Dragging a dimension or metric defined as a container into the Segment Builder automatically selects the proper container instead of the default Event container. This behavior keeps the segment scoped to the individual container rather than to the entire event.
When you drag both container-level and event-level components into a single segment rule, the system uses the Event container, which is the highest (least granular) shared container. If all components that are part of a segment rule are at the same container level, that container is used.
Date ranges
You can build segments that contain rolling date ranges. This way, you are able to answer questions about ongoing campaigns or events. For example, you can build a segment that includes all people who have made an online purchase over the last 60 days.
See
Stack segments
You can build a segment using segments. When you use segments in a segment, you can optimize your segment and reduce the complexity.
Imagine you want to segment on the combination of device type (2) and US states (50). You could either build 100 segments, each for the unique combination of device type (mobile phone versus tablet) and US state. To get the tablet users in California, use one of the 100 segments:
Or, define 52 segments: 50 segments for the US states, one for mobile phone and one for tablet. To obtain the same results, stack the segments. To get the California tablet users, stack two segments:
Attribution
When you use a dimension in the Segment builder, you have the option to specify the attribution model for that dimension. The attribution model you select determines whether data qualifies for the condition you have specified for the dimension component.
Select
| Models | Description |
|---|---|
| Repeating model (default) | Include instance and persisted values for the dimension to determine qualification. |
| Instance | Include only instance values for the dimension to determine qualification. |
| Non-repeating instance | Include unique instance (non-repeating) values for the dimension to determine qualification. |
Example
As part of a segment definition you have specified the following condition: Page Name equals Women. Similar to the example above. You repeat this segment definition using the two other attribution models. So you have three segments each with their own attribution model:
- Women Page - Attribution - Repeating (default)
- Women Page - Attribution - Instance
- Women Page - Attribution - Non-repeating instance
The table below explains, for each attribution model, which incoming events are qualified
| Women Page - Attribution - attribution model | Event 1: Page Name equals Women | Event 2: Page Name equals Men | Event 3: Page Name equals Women | Event 4: Page Name equals Women (persisted) | Event 5: Page Name equals Checkout | Event 6: Page Name equals Women | Event 7: Page Name equals Women (explicitly set) |
|---|---|---|---|---|---|---|---|
| Repeating (default) |
|
|
|
|
|
|
|
| Instance |
|
|
|
|
|
|
|
| Non-repeating instance |
|
|
|
|
|
|
|
An example report on events using the three segments looks like:
More help on this topic
Was this content helpful?
Announcements
Get hands-on with agentic AI.
Explore how AI agents work together through real examples and hands-on practice. Join your local User Group to design an agent workflow with your peers and leave with a practical framework you can apply to your own work.
Find an eventAdobe CX Analytics Portfolio Roadmap Webinar - Americas & EMEA
Preview the CX Analytics roadmap across CJA, Adobe Analytics, and more. Ask the team.
Adobe CX Analytics Portfolio Roadmap Webinar - Americas & APAC
Preview the CX Analytics roadmap across CJA, Adobe Analytics, and more. Ask the team.