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
Google's free public BigQuery dataset of obfuscated Merchandise Store GA4 events, the standard sandbox for practising GA4 SQL with no live property and no setup cost.
Every GA4-BigQuery tutorial and interview take-home test reaches for the same table sooner or later, because most people learning this stack do not have a live GA4 property with the BigQuery export switched on, let alone months of real event history to query. Google's public sample dataset closes that gap: it is the standard practice ground for writing GA4 SQL before you ever touch a client account.
The dataset holds 92 days of obfuscated real GA4 event-export data from the Google Merchandise Store, spanning November 2020 to January 2021. It is Google's own evergreen, officially maintained practice dataset, not a third-party mirror, and it uses the genuine event_params nested/repeated schema you will meet in any production GA4 export. Query it with BigQuery Sandbox or a free-tier project, no billing account required for light use, and you have a working GA4 event stream to test joins, funnels and aggregations against.
bigquery-public-data.ga4_obfuscated_sample_ecommerce to your project (or query it directly by fully qualified name).SELECT against the daily events_* tables, filtering on event_date and unnesting event_params where you need a specific parameter.This is the dataset behind the Vault's GA4 Data-Quality Auditor SQL: run that script against this sandbox first to see the expected output shape before pointing it at a real property. The Google docs page was last updated 29 June 2026, and the dataset itself has been the community's reference practice set since GA4's BigQuery export launched.
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.