Google Analytics 4 · OAuth Scopes

Google Analytics 4 OAuth Scopes

OAuth 2.0 searched

Google Analytics 4 publishes 5 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 CollectionMarketingMeasurementsMobile AnalyticsReportingWeb AnalyticsAttributionAudiencesEvent Tracking
Scopes: 5 Flows: authorizationCode Method: searched

OAuth endpoints

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

Scopes (5)

ScopeDescriptionFlows
analytics View and manage your Google Analytics data authorizationCode
analytics.edit Edit Google Analytics management entities authorizationCode
analytics.manage.users Manage Google Analytics Account users by email address authorizationCode
analytics.manage.users.readonly View Google Analytics user permissions authorizationCode
analytics.readonly See and download your Google Analytics data authorizationCode

Source

OAuth Scopes

Raw ↑
generated: '2026-08-13'
method: searched
docs: https://developers.google.com/identity/protocols/oauth2/scopes
docs_note: >-
  Google's canonical OAuth 2.0 scope reference lists the analyticsadmin and analyticsdata
  scope sets. Every scope below is also declared in Google's own Discovery documents, so the
  spec-derived set and the documented set agree exactly - no scope is documented that the
  contract omits, and none is in the contract that the docs omit.
scope_prefix: https://www.googleapis.com/auth/
scope_prefix_note: >-
  Scopes are recorded here in short form. The wire form an OAuth request must send is the
  prefix above plus the short name, e.g.
  https://www.googleapis.com/auth/analytics.readonly
authorization_server: https://accounts.google.com
oidc_discovery: well-known/google-analytics-4-openid-configuration.json
oauth_server_metadata: well-known/google-analytics-4-oauth-authorization-server.json
source: openapi/google-analytics-4-admin-v1alpha-openapi.yml, openapi/google-analytics-4-admin-v1beta-openapi.yml,
  openapi/google-analytics-4-data-v1alpha-openapi.yml, openapi/google-analytics-4-data-v1beta-openapi.yml
schemes:
- name: OAuth2
  source: openapi/google-analytics-4-admin-v1alpha-openapi.yml
  flows:
  - flow: authorizationCode
    authorizationUrl: https://accounts.google.com/o/oauth2/v2/auth
    tokenUrl: https://oauth2.googleapis.com/token
  description: Google OAuth 2.0. Scopes are the short form of the full https://www.googleapis.com/auth/<scope>
    identifier.
- name: OAuth2
  source: openapi/google-analytics-4-admin-v1beta-openapi.yml
  flows:
  - flow: authorizationCode
    authorizationUrl: https://accounts.google.com/o/oauth2/v2/auth
    tokenUrl: https://oauth2.googleapis.com/token
  description: Google OAuth 2.0. Scopes are the short form of the full https://www.googleapis.com/auth/<scope>
    identifier.
- name: OAuth2
  source: openapi/google-analytics-4-data-v1alpha-openapi.yml
  flows:
  - flow: authorizationCode
    authorizationUrl: https://accounts.google.com/o/oauth2/v2/auth
    tokenUrl: https://oauth2.googleapis.com/token
  description: Google OAuth 2.0. Scopes are the short form of the full https://www.googleapis.com/auth/<scope>
    identifier.
- name: OAuth2
  source: openapi/google-analytics-4-data-v1beta-openapi.yml
  flows:
  - flow: authorizationCode
    authorizationUrl: https://accounts.google.com/o/oauth2/v2/auth
    tokenUrl: https://oauth2.googleapis.com/token
  description: Google OAuth 2.0. Scopes are the short form of the full https://www.googleapis.com/auth/<scope>
    identifier.
scopes:
- scope: analytics
  description: View and manage your Google Analytics data
  flows:
  - authorizationCode
  sources:
  - openapi/google-analytics-4-data-v1alpha-openapi.yml
  - openapi/google-analytics-4-data-v1beta-openapi.yml
- scope: analytics.edit
  description: Edit Google Analytics management entities
  flows:
  - authorizationCode
  sources:
  - openapi/google-analytics-4-admin-v1alpha-openapi.yml
  - openapi/google-analytics-4-admin-v1beta-openapi.yml
- scope: analytics.manage.users
  description: Manage Google Analytics Account users by email address
  flows:
  - authorizationCode
  sources:
  - openapi/google-analytics-4-admin-v1alpha-openapi.yml
- scope: analytics.manage.users.readonly
  description: View Google Analytics user permissions
  flows:
  - authorizationCode
  sources:
  - openapi/google-analytics-4-admin-v1alpha-openapi.yml
- scope: analytics.readonly
  description: See and download your Google Analytics data
  flows:
  - authorizationCode
  sources:
  - openapi/google-analytics-4-admin-v1alpha-openapi.yml
  - openapi/google-analytics-4-admin-v1beta-openapi.yml
  - openapi/google-analytics-4-data-v1alpha-openapi.yml
  - openapi/google-analytics-4-data-v1beta-openapi.yml
grants:
  supported:
    - authorization_code
    - refresh_token
    - urn:ietf:params:oauth:grant-type:device_code
    - urn:ietf:params:oauth:grant-type:jwt-bearer
  source: well-known/google-analytics-4-oauth-authorization-server.json
  note: >-
    The jwt-bearer grant is how service accounts authenticate; it is the path Google's own
    client libraries and the official MCP server take via Application Default Credentials.
  client_credentials: false
  client_credentials_note: >-
    There is no client_credentials grant. Machine-to-machine access requires a service account
    with a domain-delegated or property-granted identity, not a bare client id and secret.
usage:
  read_only: analytics.readonly
  reporting_write: analytics
  configuration_write: analytics.edit
  user_management: analytics.manage.users
  user_management_read: analytics.manage.users.readonly
  mcp_server_requires:
    - analytics.readonly
    - cloud-platform
  mcp_note: >-
    The official analytics-mcp server additionally requests the broad
    https://www.googleapis.com/auth/cloud-platform scope, which is far wider than the GA4
    surface it exposes. Worth flagging for anyone granting it.

Work with this as data

Every scope set here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for oauth scopes

4 MCP tools reach this
  • find_scopesBrowse and filter every scope set in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This scope set
curl "https://apis.io/api/v1/scopes/google-analytics-4-scopes"
All oauth scopes
curl "https://apis.io/api/v1/scopes?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.