How to set up BigQuery integration on Google Analytics
To set up BigQuery integration with Google Analytics, navigate to your GA4 property's Admin settings, select BigQuery Linking, and connect your Google Cloud project. This enables automatic export of your analytics data to BigQuery for advanced analysis and reporting.
Prerequisites
- Google Analytics 4 property
- Google Cloud Platform account with billing enabled
- Editor or Administrator access to GA4 property
- BigQuery API enabled in Google Cloud Console
Step-by-Step Instructions
Access BigQuery Linking Settings
Start the Linking Process
Select Your Google Cloud Project
- The BigQuery API is enabled for your project
- You have the necessary permissions (BigQuery Admin or Editor role)
- Billing is enabled for the project
Configure Data Location and Dataset
analytics_[PROPERTY_ID] in your selected project.Choose Export Settings
- Daily export: Exports data once per day (free)
- Streaming export: Exports data in near real-time (paid feature)
- Include advertising identifiers: Enable if you need advertising IDs in your exports
Review and Confirm Settings
Complete the Link Setup
Verify the Integration
analytics_[PROPERTY_ID]. Once data begins flowing, you'll see daily tables with names like events_YYYYMMDD containing your GA4 event data.Common Issues & Troubleshooting
BigQuery Linking option not visible in Admin settings
Ensure you're using a Google Analytics 4 property (not Universal Analytics) and have Editor or Administrator permissions. BigQuery linking is not available for Universal Analytics properties.
Google Cloud Project not appearing in the selection list
Verify that the BigQuery API is enabled in your GCP project, billing is activated, and you have BigQuery Admin or Editor role permissions for the project.
Data not appearing in BigQuery after 24 hours
Check your GA4 property data retention settings, ensure you have recent traffic in your GA4 property, and verify the link status is Active in BigQuery Linking settings. Sometimes initial exports can take up to 48 hours.
Streaming export not working despite being enabled
Confirm that streaming export is enabled in your linking configuration and that your GCP project has sufficient BigQuery quotas. Check the BigQuery logs in Google Cloud Console for any error messages.