ConnectedSiteTag
Configuration for a specific Connected Site Tag.
JSON representation |
{
"displayName": string,
"tagId": string
} |
Fields |
displayName |
string
Required. User-provided display name for the connected site tag. Must be less than 256 characters.
|
tagId |
string
Required. "Tag ID to forward events to. Also known as the Measurement ID, or the "G-ID" (For example: G-12345).
|
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 2025-01-14 UTC.
[null,null,["Last updated 2025-01-14 UTC."],[[["Connected Site Tag configuration uses JSON format for defining settings."],["Configuration requires a user-friendly display name and the unique Tag ID for event forwarding."],["The display name has a character limit of fewer than 256, while the Tag ID is essential for identifying the destination for events."]]],["The provided JSON represents configuration for a Connected Site Tag, requiring a `displayName` and a `tagId`. The `displayName` is a user-defined string (less than 256 characters) for identification. The `tagId` is a string representing the Measurement ID (e.g., G-12345), used to forward events. Both fields are mandatory for configuration.\n"]]