Method: properties.dataStreams.getEnhancedMeasurementSettings
Returns the enhanced measurement settings for this data stream. Note that the stream must enable enhanced measurement for these settings to take effect.
HTTP request
GET https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/dataStreams/*/enhancedMeasurementSettings}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters |
name |
string
Required. The name of the settings to lookup. Format: properties/{property}/dataStreams/{dataStream}/enhancedMeasurementSettings Example: "properties/1000/dataStreams/2000/enhancedMeasurementSettings"
|
Request body
The request body must be empty.
Response body
If successful, the response body contains an instance of EnhancedMeasurementSettings
.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/analytics.readonly
https://www.googleapis.com/auth/analytics.edit
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-09 UTC.
[null,null,["Last updated 2024-10-09 UTC."],[[["Retrieves the enhanced measurement settings for a specified data stream, enabling detailed data collection and analysis."],["Utilizes an HTTP GET request with the resource name identifying the specific data stream's settings within Google Analytics."],["An empty request body is required, while the response provides the comprehensive EnhancedMeasurementSettings object containing configuration details."],["Authentication is necessary using OAuth scopes, granting either read-only or edit access to the analytics data."]]],["The core content describes retrieving enhanced measurement settings for a data stream. A `GET` request is sent to a specified URL, defined by the `name` path parameter, which indicates the property and data stream. The request body must be empty. The successful response contains the `EnhancedMeasurementSettings`. To access this information, one of two OAuth authorization scopes is required: `analytics.readonly` or `analytics.edit`. The settings can be modified if enhanced measurement is enabled.\n"]]