Analytics
Run a Google Analytics (GA4) report
Changed onRuns a report on a connected GA4 property through Google's Data API (runReport).
Pick any GA4 dimensions and metrics; filters and ordering use Google's own shapes.
Caching and quota
Identical requests on the same property are cached for 10 minutes.
Google meters each property by quota tokens. When it is used up the request returns 429 until Google refills it (hourly quotas within the hour, daily ones at midnight Pacific time).
post/v1/analytics/googleanalytics/report
Request
- Base URLhttps://zernio.com/api
- URLhttps://zernio.com/api/v1/analytics/googleanalytics/report
- AuthHTTP bearer
Request body
Example request
{
"dimensions": [
"date",
"sessionDefaultChannelGroup"
],
"metrics": [
"sessions",
"activeUsers"
],
"dateRanges": [
{
"startDate": "30daysAgo",
"endDate": "today"
}
]
}Response
Report rows from Google
Changes
- info
endpoint added
- info