10 minutes

Metrics in CJA can be defined either in the Data View or within Analysis Workspace as Calculated Metrics. This article describes and compares these options and explains when to use each one.

In Adobe Customer Journey Analytics, metrics can be established either in the Data View or within Analysis Workspace as Calculated Metrics. Each approach offers distinct advantages and is suited to different scenarios or users. This article provides an overview of both options - highlighting their differences, benefits, and limitations. It also offers guidance on selecting the most appropriate method for metric definition based on your reporting and analysis needs. Understanding which option to pick can help users improve analysis efficiency and organizations maintain appropriate metric governance.

Different options for defining a custom metric

Data View metric

Defining metrics directly in the Data View is most common for metrics used and shared across the organization. Administrators can control metric definitions to ensure standardized reporting. This option is best used when a metric needs to be enabled for the entire organization. Standard business users do not have access to this functionality, but should be able to request new metrics from their administrators.

Default alt

Metric customization within the Data View is limited to the available configuration options:

For more advanced customization, you may be able to use a Derived Field as the basis for a Metric defined in the Data View. Using a Derived Field enables functions like: Date Math, Depth, and standard Mathematical operators. The number of derived fields available to a connection is limited based on your license package.

Calculated metric

Calculated metrics are built within Analysis Workspace and can be local to a workspace project or made available to all projects. They can also be shared with other users or user groups. Analysts can use Calculated Metrics to streamline their reporting and analysis projects.

With Calculated Metrics, you’re able to transform existing metrics by using Basic or Advanced functions. You can also apply segments within the Calculated metric using the traditional Segment Builder.

When to use each method

Aspect

Data View Metric

Calculated Metric

Where to create
Within the Data View configuration in CJA
Within Analysis Workspace
Who can create
Admins or users with Data View edit access
Any user with project access
Calculation timing
Calculated during data processing
Calculated during query execution
User availability
Available to all users using that Data View
Private to owner unless shared
Metric availability
Analysis Workspace, AJO and Adobe Target reporting
Only in Analysis Workspace
Workspace visualization availability
All visualizations
Limited visualizations1
Calculation flexibility
Limited to metric configuration options (counting, deduplication, attribution).Using a derived field increases customization options
Very flexible - can combine metrics, apply filters, and utilize advanced formulas
Performance impact
Fastest performance; processed at data ingestion/query engine level
Slightly slower; calculated during analysis
Governance and standardization
Ideal for standardized metrics across the organization
Ideal for ad hoc analysis for individuals or teams
Quantity limitations
Unlimited, derived fields are limited based on license tier
Unlimited
NOTE

Use Calculated Metrics for: ad-hoc, exploratory analysis, one-off reporting or when a metric is only going to be used by a subset of the organization.

Use Data View Metrics for: standardized, governed, reusable metrics that should be consistent across teams.

1Calculated Metrics are not supported by Flow, Fallout, Cohort Tables, or Histograms.

Key considerations before building a metric

Conclusion

Knowing the best way to define custom metrics in CJA can be an ongoing challenge for both administrators and analysts. Understanding the strengths and limitations of the different methods can help improve reporting and analysis efficiency and overall implementation governance. Staying aware of these considerations will empower you to maximize the value of the Customer Journey Analytics platform.