You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
One or more target URLs. Required for click and pageview metrics only.
[optional]
is_numeric
Boolean
Whether to track numeric changes in value against a baseline (<code>true</code>) or to track a conversion when an end user takes an action (<code>false</code>). Required for custom metrics only.
[optional]
unit
String
The unit of measure. Applicable for numeric custom metrics only.
[optional]
event_key
String
The event key to use in your code. Required for custom conversion/binary and custom numeric metrics only.
[optional]
success_criteria
String
Success criteria. Required for custom numeric metrics, optional for custom conversion metrics.
[optional]
tags
Array<String>
Tags for the metric
[optional]
randomization_units
Array<String>
An array of randomization units allowed for this metric
[optional]
maintainer_id
String
The ID of the member who maintains this metric
[optional]
unit_aggregation_type
String
The method by which multiple unit event values are aggregated
[optional]
analysis_type
String
The method for analyzing metric events
[optional]
percentile_value
Integer
The percentile for the analysis method. An integer denoting the target percentile between 0 and 100. Required when <code>analysisType</code> is <code>percentile</code>.