Skip to content

Latest commit

 

History

History
51 lines (31 loc) · 1.58 KB

File metadata and controls

51 lines (31 loc) · 1.58 KB

MetricV2Rep

Properties

Name Type Description Notes
key String The metric key
versionId String The version ID of the metric [optional]
name String The metric name
kind KindEnum The kind of event the metric tracks
isNumeric Boolean For custom metrics, 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>). [optional]
unitAggregationType UnitAggregationTypeEnum The type of unit aggregation to use for the metric [optional]
analysisType AnalysisTypeEnum The method for analyzing metric events [optional]
eventKey String The event key sent with the metric. Only relevant for custom metrics. [optional]
links Map<String, Link> The location and content type of related resources

Enum: KindEnum

Name Value
PAGEVIEW "pageview"
CLICK "click"
CUSTOM "custom"
TRACE "trace"

Enum: UnitAggregationTypeEnum

Name Value
SUM "sum"
AVERAGE "average"
COUNT_DISTINCT "count_distinct"

Enum: AnalysisTypeEnum

Name Value
MEAN "mean"
PERCENTILE "percentile"