Google Analytics Admin V1alpha Client - Class CreateConnectedSiteTagRequest (0.20.0)

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
NameDescription
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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getConnectedSiteTag

Required. The tag to add to the Universal Analytics property

Returns
TypeDescription
Google\Analytics\Admin\V1alpha\ConnectedSiteTag|null

hasConnectedSiteTag

clearConnectedSiteTag

setConnectedSiteTag

Required. The tag to add to the Universal Analytics property

Parameter
NameDescription
var Google\Analytics\Admin\V1alpha\ConnectedSiteTag
Returns
TypeDescription
$this