Follow our setup guide to connect Google Analytics 4 Export to Fivetran.
To connect your Google Analytics 4 Export account to Fivetran, you need:
- A Google Analytics 4 account
- A Google Cloud Platform role with sufficient permissions to provision IAM roles for BigQuery access and Storage Object creation (Bigquery Job User role for Project, BigQuery Data Viewer role for DatasetId, and Storage Object Admin role for BucketName)
Find Fivetran emaillink
In your connector setup form, make a note of the unique auto-generated email address at the bottom of the setup form (for example,
email@example.com). You will need this email to configure your source system to sync with Fivetran.
NOTE: The auto-generated email is tied to your account. If you close and re-open the setup form, the email will remain the same. You may wish to keep the tab open in the background while you configure your source for convenience, but closing it is also OK.
Configure BigQuery export for GA4Exportlink
Find BigQuery Project ID and Dataset IDlink
In your Google Cloud Console, go to your projects list.
Find the Project ID of the project you created in Step 2 and make a note of it. You will need it to configure Fivetran.
Under the project, find the dataset that you created in Step 2 and make a note of it. You will need it to configure Fivetran.
Grant permissions to Fivetranlink
Go to your Google Cloud Platform project principals list.
Click + Add to create a new user. The Add principals form appears.
In the New principals field, enter the auto-generated email address you copied in Step 1.
Bigquery Job User,
BigQuery Data Viewer, and
Storage Object Adminroles for the Fivetran account. These roles provide permissions to:
- Run, enumerate, and cancel our own jobs (updates)
- Enumerate the dataset and tables within a project
Fivetran must have these permissions to access Google Analytics 4 Export tables and create the jobs necessary to query the BigQuery tables. Use a separate project for datasets that you do not want Fivetran to be able to query.
Set up a Google Cloud Platform bucketlink
You must host a Google CLoud Platform bucket that Fivetran can use temporarily as a staging environment while we perform your syncs. Using a GCP bucket reduces sync times for large data sets, which are common in Google Analytics 4 Export connectors.
IMPORTANT: 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 Bucket.
- Name and configure your bucket. Make a note of your bucket name. You will need it to configure Fivetran.
- After you create your bucket, click the bucket name to see the Bucket details page, then go to the Permissions tab. In the Permissions section, click Add.
- Enter the auto-generated email address you copied in Step 1 as a new principal and assign it the “Storage Object Admin” role, then click Save.
Finish Fivetran configurationlink
- Enter your chosen destination schema name in your connector setup form.
- Enter the Project ID that you found in Step 3.
- Enter the Dataset ID that you found in Step 3.
- In the Bucket Name field, enter the name of the bucket you set up in Step 5.
- Click Save & Test. Fivetran will take it from here and sync your data from Google Analytics 4 Export.