Skip to the content
Start free

Google Analytics 4 (Data API)

HTTP API

Setup

Create an OAuth client (type: Web application) in Google Cloud Console › APIs & Services › Credentials, enable the API, add the redirect URI shown below, then paste the client ID and secret. Enable the "Google Analytics Data API".

Example request

GET /properties/{propertyId}/metadata

Provider documentation