class Google::Apis::AnalyticsadminV1alpha::GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings

Singleton resource under a WebDataStream, configuring measurement of additional site interactions and content.

Attributes

file_downloads_enabled[RW]

If enabled, capture a file download event each time a link is clicked with a common document, compressed file, application, video, or audio extension. Corresponds to the JSON property `fileDownloadsEnabled` @return [Boolean]

file_downloads_enabled?[RW]

If enabled, capture a file download event each time a link is clicked with a common document, compressed file, application, video, or audio extension. Corresponds to the JSON property `fileDownloadsEnabled` @return [Boolean]

name[RW]

Output only. Resource name of this Data Stream. Format: properties/` property_id`/webDataStreams/`stream_id`/enhancedMeasurementSettings Example: “ properties/1000/webDataStreams/2000/enhancedMeasurementSettings” Corresponds to the JSON property `name` @return [String]

outbound_clicks_enabled[RW]

If enabled, capture an outbound click event each time a visitor clicks a link that leads them away from your domain. Corresponds to the JSON property `outboundClicksEnabled` @return [Boolean]

outbound_clicks_enabled?[RW]

If enabled, capture an outbound click event each time a visitor clicks a link that leads them away from your domain. Corresponds to the JSON property `outboundClicksEnabled` @return [Boolean]

page_changes_enabled[RW]

If enabled, capture a page view event each time the website changes the browser history state. Corresponds to the JSON property `pageChangesEnabled` @return [Boolean]

page_changes_enabled?[RW]

If enabled, capture a page view event each time the website changes the browser history state. Corresponds to the JSON property `pageChangesEnabled` @return [Boolean]

page_loads_enabled[RW]

Output only. If enabled, capture a page view event each time a page loads. Corresponds to the JSON property `pageLoadsEnabled` @return [Boolean]

page_loads_enabled?[RW]

Output only. If enabled, capture a page view event each time a page loads. Corresponds to the JSON property `pageLoadsEnabled` @return [Boolean]

page_views_enabled[RW]

Output only. If enabled, capture a page view event each time a page loads or the website changes the browser history state. Corresponds to the JSON property `pageViewsEnabled` @return [Boolean]

page_views_enabled?[RW]

Output only. If enabled, capture a page view event each time a page loads or the website changes the browser history state. Corresponds to the JSON property `pageViewsEnabled` @return [Boolean]

scrolls_enabled[RW]

If enabled, capture scroll events each time a visitor gets to the bottom of a page. Corresponds to the JSON property `scrollsEnabled` @return [Boolean]

scrolls_enabled?[RW]

If enabled, capture scroll events each time a visitor gets to the bottom of a page. Corresponds to the JSON property `scrollsEnabled` @return [Boolean]

search_query_parameter[RW]

Required. URL query parameters to interpret as site search parameters. Max length is 1024 characters. Must not be empty. Corresponds to the JSON property `searchQueryParameter` @return [String]

site_search_enabled[RW]

If enabled, capture a view search results event each time a visitor performs a search on your site (based on a query parameter). Corresponds to the JSON property `siteSearchEnabled` @return [Boolean]

site_search_enabled?[RW]

If enabled, capture a view search results event each time a visitor performs a search on your site (based on a query parameter). Corresponds to the JSON property `siteSearchEnabled` @return [Boolean]

stream_enabled[RW]

Indicates whether Enhanced Measurement Settings will be used to automatically measure interactions and content on this web stream. Changing this value does not affect the settings themselves, but determines whether they are respected. Corresponds to the JSON property `streamEnabled` @return [Boolean]

stream_enabled?[RW]

Indicates whether Enhanced Measurement Settings will be used to automatically measure interactions and content on this web stream. Changing this value does not affect the settings themselves, but determines whether they are respected. Corresponds to the JSON property `streamEnabled` @return [Boolean]

uri_query_parameter[RW]

Additional URL query parameters. Max length is 1024 characters. Corresponds to the JSON property `uriQueryParameter` @return [String]

video_engagement_enabled[RW]

If enabled, capture video play, progress, and complete events as visitors view embedded videos on your site. Corresponds to the JSON property `videoEngagementEnabled` @return [Boolean]

video_engagement_enabled?[RW]

If enabled, capture video play, progress, and complete events as visitors view embedded videos on your site. Corresponds to the JSON property `videoEngagementEnabled` @return [Boolean]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/analyticsadmin_v1alpha/classes.rb, line 1217
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/analyticsadmin_v1alpha/classes.rb, line 1222
def update!(**args)
  @file_downloads_enabled = args[:file_downloads_enabled] if args.key?(:file_downloads_enabled)
  @name = args[:name] if args.key?(:name)
  @outbound_clicks_enabled = args[:outbound_clicks_enabled] if args.key?(:outbound_clicks_enabled)
  @page_changes_enabled = args[:page_changes_enabled] if args.key?(:page_changes_enabled)
  @page_loads_enabled = args[:page_loads_enabled] if args.key?(:page_loads_enabled)
  @page_views_enabled = args[:page_views_enabled] if args.key?(:page_views_enabled)
  @scrolls_enabled = args[:scrolls_enabled] if args.key?(:scrolls_enabled)
  @search_query_parameter = args[:search_query_parameter] if args.key?(:search_query_parameter)
  @site_search_enabled = args[:site_search_enabled] if args.key?(:site_search_enabled)
  @stream_enabled = args[:stream_enabled] if args.key?(:stream_enabled)
  @uri_query_parameter = args[:uri_query_parameter] if args.key?(:uri_query_parameter)
  @video_engagement_enabled = args[:video_engagement_enabled] if args.key?(:video_engagement_enabled)
end