This repo holds the code used by GOV.UK to partition and flatten GA4 data using DataForm in the GCP project gds-bq-reporting
-
ga4_process_shard.sqlxThis defines which shard should be processed by the pipeline -
partitioned_events.sqlxThis partitions the sharded nested GA4 data -
ga4_process_partition.sqlxThis defines the parition ID to flatten -
partitioned_flattened_events.sqlxThis flattens the nested partition