googleTagGateway


Use this behavior to configure Google Tag Gateway. Note that only one instance of the behavior is allowed in a particular rule. If there are multiple rules in the property, each with an instance of the behavior, the last rule that matches the incoming request is processed.

OptionTypeDescriptionRequires
enabledboolean

Enables Google Tag Gateway.

{"displayType":"boolean","tag":"input","type":"checkbox"}
google​Tag​Idstring (allows variables)

Specifies the unique Google Tag ID that was provided to you by Google.

{"displayType":"string","tag":"input","type":"text"}
{"if":{"attribute":"enabled","op":"eq","value":true}}
serving​Pathobject array

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

{"displayType":"object array","tag":"input","todo":true}
{"if":{"attribute":"enabled","op":"eq","value":true}}
advanced​Optionboolean

Enables the advanced options.

{"displayType":"boolean","tag":"input","type":"checkbox"}
{"if":{"attribute":"enabled","op":"eq","value":true}}
true​Client​Ip​Headerboolean

Sends the True Client IP header to the Google origin.

advanced​Option is true
{"displayType":"boolean","tag":"input","type":"checkbox"}
{"if":{"attribute":"advancedOption","op":"eq","value":true}}
script​Injectionboolean

Injects the Google Tag script directly into the page. Enable this if your pages don't already include the Google Tag script.

advanced​Option is true
{"displayType":"boolean","tag":"input","type":"checkbox"}
{"if":{"attribute":"advancedOption","op":"eq","value":true}}
setup​Tagboolean

Whether the injected tag should override any on-page configuration. Enable this if your pages don't already include the Google Tag script.

script​Injection is true
{"displayType":"boolean","tag":"input","type":"checkbox"}
{"if":{"attribute":"scriptInjection","op":"eq","value":true}}