Kong · Schema

GoogleAnalytics4Integration

Google Analytics integration configuration

API GatewayAI GatewayAI ConnectivityAgent GatewayEvent GatewayMCP RegistryService MeshLLMKafkaKonnectOpen-Source

Properties

Name Type Description
enabled boolean Whether the integration is enabled
type string The type of the integration for categorization
config_data object Configuration data for the Google Analytics integration
View JSON Schema on GitHub

JSON Schema

kong-googleanalytics4integration-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/GoogleAnalytics4Integration",
  "title": "GoogleAnalytics4Integration",
  "description": "Google Analytics integration configuration",
  "type": "object",
  "properties": {
    "enabled": {
      "description": "Whether the integration is enabled",
      "type": "boolean"
    },
    "type": {
      "description": "The type of the integration for categorization",
      "type": "string",
      "enum": [
        "analytics"
      ]
    },
    "config_data": {
      "description": "Configuration data for the Google Analytics integration",
      "type": "object",
      "additionalProperties": false,
      "properties": {
        "id": {
          "description": "The Google Analytics measurement ID",
          "type": "string",
          "example": "G-XXXXXXX",
          "maxLength": 20,
          "minLength": 5,
          "pattern": "^G-[A-Za-z0-9-]+$",
          "x-validation-message": "must be a valid Google Analytics ID (format: G-XXXXXXX)"
        },
        "l": {
          "description": "The datalayer's name you want data to be associated with",
          "type": "string",
          "example": "myNewName",
          "maxLength": 100,
          "nullable": true
        }
      },
      "required": [
        "id"
      ]
    }
  },
  "additionalProperties": false,
  "nullable": true,
  "required": [
    "enabled",
    "type",
    "config_data"
  ]
}