G
Google Analytics Data API
Details
- URL
-
https://analyticsdata.googleapis.com/v1beta - Docs
- https://developers.google.com/analytics/devguides/reporting/data/v1/rest
Authentication
Google OAuth client / Application Default Credentials for Google Analytics oauth2 discovered Set up OAuth ↗
Authorization: Bearer <credential> Create an OAuth client in Google Cloud Console, enable the Google Analytics Admin API and Google Analytics Data API, then obtain user credentials with gcloud auth application-default login or another Application Default Credentials flow as shown in the Google Analytics MCP README. Request Google Analytics scopes such as https://www.googleapis.com/auth/analytics.readonly or broader https://www.googleapis.com/auth/analytics.edit / https://www.googleapis.com/auth/analytics.manage.users as needed by the method docs.