Check Compatibility then Run Report
A 2-step recipe with Google Analytics. We can help you get access.
Recipe · 2 steps
Check Compatibility then Run Report
with Google Analytics
Check dimension and metric compatibility, then run the core report.
- Preview the compatibility of the requested dimension and metric, filtering the response to just the compatible fields.
- Run the core report for the validated dimension and metric over the supplied date range.
What you'll need to have ready
- accessToken: OAuth 2.0 bearer access token with an analytics read scope.
- property: GA4 property resource name to report on (e.g. properties/1234).
- dimension: The API name of a single dimension to validate and report on.
- metric: The API name of a single metric to validate and report on.
- startDate: Inclusive report start date as YYYY-MM-DD or NdaysAgo.
- endDate: Inclusive report end date as YYYY-MM-DD, yesterday, or today.
For your developer
Arazzo workflow google-analytics:check-compatibility-run-report, 2 operations: analyticsdata.properties.checkCompatibility → analyticsdata.properties.runReport. Specs on APIs.io.