Reference documentation and code samples for the Google Analytics Admin V1alpha Client class GlobalSiteTag.
Read-only resource with the tag for sending data from a website to a DataStream. Only present for web DataStream resources.
Generated from protobuf message google.analytics.admin.v1alpha.GlobalSiteTag
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Output only. Resource name for this GlobalSiteTag resource. Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag Example: "properties/123/dataStreams/456/globalSiteTag"
↳ snippet
string
Immutable. JavaScript code snippet to be pasted as the first item into the head tag of every webpage to measure.
getName
Output only. Resource name for this GlobalSiteTag resource.
Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag Example: "properties/123/dataStreams/456/globalSiteTag"
string
setName
Output only. Resource name for this GlobalSiteTag resource.
Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag Example: "properties/123/dataStreams/456/globalSiteTag"
var
string
$this
getSnippet
Immutable. JavaScript code snippet to be pasted as the first item into the head tag of every webpage to measure.
string
setSnippet
Immutable. JavaScript code snippet to be pasted as the first item into the head tag of every webpage to measure.
var
string
$this