Skip to content
Start here

Google Tag Gateway

Google Tag GatewayConfig

Get Google Tag Gateway configuration
google_tag_gateway.config.get(ConfigGetParams**kwargs) -> Config
GET/zones/{zone_id}/settings/google-tag-gateway/config
Update Google Tag Gateway configuration
google_tag_gateway.config.update(ConfigUpdateParams**kwargs) -> Config
PUT/zones/{zone_id}/settings/google-tag-gateway/config
ModelsExpand Collapse
class Config:

Google Tag Gateway configuration for a zone.

enabled: bool

Enables or disables Google Tag Gateway for this zone.

endpoint: str

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).

hide_original_ip: bool

Hides the original client IP address from Google when enabled.

measurement_id: str

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

set_up_tag: Optional[bool]

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