What is GA4 Dataform
mainGA4 Dataform is a Google Cloud Dataform project designed to transform raw GA4 BigQuery data exports into modular, user-friendly tables. It acts as a starter pack for building custom data models on top of GA4 raw data.
Key Features:
- Generation of unique
user_keyandga_session_key. - Output of digestible tables including session, user_transaction_daily, and event tables.
- Optional Gclid widening (mapping GA4 gclid to Google Ads Data Transfer click-view gclid).
- Event-level last-click attribution.
- Helper functions for unnesting BigQuery
event_params, extracting page URLs, and applying default channel groupings.
Limitations:
- Currently supports web properties only; app properties are not yet tested.
- Attribution models are device-based (using
user_pseudo_id) rather than user-based (user_id).