Google Analytics · Schema

PivotHeaderEntry

The headers for the each of the metric column corresponding to the metrics requested in the pivots section of the response.

AnalyticsDataGoogleMetricsReportingWeb AnalyticsMachine LearningAttribution

Properties

Name Type Description
dimensionNames array The name of the dimensions in the pivot response.
dimensionValues array The values for the dimensions in the pivot.
metric object The metric header for the metric in the pivot.
View JSON Schema on GitHub

JSON Schema

google-analytics-pivotheaderentry-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/PivotHeaderEntry",
  "title": "PivotHeaderEntry",
  "description": "The headers for the each of the metric column corresponding to the metrics requested in the pivots section of the response.",
  "properties": {
    "dimensionNames": {
      "description": "The name of the dimensions in the pivot response.",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "dimensionValues": {
      "description": "The values for the dimensions in the pivot.",
      "items": {
        "type": "string"
      },
      "type": "array"
    },
    "metric": {
      "$ref": "#/components/schemas/MetricHeaderEntry",
      "description": "The metric header for the metric in the pivot."
    }
  },
  "type": "object"
}