google_tag_gateway
Version: v2025-10-16 | Includes use: Yes |
|---|
Behavior name: Google Tag Gateway
Configure Google Tag Gateway.
Default behavior
These samples reflect the behavior's default settings. You can use these as is in your configurations or make adjustments based on the behavior's available options.
data "akamai_property_rules_builder" "google_tag_gateway" {
rules_v2025_10_16 {
name = "Google Tag Gateway"
comments = "Configures Google Tag Gateway."
behavior {
google_tag_gateway {
enabled = true
advanced_option = false
google_tag_id = ""
serving_path = ""
}
}
}
}
"behaviors": [
{
"name": "googleTagGateway",
"options": {
"enabled": true,
"advancedOption": false,
"googleTagId": "",
"servingPath": ""
}
}
]
Options
| Option | Description |
|---|---|
enabled |
Enables Google Tag Gateway.
|
google_tag_id |
Your Google Tag ID.
|
serving_path |
The path that serves the Google Tag. The path segment starts with a slash (
/), followed by 6-10 alphanumeric characters and must be unique within your page. |
advanced_option |
Enables advanced options.
|
true_client_ip_header |
When enabled, sends the True Client IP header to the Google origin.
|
script_injection |
When enabled, injects the Google Tag script directly into the page. Enable this if your pages don't already include the Google Tag script.
|
setup_tag |
When enabled, the injected tag overrides any on-page configuration. Enable this if your pages don't include the Google Tag script already.
|
Updated 8 days ago
