Caution: You are viewing documentation for the API's REST interface. Most of our official client libraries use gRPC. See the
REST Introduction for details.
CustomParameter
A mapping that can be used by custom parameter tags in a trackingUrlTemplate
, finalUrls
, or mobile_final_urls
.
JSON representation |
{
"key": string,
"value": string
} |
Fields |
key |
string
The key matching the parameter tag name.
|
value |
string
The value to be substituted.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-05-29 UTC.
[null,null,["Last updated 2024-05-29 UTC."],[[["Custom parameter tags in tracking URLs, final URLs, or mobile final URLs can utilize a mapping for substitution."],["This mapping is represented in JSON format with a \"key\" and \"value\" pair."],["The \"key\" corresponds to the parameter tag name, while the \"value\" is the substitution value, both as strings."]]],["The JSON representation defines a mapping for custom parameter tags within tracking URLs. It uses a key-value structure where `key` (string) represents the parameter tag name and `value` (string) is the substitution value. This mapping applies to `trackingUrlTemplate`, `finalUrls`, and `mobile_final_urls`, enabling dynamic substitution of parameter values. Each key-value pair defines one custom parameter and its corresponding substitution.\n"]]