Class Google::Analytics::Admin::V1alpha::GlobalSiteTag

Read-only resource with the tag for sending data from a website to a WebDataStream.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#name

def name() -> ::String
Returns
  • (::String) — Output only. Resource name for this GlobalSiteTag resource. Format: properties/{propertyId}/globalSiteTag

#snippet

def snippet() -> ::String
Returns
  • (::String) — Immutable. JavaScript code snippet to be pasted as the first item into the head tag of every webpage to measure.

#snippet=

def snippet=(value) -> ::String
Parameter
  • value (::String) — Immutable. JavaScript code snippet to be pasted as the first item into the head tag of every webpage to measure.
Returns
  • (::String) — Immutable. JavaScript code snippet to be pasted as the first item into the head tag of every webpage to measure.