Kong · Schema
GoogleTagManagerIntegrationConfigProperties
Configuration data for the Google Tag Manager integration
API GatewayAI GatewayAI ConnectivityAgent GatewayEvent GatewayMCP RegistryService MeshLLMKafkaKonnectOpen Source
Properties
| Name | Type | Description |
|---|---|---|
| id | string | The Google Tag Manager container ID |
| l | string | Optional dataLayer variable name |
| preview | string | Preview environment name |
| cookies_win | boolean | Forces GTM cookies to take precedence when true |
| debug | boolean | Enables debug mode when true |
| npa | boolean | No Personal Advertising - disables advertising features when true |
| data_layer | string | Custom dataLayer name (alternative to "l" property) |
| env_name | string | Environment name for environment-specific container |
| auth_referrer_policy | string | Referrer policy for analytics requests |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/GoogleTagManagerIntegrationConfigProperties",
"title": "GoogleTagManagerIntegrationConfigProperties",
"description": "Configuration data for the Google Tag Manager integration",
"type": "object",
"properties": {
"id": {
"description": "The Google Tag Manager container ID",
"type": "string",
"example": "GTM-XXXXXX",
"maxLength": 20,
"minLength": 5,
"pattern": "^GTM-[A-Za-z0-9]+$",
"x-validation-message": "must be a valid GTM container ID (format: GTM-XXXXXX)"
},
"l": {
"description": "Optional dataLayer variable name",
"type": "string",
"example": "myNewName",
"maxLength": 100,
"nullable": true
},
"preview": {
"description": "Preview environment name",
"type": "string",
"example": "preview",
"maxLength": 100,
"nullable": true
},
"cookies_win": {
"description": "Forces GTM cookies to take precedence when true",
"type": "boolean",
"nullable": true
},
"debug": {
"description": "Enables debug mode when true",
"type": "boolean",
"nullable": true
},
"npa": {
"description": "No Personal Advertising - disables advertising features when true",
"type": "boolean",
"nullable": true
},
"data_layer": {
"description": "Custom dataLayer name (alternative to \"l\" property)",
"type": "string",
"example": "myNewName",
"maxLength": 100,
"nullable": true
},
"env_name": {
"description": "Environment name for environment-specific container",
"type": "string",
"example": "production",
"maxLength": 100,
"nullable": true
},
"auth_referrer_policy": {
"description": "Referrer policy for analytics requests",
"type": "string",
"example": "no-referrer",
"maxLength": 100,
"nullable": true
}
},
"additionalProperties": false
}