Google Analytics · JSON Structure

Measurement Protocol Device Structure

Device schema from Google Analytics API

Type: object Properties: 9
AnalyticsDataGoogleMetricsReportingWeb AnalyticsMachine LearningAttribution

Device is a JSON Structure definition published by Google Analytics, describing 9 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

category language screen_resolution operating_system operating_system_version model brand browser browser_version

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/google-analytics/refs/heads/main/json-structure/measurement-protocol-device-structure.json",
  "name": "Device",
  "description": "Device schema from Google Analytics API",
  "type": "object",
  "properties": {
    "category": {
      "type": "string",
      "description": "Device category (e.g., mobile, tablet, desktop).",
      "example": "example_value"
    },
    "language": {
      "type": "string",
      "description": "Device language setting.",
      "example": "example_value"
    },
    "screen_resolution": {
      "type": "string",
      "description": "Screen resolution (e.g., 1920x1080).",
      "example": "example_value"
    },
    "operating_system": {
      "type": "string",
      "description": "Operating system name.",
      "example": "example_value"
    },
    "operating_system_version": {
      "type": "string",
      "description": "Operating system version.",
      "example": "example_value"
    },
    "model": {
      "type": "string",
      "description": "Device model.",
      "example": "example_value"
    },
    "brand": {
      "type": "string",
      "description": "Device brand.",
      "example": "example_value"
    },
    "browser": {
      "type": "string",
      "description": "Browser name.",
      "example": "example_value"
    },
    "browser_version": {
      "type": "string",
      "description": "Browser version.",
      "example": "example_value"
    }
  }
}