Skip to content
Start here

Google Tag Gateway

Google Tag GatewayConfig

Get Google Tag Gateway configuration
client.googleTagGateway.config.get(ConfigGetParams { zone_id } params, RequestOptionsoptions?): Config { enabled, endpoint, hideOriginalIp, 2 more }
GET/zones/{zone_id}/settings/google-tag-gateway/config
Update Google Tag Gateway configuration
client.googleTagGateway.config.update(ConfigUpdateParams { zone_id, enabled, endpoint, 3 more } params, RequestOptionsoptions?): Config { enabled, endpoint, hideOriginalIp, 2 more }
PUT/zones/{zone_id}/settings/google-tag-gateway/config
ModelsExpand Collapse
Config { 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?: boolean | null

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