EnhancedMeasurementSettings

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

JSON representation
{
  "name": string,
  "streamEnabled": boolean,
  "pageViewsEnabled": boolean,
  "scrollsEnabled": boolean,
  "outboundClicksEnabled": boolean,
  "siteSearchEnabled": boolean,
  "videoEngagementEnabled": boolean,
  "fileDownloadsEnabled": boolean,
  "pageLoadsEnabled": boolean,
  "pageChangesEnabled": boolean,
  "searchQueryParameter": string,
  "uriQueryParameter": string
}
Fields
name

string

Output only. Resource name of this Data Stream. Format: properties/{property_id}/webDataStreams/{stream_id}/enhancedMeasurementSettings Example: "properties/1000/webDataStreams/2000/enhancedMeasurementSettings"

streamEnabled

boolean

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.

pageViewsEnabled

boolean

Output only. If enabled, capture a page view event each time a page loads or the website changes the browser history state.

scrollsEnabled

boolean

If enabled, capture scroll events each time a visitor gets to the bottom of a page.

outboundClicksEnabled

boolean

If enabled, capture an outbound click event each time a visitor clicks a link that leads them away from your domain.

siteSearchEnabled

boolean

If enabled, capture a view search results event each time a visitor performs a search on your site (based on a query parameter).

videoEngagementEnabled

boolean

If enabled, capture video play, progress, and complete events as visitors view embedded videos on your site.

fileDownloadsEnabled

boolean

If enabled, capture a file download event each time a link is clicked with a common document, compressed file, application, video, or audio extension.

pageLoadsEnabled

boolean

Output only. If enabled, capture a page view event each time a page loads.

pageChangesEnabled

boolean

If enabled, capture a page view event each time the website changes the browser history state.

searchQueryParameter

string

Required. URL query parameters to interpret as site search parameters. Max length is 1024 characters. Must not be empty.

uriQueryParameter

string

Additional URL query parameters. Max length is 1024 characters.