https://github.com/alphagov/ga4-dataform
Repository to hold GA4 dataform processing
https://github.com/alphagov/ga4-dataform
data-services govuk
Last synced: 4 months ago
JSON representation
Repository to hold GA4 dataform processing
- Host: GitHub
- URL: https://github.com/alphagov/ga4-dataform
- Owner: alphagov
- Created: 2024-11-08T11:06:30.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-01T16:01:53.000Z (about 1 year ago)
- Last Synced: 2025-05-08T22:49:54.453Z (about 1 year ago)
- Topics: data-services, govuk
- Homepage:
- Size: 65.4 KB
- Stars: 2
- Watchers: 11
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This repo holds the code used by GOV.UK to partition and flatten GA4 data using DataForm in the GCP project `gds-bq-reporting`
## Key files
- `ga4_process_shard.sqlx` This defines which shard should be processed by the pipeline
- `partitioned_events.sqlx` This partitions the sharded nested GA4 data
- `ga4_process_partition.sqlx` This defines the parition ID to flatten
- `partitioned_flattened_events.sqlx` This flattens the nested partition