Class EnhancedMeasurementSettings
Singleton resource under a WebDataStream, configuring measurement of additional site interactions and content.
Inheritance
Implements
Inherited Members
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
ArticlesAndBlogsEnabled
Capture events when your visitors view content on your site that has articles or blog posts.
Declaration
public bool ArticlesAndBlogsEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
ContentViewsEnabled
Capture events when your visitors view content on your site that has structured data (eg, articles, blog posts, product details screens, etc.).
Declaration
public bool ContentViewsEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
DataTaggedElementClicksEnabled
If enabled, capture a click event each time a visitor clicks a link or element that has data attributes beginning with "data-ga".
Declaration
public bool DataTaggedElementClicksEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
EnhancedMeasurementSettingsName
EnhancedMeasurementSettingsName-typed view over the Name resource name property.
Declaration
public EnhancedMeasurementSettingsName EnhancedMeasurementSettingsName { get; set; }
Property Value
| Type | Description |
|---|---|
| EnhancedMeasurementSettingsName |
ExcludedDomains
Domains to exclude from measurement. Max length is 1024 characters.
Declaration
public string ExcludedDomains { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
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 |
|---|---|
| System.Boolean |
FormInteractionsEnabled
If enabled, capture a view search results event each time a visitor interacts with a form on your site.
Declaration
public bool FormInteractionsEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Name
Output only. Resource name of this Data Stream. Format:
properties/{property_id}/webDataStreams/{stream_id}/enhancedMeasurementSettings Example: "properties/1000/webDataStreams/2000/enhancedMeasurementSettings"
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| System.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 |
|---|---|
| System.Boolean |
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 |
|---|---|
| System.Boolean |
PageLoadsEnabled
If enabled, capture a page view event each time a page loads.
Declaration
public bool PageLoadsEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
PageViewsEnabled
Output only. If enabled, capture a page view event each time a page loads or the website changes the browser history state.
Declaration
public bool PageViewsEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
ProductsAndEcommerceEnabled
Capture events when your visitors view content on your site that has product details screens, etc.
Declaration
public bool ProductsAndEcommerceEnabled { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
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 |
|---|---|
| System.Boolean |
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 |
|---|---|
| System.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 |
|---|---|
| System.Boolean |
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 |
|---|---|
| System.Boolean |
UrlQueryParameter
Additional URL query parameters. Max length is 1024 characters.
Declaration
public string UrlQueryParameter { get; set; }
Property Value
| Type | Description |
|---|---|
| System.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 |
|---|---|
| System.Boolean |