{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/sendgrid/main/json-schema/sendgrid-google-analytics-settings-schema.json",
  "title": "Settings: Google Analytics",
  "x-generated": "2026-10-12",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sendgrid-tracking-api-openapi.yml#/components/schemas/GoogleAnalyticsSettings",
  "type": "object",
  "properties": {
    "enabled": {
      "type": "boolean",
      "description": "Indicates if Google Analytics is enabled."
    },
    "utm_campaign": {
      "type": "string",
      "description": "The name of the campaign."
    },
    "utm_content": {
      "type": "string",
      "description": "Used to differentiate ads"
    },
    "utm_medium": {
      "type": "string",
      "description": "Name of the marketing medium (e.g. \"Email\")."
    },
    "utm_source": {
      "type": "string",
      "description": "Name of the referrer source. "
    },
    "utm_term": {
      "type": "string",
      "description": "Any paid keywords."
    }
  }
}