Class EnhancedMeasurementSettings
Singleton resource under a web DataStream, configuring measurement of additional site interactions and content.
Implements
Namespace: Google.Analytics.Admin.V1Alpha
Assembly: Google.Analytics.Admin.V1Alpha.dll
Syntax
public sealed class EnhancedMeasurementSettings : IMessage<EnhancedMeasurementSettings>, IEquatable<EnhancedMeasurementSettings>, IDeepCloneable<EnhancedMeasurementSettings>, IBufferMessage, IMessage
Constructors
EnhancedMeasurementSettings()
Declaration
public EnhancedMeasurementSettings()
EnhancedMeasurementSettings(EnhancedMeasurementSettings)
Declaration
public EnhancedMeasurementSettings(EnhancedMeasurementSettings other)
Parameters
| Type | Name | Description |
|---|---|---|
| EnhancedMeasurementSettings | other |
Properties
EnhancedMeasurementSettingsName
EnhancedMeasurementSettingsName-typed view over the Name resource name property.
Declaration
public EnhancedMeasurementSettingsName EnhancedMeasurementSettingsName { get; set; }
Property Value
| Type | Description |
|---|---|
| EnhancedMeasurementSettingsName |
FileDownloadsEnabled
If enabled, capture a file download event each time a link is clicked with a common document, compressed file, application, video, or audio extension.
Declaration
public bool FileDownloadsEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
FormInteractionsEnabled
If enabled, capture a form interaction event each time a visitor interacts with a form on your website. False by default.
Declaration
public bool FormInteractionsEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
Name
Output only. Resource name of the Enhanced Measurement Settings. Format: properties/{property_id}/dataStreams/{data_stream}/enhancedMeasurementSettings Example: "properties/1000/dataStreams/2000/enhancedMeasurementSettings"
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
OutboundClicksEnabled
If enabled, capture an outbound click event each time a visitor clicks a link that leads them away from your domain.
Declaration
public bool OutboundClicksEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
PageChangesEnabled
If enabled, capture a page view event each time the website changes the browser history state.
Declaration
public bool PageChangesEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
ScrollsEnabled
If enabled, capture scroll events each time a visitor gets to the bottom of a page.
Declaration
public bool ScrollsEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
SearchQueryParameter
Required. URL query parameters to interpret as site search parameters. Max length is 1024 characters. Must not be empty.
Declaration
public string SearchQueryParameter { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
SiteSearchEnabled
If enabled, capture a view search results event each time a visitor performs a search on your site (based on a query parameter).
Declaration
public bool SiteSearchEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
StreamEnabled
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.
Declaration
public bool StreamEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
UriQueryParameter
Additional URL query parameters. Max length is 1024 characters.
Declaration
public string UriQueryParameter { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
VideoEngagementEnabled
If enabled, capture video play, progress, and complete events as visitors view embedded videos on your site.
Declaration
public bool VideoEngagementEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |