Skip to content
Start here

Config

Get Google Tag Gateway configuration
GET/zones/{zone_id}/settings/google-tag-gateway/config
Update Google Tag Gateway configuration
PUT/zones/{zone_id}/settings/google-tag-gateway/config
ModelsExpand Collapse
Config = object { enabled, endpoint, hideOriginalIp, 2 more }

Google Tag Gateway configuration for a zone.

enabled: boolean

Enables or disables Google Tag Gateway for this zone.

endpoint: string

Specifies the endpoint path for proxying Google Tag Manager requests. Use an absolute path starting with '/', with no nested paths and alphanumeric characters only (e.g. /metrics).

hideOriginalIp: boolean

Hides the original client IP address from Google when enabled.

measurementId: string

Specify the Google Tag Manager container or measurement ID (e.g. GTM-XXXXXXX or G-XXXXXXXXXX).

setUpTag: optional boolean

Set up the associated Google Tag on the zone automatically when enabled.