Google Analytics · Schema

UserActivitySession

This represents a user session performed on a specific device at a certain time over a period of time.

AnalyticsDataGoogleMetricsReportingWeb AnalyticsMachine LearningAttribution

Properties

Name Type Description
activities array Represents a detailed view into each of the activity in this session.
dataSource string The data source of a hit. By default, hits sent from analytics.js are reported as "web" and hits sent from the mobile SDKs are reported as "app". These values can be overridden in the Measurement Prot
deviceCategory string The type of device used: "mobile", "tablet" etc.
platform string Platform on which the activity happened: "android", "ios" etc.
sessionDate string Date of this session in ISO-8601 format.
sessionId string Unique ID of the session.
View JSON Schema on GitHub

JSON Schema

google-analytics-useractivitysession-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/UserActivitySession",
  "title": "UserActivitySession",
  "description": "This represents a user session performed on a specific device at a certain time over a period of time.",
  "properties": {
    "activities": {
      "description": "Represents a detailed view into each of the activity in this session.",
      "items": {
        "$ref": "#/components/schemas/Activity"
      },
      "type": "array"
    },
    "dataSource": {
      "description": "The data source of a hit. By default, hits sent from analytics.js are reported as \"web\" and hits sent from the mobile SDKs are reported as \"app\". These values can be overridden in the Measurement Protocol.",
      "type": "string"
    },
    "deviceCategory": {
      "description": "The type of device used: \"mobile\", \"tablet\" etc.",
      "type": "string"
    },
    "platform": {
      "description": "Platform on which the activity happened: \"android\", \"ios\" etc.",
      "type": "string"
    },
    "sessionDate": {
      "description": "Date of this session in ISO-8601 format.",
      "type": "string"
    },
    "sessionId": {
      "description": "Unique ID of the session.",
      "type": "string"
    }
  },
  "type": "object"
}