Google Analytics Admin V1alpha Client - Class ConnectedSiteTag (0.31.3)Stay organized with collectionsSave and categorize content based on your preferences.
Reference documentation and code samples for the Google Analytics Admin V1alpha Client class ConnectedSiteTag.
Configuration for a specific Connected Site Tag.
Generated from protobuf messagegoogle.analytics.admin.v1alpha.ConnectedSiteTag
Namespace
Google \ Analytics \ Admin \ V1alpha
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ display_name
string
Required. User-provided display name for the connected site tag. Must be less than 256 characters.
↳ tag_id
string
Required. "Tag ID to forward events to. Also known as the Measurement ID, or the "G-ID" (For example: G-12345).
getDisplayName
Required. User-provided display name for the connected site tag. Must be
less than 256 characters.
Returns
Type
Description
string
setDisplayName
Required. User-provided display name for the connected site tag. Must be
less than 256 characters.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getTagId
Required. "Tag ID to forward events to. Also known as the Measurement ID,
or the "G-ID" (For example: G-12345).
Returns
Type
Description
string
setTagId
Required. "Tag ID to forward events to. Also known as the Measurement ID,
or the "G-ID" (For example: G-12345).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-19 UTC."],[],[]]