PUT /zones/{zone_id}/settings/google-tag-gateway/config
Updates the Google Tag Gateway configuration for a zone.
Servers
- https://api.cloudflare.com/client/v4
Path parameters
| Name | Type | Required | Description |
|---|---|---|---|
zone_id |
String | Yes |
Request headers
| Name | Type | Required | Description |
|---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
| Name | Type | Required | Description |
|---|---|---|---|
hideOriginalIp |
Boolean | Yes |
Hides the original client IP address from Google when enabled. |
setUpTag |
Boolean | No |
Set up the associated Google Tag on the zone automatically when enabled. |
measurementId |
String | Yes |
Specify the Google Tag Manager container or measurement ID (e.g. GTM-XXXXXXX or G-XXXXXXXXXX). |
enabled |
Boolean | Yes |
Enables or disables Google Tag Gateway for this zone. |
endpoint |
String | Yes |
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). |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.