Skip to main content

MetricMetadata

A dimension's ranked slice or time series returned by analytics operations. Conversion buckets are attached only when a site goal is supplied to analyticsOverTime.

type MetricMetadata {
totalCount: Int
overTime: [CategoricalMetricOverTime]
data: [CategoricalMetric]
conversions: [ConversionDay!]!
}

Fields​

MetricMetadata.totalCount ● Int scalar​

Group count before row limiting; analyticsDimension substitutes the returned length for a short page.

MetricMetadata.overTime ● [CategoricalMetricOverTime] list object​

Dimension series; ranked-row requests return an empty list.

MetricMetadata.data ● [CategoricalMetric] list object​

Ranked rows; time-series requests return an empty list.

MetricMetadata.conversions ● [ConversionDay!]! non-null object​

Goal conversion buckets for analyticsOverTime with a site goal. Without that goal this value is null, so selecting this non-null field produces an error.

Member Of​

Analytics object ● AnalyticsSingle object