Google Analytics 4
Web and app analytics with GA4: its event-based model, acquisition reports, explorations, conversions and BigQuery export.
Intermediate · about 5 hours · difficulty 2/5
Learn first: Event Tracking and Tracking Plans
Google Analytics 4 (GA4) is the most widely installed web analytics tool, so marketing and ecommerce analysts meet it constantly.
GA4's data model
Everything is an event with parameters. Page views, scrolls and clicks are events; so are purchases. Key events (formerly conversions) are events you mark as important.
Core reports
- Acquisition: where users come from, grouped by default channel groupings (Organic Search, Paid Search, Email, Referral, Direct).
- Engagement: pages and screens, events, engaged sessions and engagement rate.
- Monetisation: ecommerce purchases, revenue, items.
- Retention: returning users and cohort views.
Explorations
The Explore section lets you build free-form tables, funnels, path explorations, segment overlaps and cohort explorations. This is where analysts do most real work inside GA4.
UTM parameters
Campaign links tagged with utm_source, utm_medium and utm_campaign decide how traffic is attributed. Inconsistent tagging is the top cause of messy channel reports.
BigQuery export
GA4 can export raw events daily to BigQuery for free. Then you query nested event data with SQL (UNNEST(event_params)) and join it to CRM or order data, beyond what the interface allows.
Caveats
Consent mode, ad blockers, sampling in some explorations, and thresholding for small numbers mean GA4 totals rarely match backend systems exactly. Treat it as directionally right, and use backend data for revenue.
Pitfall: comparing GA4 revenue to finance revenue and panicking. You are ready to move on when you can build a funnel exploration in the GA4 demo account and query the public GA4 sample dataset in BigQuery.
Key concepts
- GA4 event-based data model
- Acquisition and channel groupings
- Key events (conversions)
- Explorations: funnels and paths
- UTM tagging
- BigQuery export and UNNEST
- Consent, sampling and data gaps
Mini project
Use the GA4 demo account for the Google Merchandise Store to build a checkout funnel exploration, then reproduce one metric with SQL on the public GA4 BigQuery sample dataset.
Check yourself
Why would GA4 purchase revenue differ from the orders database, and which should a finance report use?
Free resources
- Google Analytics Help (Google)
- Google Analytics developer docs (Google)
- Google Skillshop (Google)