Google Analytics Admin API . properties . webDataStreams

Instance Methods

close()

Close httplib2 connections.

getGlobalSiteTag(name, x__xgafv=None)

Returns the Site Tag for the specified web stream. Site Tags are immutable singletons.

Method Details

close()
Close httplib2 connections.
getGlobalSiteTag(name, x__xgafv=None)
Returns the Site Tag for the specified web stream. Site Tags are immutable singletons.

Args:
  name: string, Required. The name of the site tag to lookup. Note that site tags are singletons and do not have unique IDs. Format: properties/{property_id}/webDataStreams/{stream_id}/globalSiteTag Example: "properties/123/webDataStreams/456/globalSiteTag" (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Read-only resource with the tag for sending data from a website to a WebDataStream.
  "name": "A String", # Output only. Resource name for this GlobalSiteTag resource. Format: properties/{propertyId}/globalSiteTag
  "snippet": "A String", # Immutable. JavaScript code snippet to be pasted as the first item into the head tag of every webpage to measure.
}