Google Analytics Admin V1alpha Client - Class CreateConnectedSiteTagRequest (0.22.4)

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

Request message for CreateConnectedSiteTag RPC.

Generated from protobuf message google.analytics.admin.v1alpha.CreateConnectedSiteTagRequest

Namespace

Google \ Analytics \ Admin \ V1alpha

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ property string

The Universal Analytics property to create connected site tags for. This API does not support GA4 properties. Format: properties/{universalAnalyticsPropertyId} Example: properties/1234

↳ connected_site_tag Google\Analytics\Admin\V1alpha\ConnectedSiteTag

Required. The tag to add to the Universal Analytics property

getProperty

The Universal Analytics property to create connected site tags for.

This API does not support GA4 properties. Format: properties/{universalAnalyticsPropertyId} Example: properties/1234

Returns
Type Description
string

setProperty

The Universal Analytics property to create connected site tags for.

This API does not support GA4 properties. Format: properties/{universalAnalyticsPropertyId} Example: properties/1234

Parameter
Name Description
var string
Returns
Type Description
$this

getConnectedSiteTag

Required. The tag to add to the Universal Analytics property

Returns
Type Description
Google\Analytics\Admin\V1alpha\ConnectedSiteTag|null

hasConnectedSiteTag

clearConnectedSiteTag

setConnectedSiteTag

Required. The tag to add to the Universal Analytics property

Parameter
Name Description
var Google\Analytics\Admin\V1alpha\ConnectedSiteTag
Returns
Type Description
$this