Requirements

Partitioned Table

To load transformed data into a date-partitioned table in BigQuery, then there are no pre-requisites to deploy, install and run Decode GA4. This is equivalent to selecting the events_partitioned transform_config_template using the installer app or executing the equivalent install DDL statement in BigQuery.

External Table (GCS)

To load transformed data to GCS and access from BigQuery (or other external systems) you first need to create a Google Cloud Storage (GCS) bucket. This will be the storage location for compressed, transformed events data. Creating a new bucket can be achieved through the Google Cloud user interface, command line or client libraries, and the executing user or service account must have storage.objects.create permissions on the bucket

Note that GCS bucket names need to be globally unique, so it makes sense to use a common, company-specific prefix (e.g. company-name-project-name) and then e.g. decode-ga4 as a suffix.