Definition builder
You use the Definition builder to drag and drop dimensions, metrics, segments, and functions to create custom metrics based on container hierarchy logic, rules, and operators. In that construction, you can use standard metrics, Adobe defined metrics, calculated metrics, segments, dimensions and functions. All these components are available from the component panel in the Calculated metric builder. Furthermore, you can use operators and containers in the definition.
Only metrics are defined as singular components in the Definition area. All other components are defined as a container, wrapping metrics or other containers. See Containers for more information.
Metrics
To add a metric:
- Drag and drop an
When you use a calculated metric as part of your definition, the calculated metric is expanded.
To modify a metric:
- Select
- In the popup dialog you can define the type of metric and an attribution model. See Metric type and Attribution.
To delete a metric:
- Select
Operators
Operators let you specify the operator between components or containers. Operators appear automatically between
- two or more metrics in a container,
- two or more containers in a container,
- one or more metrics and one or more containers in a container.
You can select:
Symbol | Operator |
---|---|
| Divide (default) |
| Multiply |
| Subtract |
| Add |
Static number
You can add a static number to your calculated metric definition. To add a static number:
- Select
- Select Static number. A static number container appears.
- Select Click to add a value and type a value.
Containers
You add dimensions, segments and functions as containers to a calculated metric definition. You can also add a generic container. Containers function like a math expression and determine the order of operations. Anything within a container gets processed before the next component or container.
Segment container
You use the concept of a segment container to create a segmented metric. You can construct a segment container using a segment, or using a segment you create from a dimension.
-
To add a segment container from a dimension:
- Drag and drop a
- In the Create Segment from Dimension popup, define the condition for the segment. Select from the list of operators and select a value or enter a value. For example, Month equals
Sep 2024
. - Select Done. A segment container is added to the Definition.
- Drag and drop a
-
To add a segment container from a segment, you can use:
-
Drag and drop a
Automatically a segment container is added to the Definition, using the name of the segment. -
Drag and drop a
-
Select
- Select Segment. A segment container is added to the Definition.
- In the new segment container, select a segment from the Select… drop-down menu.
TIP
You can add more than one segment to a container.The segments in the container are named after the segment component. For example,
-
To remove a segment from a container:
- Select
See Segmented metrics for more details and examples.