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:

  1. To specify the type of your definition, specify whether you want to build an include or exclude definition. Select Setting Options and from the drop-down menu Include or Exclude.
  2. 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.

NOTE
The segment builder interface does not support all segment definitions created via the API. This page may load unsuccessfully or throw errors for those segments.

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.

Start building a definition

To add a component:

  1. 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 Search in the components bar to search for specific components.
    • You can use Filter in the components bar to filter on Checkmark Approved, Star Favorites, DataDimension Dimensions, Event Metrics, Segmentation Segments, Calendar Date ranges, and Layer container components (like Products, Content Assets). You can also filter on Label tags.
  2. 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.

  3. (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.

  4. (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 CrossSize75 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.

Add a container

  • To add a container, select Add container from Setting 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 Globe Global Account B2B Edition, Account Account B2B Edition, Opportunity Opportunity B2B Edition, BuyingGroup Buying Group B2B Edition, WebPage Event, Visit Session, User Person or Layer Object. When you select Layer Object, select the custom container to use. For example, Products or Content Assets.

You can use Setting in a container for the following actions:

Container actionDescription
Add containerAdd a nested container to the container.
ExcludeExclude the result from the container in the segment definition. A thin red left bar identifies an exclude container.
IncludeInclude the result from the container in the segment definition. Include is the default. A thin gray left bar identifies an include container.
Name containerRename the container from its default description. Type a name in the text field. If you provide no input, the default description is used.
Delete containerDelete 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.

Segment using rolling date range

See VideoCheckedOut Rolling date ranges in segments for a demo video.

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:

Simple segment for California and tablet

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:

Stacked segment for CA and tablet

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 Setting within the dimension component and select one of the Attribution models from the popup:

ModelsDescription
Repeating model (default)Include instance and persisted values for the dimension to determine qualification.
InstanceInclude only instance values for the dimension to determine qualification.
Non-repeating instanceInclude unique instance (non-repeating) values for the dimension to determine qualification.

Attribution model on dimension when building a segment

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 CheckmarkCircle for that condition.

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) CheckmarkCircle Remove CheckmarkCircle CheckmarkCircle Remove CheckmarkCircle CheckmarkCircle
Instance CheckmarkCircle Remove CheckmarkCircle Remove Remove CheckmarkCircle CheckmarkCircle
Non-repeating instance CheckmarkCircle Remove CheckmarkCircle Remove Remove CheckmarkCircle Remove

An example report on events using the three segments looks like:

Segment attribution model results

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 event

Ask AI

Not sure where to start?
Ask me anything about Adobe products.

Type your question or pick a suggestion below.

Use of this AI chatbot is subject to Adobe's Privacy Policy. Don't share sensitive data. AI responses are not your Content, may be inaccurate, and any offers provided are non-binding. Generative AI Terms.

Ask AI