Pre-Requisites

Preparation

External Table

In order to deploy Decode GA4 as an external table (i.e. using the events_external transform_config_template), 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.