Google Analytics 4 · OAuth Scopes

Google Analytics 4 OAuth Scopes

OAuth 2.0 derived

Google Analytics 4 publishes 2 OAuth 2.0 scopes via the authorizationCode flow. Scopes are the fine-grained permissions an application requests at authorization time to act against the Google Analytics 4 API on a user’s behalf.

Tokens are issued from https://oauth2.googleapis.com/token.

This index is generated from the provider’s OpenAPI security definitions (and, where available, its documented scope reference) and refreshes on every APIs.io network build. Browse every provider’s scopes at scopes.apis.io.

AnalyticsData CollectionMarketingMeasurementMobile AnalyticsReportingWeb Analytics
Scopes: 2 Flows: authorizationCode Method: derived

OAuth endpoints

Authorization URL
https://accounts.google.com/o/oauth2/v2/auth
Token URL
https://oauth2.googleapis.com/token
Flows
authorizationCode

Scopes (2)

ScopeDescriptionFlows
analytics View and manage Google Analytics data authorizationCode
analytics.readonly View Google Analytics data authorizationCode

Source

OAuth Scopes

google-analytics-4-scopes.yml Raw ↑
generated: '2026-07-11'
method: derived
source: openapi/google-analytics-4-openapi.yml
schemes:
- name: OAuth2
  source: openapi/google-analytics-4-openapi.yml
  flows:
  - flow: authorizationCode
    authorizationUrl: https://accounts.google.com/o/oauth2/v2/auth
    tokenUrl: https://oauth2.googleapis.com/token
scopes:
- scope: analytics
  description: View and manage Google Analytics data
  flows:
  - authorizationCode
  sources:
  - openapi/google-analytics-4-openapi.yml
- scope: analytics.readonly
  description: View Google Analytics data
  flows:
  - authorizationCode
  sources:
  - openapi/google-analytics-4-openapi.yml