Google Analytics 4 Export Setup Guide
Prerequisites
- A Google Analytics 4 account.
- A Google Cloud Platform user with sufficient permissions to assign IAM roles for BigQuery access and Storage Object creation:
| ROLE | REASON |
|---|---|
| BigQuery Job User | To create queries |
| BigQuery Data Viewer | To view the data |
| Storage Object Admin | To automate data loading |
| Storage Bucket Viewer | To validate bucket |
Setup Guide
-
Configure BigQuery export for GA4Export: Set up BigQuery Export
-
Find BigQuery Project ID and Dataset ID: Project List
-
Grant permissions to MATIA:
- Go to your Google Cloud Platform Projects: Project List
- Select desired project.
- Click +Grant Access to create a new user.
- In the New principals field, enter the auto-generated MATIA email address: matia-****@***...
- Select the Bigquery Job User, BigQuery Data Viewer, Storage Bucket Viewer, and Storage Object Admin roles.
- Click save.
-
Create a Google Cloud Platform bucket:
The GCP bucket must be in the same Google Cloud Project as your Google Analytics 4 Export export destination.
- Go to the Google Cloud Console Storage Browser
- Click CREATE
- Go to the Bucket details page, then go to the Permissions tab. In the Permissions section, click +GRANT ACCESS.
- Enter the auto-generated MATIA email address as a new principal and assign it the Storage Object Admin and Storage Bucket Viewer roles.
- Click SAVE