dbt-ga4: the community standard for modelling the GA4 BigQuery export
A dbt package that turns the raw GA4 BigQuery export into report-ready models for sessions, users, ecommerce and attribution.
The Measurement Room
Pick metrics, dimensions and a date range in a form, and this free tool generates the matching GA4 BigQuery SQL for you.
The first obstacle in querying the GA4 BigQuery export is not analytics, it is SQL: the event table is nested and repeated, so even a simple "sessions by channel last month" question needs UNNEST before it needs any actual thinking. GA4SQL sidesteps that. Pick the metrics and dimensions you want from a form, set a date range, and it writes the query for you.
It is the fastest route from "I want this number out of the export" to a working query, without first learning UNNEST. For anyone who knows what they want to measure but not yet how the nested schema behaves, this is the shortest path to a first correct result, and a reasonable way to learn the query shapes by reading what it generates.
It is a free web tool with no account layer described on the site, so treat generated queries as a starting point, not a certified report: check the logic against your own understanding of the schema before it goes into a client deliverable. It will not replace learning the export properly if you query GA4 data often, but as the on-ramp for a first working query it earns its place on the shelf.
More Like This
A dbt package that turns the raw GA4 BigQuery export into report-ready models for sessions, users, ecommerce and attribution.
Three foundation queries for the GA4 BigQuery export: the event_params unnesting pattern, daily users and sessions, and top pages by view, all with a date filter that controls scan cost.
Session-scoped source, medium and campaign reporting from the GA4 BigQuery export, aggregating sessions and conversions per channel, with an honest note on why it will not tie out to the GA4 UI.