Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This page describes how to set up Google Analytics 4 (GA4) and Google BigQuery (BigQuery) to ingest raw, event-level data into Azure Databricks.
BigQuery setup
Enable the APIs
Identify the BigQuery project containing your exported GA4 data.
Enable the following APIs on that project, following Google's instructions:
Set up a GCP service account
To ingest your GA4 data from this BigQuery project, you need a GCP service account that corresponds to it.
In the top menu of the Service Accounts page, click + CREATE SERVICE ACCOUNT.
Under Grant this service account access to the project, enable the following roles:
- BigQuery Data Viewer
- BigQuery Job User
- BigQuery Read Session User
Complete service account creation.
On the Service accounts page, click the service account you created.
On the KEYS tab, click ADD KEY > Create new key.
In the Create private key modal, for Key type, select JSON.
Click CREATE.
This downloads your service account JSON key.
GA4 setup
Identify the GA4 property that you want to ingest from and export the property's data to BigQuery. For instructions, see Set Up BigQuery Export in the Google documentation.