Create Custom Dimension then Run Report
A 2-step recipe with Google Analytics. We can help you get access.
Recipe · 2 steps
Create Custom Dimension then Run Report
with Google Analytics
Register an event-scoped custom dimension and run a report grouped by it.
- Create an event-scoped custom dimension on the property, tagging it against the supplied event parameter name.
- Run a core report counting events grouped by the new event-scoped custom dimension, referenced as customEvent:{parameterName}.
What you'll need to have ready
- accessToken: OAuth 2.0 bearer access token with the analytics edit scope.
- property: GA4 property resource name (e.g. properties/1234).
- dimensionDisplayName: Display name for the custom dimension as shown in the Analytics UI.
- parameterName: Immutable event parameter name to tag the custom dimension against.
- description: Optional description for the custom dimension.
- 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:create-custom-dimension-run-report, 2 operations: analyticsadmin.properties.customDimensions.create → analyticsdata.properties.runReport. Specs on APIs.io.