Google Analytics Admin V1alpha Client - Class ConnectedSiteTag (0.20.0)

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
NameDescription
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
TypeDescription
string

setDisplayName

Required. User-provided display name for the connected site tag. Must be less than 256 characters.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getTagId

Required. "Tag ID to forward events to. Also known as the Measurement ID, or the "G-ID" (For example: G-12345).

Returns
TypeDescription
string

setTagId

Required. "Tag ID to forward events to. Also known as the Measurement ID, or the "G-ID" (For example: G-12345).

Parameter
NameDescription
var string
Returns
TypeDescription
$this