Customer Journey Analytics provides a canvas to drag and drop dimensions, metrics, segments, and functions to create custom metrics based on container hierarchy logic, rules, and operators. This integrated development tool lets you build and save simple or complex calculated metrics.
You can use the calculated metric builder to create or edit calculated metrics. When created in this way, calculated metrics are available in the component list and can then be used in projects throughout your organization. Alternatively, you can quickly create a calculated metric that is available only for the project where it was created, as described in Create calculated metrics for a single project in Metrics.
Access the calculated metric builder to begin creating a calculated metric that is available in the component list.
Access the calculated metric builder in any of the follows ways:
Continue with Areas of the calculated metric builder.
The Calculated metric builder dialog is used to create new or edit existing calculated metrics. The dialog is titled New calculated metric or Edit calculated metric for metrics that you create or manage from the Calculated metrics manager.
Specify the following details ( is required):
Element | Description |
---|---|
Data view | You can select the data view for the calculated metric. The calculated metric you define is available in Workspace projects based on the selected data view. |
Project-only metric | An info box appears at the top of this dialog when you edit a calculated metric that was created for a single project, as described in Create calculated metrics for a single project. If you want to make this calculated metric available for all projects, select the option, Make this metric available to all your projects and add it to your component list. |
Title |
Name the calculated metric, for example, Conversion Rate . |
External ID |
The name of the calculated metric when using an external BI tool and the BI extension. The value is automatically defined as undefined_xxx unless you override the value. |
Description | Provide a description for the segment, for example, Calculated metric to define the conversion rate. There is no need to describe the formula for the calculated metric as the formula is already automatically available in Summary. |
Format | Select a format for the calculated metric: You can select between Decimal, Time, Percent, and Currency. |
Decimal places | Specify the number of decimal places for the format selected. Only enabled when the format selected is Decimal, Currency, and Percent. |
Show upward trend as | Specify whether an upward trend of the calculated metric displays as ▲ Good (Green) or as ▼ Bad (Red). |
Currency | Specify the currency of the calculated metric. Only enabled when format selected is Currency. |
Tags | Organize the calculated metric by creating or applying one or more tags. Start typing to find existing tags you can select. Or press ENTER to add a new tag. Select |
Preview | The preview covers the last 90 days and is a way to gauge whether you have defined your metric correctly. |
Summary | Displays a summary of the definition of the calculated metric. For example: |
Definition |
Define your segment using the Definition builder. |
To verify whether your calculated metric definition is correct, use the constantly updated Preview of the results of the calculated metric. The Preview covers the last 90 days and evaluates the definition of your calculated metric continuously.
The Product compatibility indicates whether the calculated metric can be used in experimentation. Possible values are:
Select:
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.
To add a metric:
When you use a calculated metric as part of your definition, the calculated metric is expanded.
To modify a metric:
To delete a metric:
Operators let you specify the operator between components or containers. Operators appear automatically between
You can select:
Symbol | Operator |
---|---|
Divide (default) | |
Multiply | |
Subtract | |
Add |
You can add a static number to your calculated metric definition. To add a static number:
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.
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:
Sep 2024
.To add a segment container from a segment, you can use:
Drag and drop a Segments component from the components panel onto Drag and drop metrics, dimensions, dimension items, segments, and/or functions here. You can use the
in the components bar to search for specific segments.
Automatically a segment container is added to the Definition, using the name of the segment.
Drag and drop a Segment component from the components panel onto a generic container. The container is modified into a segment container.
Select Add from within a container:
You can add more than one segment to a container.
The segments in the container are named after the segment component. For example, Web sessions. Select
to display a popup with details on the segment. In the popup, select
to edit the segment definition.
To remove a segment from a container:
See Segmented metrics for more details and examples.
To add a function container, you can use:
Drag and drop:
Select Add from within a container:
The function container is named after the function component. For example, SQUARE ROOT (metric). Select
to display a popup with details on the function. Select Learn more for more information on the function.
See Use functions for details on how to use functions and what functions are available to create a calculated metric.
To add a generic container:
To delete a container, select at the container level.