Custom metrics save a calculation that combines two values for use in Analytics.

Create a metric

  1. Open Analytics, select the project, and open Metrics.
  2. Create a custom metric.
  3. Enter a Metric Name and an optional description.
  4. Configure A (numerator). Choose an event count, an existing metric, or a fixed number.
  5. Choose the formula operation: Divide, Multiply, Add, Subtract, or Percentage.
  6. Configure B (denominator).
  7. Select Create Metric.
Custom metric editor with A and B values and the formula operation
Custom metric editor with A and B values and the formula operation in the Atlas Cloud demo workspace.

For an event value, choose the event and its measurement: total events, unique users, sum, average, minimum, or maximum. Property aggregations also require the event property.

Percentage calculates (A / B) × 100. For example, to measure the percentage of users who complete an action, use unique users for the completion event as A and unique users for the starting event as B. Use a Funnel report instead when you need to enforce an ordered conversion sequence.

Check the calculation

Confirm the metric appears in the project's metric list. Verify the source events and property types before using it in a report, and name the metric so its meaning and unit are clear.

Was this helpful?