Google Analytics Admin V1alpha Client - Class ConnectedSiteTag (0.24.2)

Reference documentation and code samples for the Google Analytics Admin V1alpha Client class ConnectedSiteTag.

Configuration for a specific Connected Site Tag.

Generated from protobuf message google.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).

Parameter
Name Description
var string
Returns
Type Description
$this