Google Analytics · Schema

EventData

Represents all the details pertaining to an event.

AnalyticsDataGoogleMetricsReportingWeb AnalyticsMachine LearningAttribution

Properties

Name Type Description
eventAction string Type of interaction with the object. Eg: 'play'.
eventCategory string The object on the page that was interacted with. Eg: 'Video'.
eventCount string Number of such events in this activity.
eventLabel string Label attached with the event.
eventValue string Numeric value associated with the event.
View JSON Schema on GitHub

JSON Schema

google-analytics-eventdata-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/EventData",
  "title": "EventData",
  "description": "Represents all the details pertaining to an event.",
  "properties": {
    "eventAction": {
      "description": "Type of interaction with the object. Eg: 'play'.",
      "type": "string",
      "example": "example_value"
    },
    "eventCategory": {
      "description": "The object on the page that was interacted with. Eg: 'Video'.",
      "type": "string",
      "example": "example_value"
    },
    "eventCount": {
      "description": "Number of such events in this activity.",
      "format": "int64",
      "type": "string",
      "example": "example_value"
    },
    "eventLabel": {
      "description": "Label attached with the event.",
      "type": "string",
      "example": "Example Name"
    },
    "eventValue": {
      "description": "Numeric value associated with the event.",
      "format": "int64",
      "type": "string",
      "example": "example_value"
    }
  },
  "type": "object"
}