The GA4 interface samples, thresholds and limits what you can see. Every GA4 property can export raw, event-level data to BigQuery, where you can answer questions the reports can't and join web behaviour with sales, CRM and ad spend. This course teaches you to work with that export confidently, write the SQL it needs and keep the bill small.
What you'll learn
- Setting up the GA4 to BigQuery link: daily versus streaming export, and the daily event limit on standard properties
- The GA4 export schema:
events_*tables, nestedevent_params,user_propertiesanditems - Using
UNNESTand helper functions to pull parameters out cleanly - Rebuilding sessions, landing pages and engagement from raw events
- Traffic source fields,
collected_traffic_sourceand why your numbers differ from the GA4 interface - Building simple attribution models: first touch, last non-direct and position-based
- Partitioned and clustered tables,
_TABLE_SUFFIXfilters and dry runs to control cost - Joining GA4 data with Google Ads, CRM exports and order tables
- Scheduled queries and building tidy reporting tables for Looker Studio
- Privacy: consent mode effects, user IDs and retention settings
Who it's for
- Digital marketers and analysts who have outgrown GA4's standard reports
- Agency teams reporting across many client properties
- Developers asked to build marketing data pipelines
Prerequisites
- Working knowledge of GA4 events and reports (see Google Analytics 4 and Tag Manager)
- Basic SQL:
SELECT,WHERE,GROUP BYand joins (see SQL for Data Analysts) - A Google Cloud project; the BigQuery sandbox is enough for the exercises
Outcomes
By the end of this course you will be able to:
- Link GA4 to BigQuery and understand every part of the export schema.
- Write SQL that rebuilds sessions, conversions and channel reports from raw events.
- Keep query costs predictable with partitioning, clustering and sensible filters.
- Combine web data with business data to build reporting tables for dashboards.
Projects you'll build
- Session and landing page table – a scheduled query that turns raw events into one row per session with source, landing page and conversion flags, practising
UNNESTand window functions. - Channel attribution comparison – first-touch versus last-non-direct revenue by channel, practising user-level sequencing and joins.
- Marketing ROI dataset – GA4 conversions joined with ad spend and CRM deals, published to a Looker Studio dashboard, practising data modelling and cost control.
Tools you'll use
BigQuery (Studio and the sandbox), the GA4 public sample e-commerce dataset, Google Ads data transfer, and Looker Studio.
Course outline
| Module | Topic |
|---|---|
| 1 | Why raw GA4 data, and linking the export |
| 2 | BigQuery basics: projects, datasets, pricing |
| 3 | The GA4 event schema |
| 4 | UNNEST, parameters and user properties |
| 5 | Rebuilding sessions and engagement |
| 6 | Traffic sources and reconciling with the GA4 interface |
| 7 | E-commerce and item-level analysis |
| 8 | Attribution models in SQL |
| 9 | Cost control: partitions, clustering, dry runs |
| 10 | Joining ads, CRM and order data |
| 11 | Scheduled queries and reporting tables |
| 12 | Project: a marketing ROI dataset and dashboard |
FAQ
Is BigQuery expensive?
For most small and medium GA4 properties, storage and queries stay modest if you filter by date and avoid SELECT *. We set up budgets and alerts in the first module and show you how to estimate a query's cost before you run it. Check Google Cloud's current pricing page for exact figures.
How is this different from the GA4 and Tag Manager course?
Google Analytics 4 and Tag Manager covers collecting data correctly and using the GA4 interface. This course starts where that one stops: analysing the raw export with SQL.
Do I need to know Python?
No. Everything is done in SQL inside BigQuery, with Looker Studio for visualisation.
How do I join?
Get in touch and we'll share the current format, schedule and enrolment details.