In the previous post. I provided various reasons to send the GA4 data to BigQuery.
In this post, I will provide step-by-step instructions for connecting GA4 and BigQuery so that you can see your data in BigQuery.
Signup for BigQuery and Create a Project
- Go to Google Cloud Console (https://console.cloud.google.com/).
- Create a new Google Cloud Console project or select an existing project, if you already have one.
- Open the Navigation menu in the top-left corner (three horizontal lines).
- Scroll down and click on APIs & Services and then click Library.
- Search for BigQuery API in the search box on the top.
- Click on BigQuery API.
- On the next page, click Enable.
- Review and agree to the Terms of Service, if required.
Now your BigQuery project is ready for you to send the GA4 Data.
Connect GA4 and BigQuery
- Login to your GA4 property.
- Go to the Admin panel.
- Go to the "BigQuery Links" section and click on it.
- Click on "Link" to link to the BigQuery Project.
- Pick the BigQuery Project that you want to send the data to (this is the one you created above).
- Next, pick the tables that you want to export. See the image below:
- You have three options
- Daily (Event Data) - this sends the GA4 event data at the end of the day.
- Streaming (Event Data) - this sends the real-time streaming data to BigQuery. This option is only available if you enter your credit card and enable billing in BigQuery. Don’t worry, if you have a small to medium-sized site then you will likely never pay for BigQuery even if you enable billing. BigQuery provides 10 GB of data storage and I TB of query data processing for free every month.
- Daily (User Data) - this sends the user data (both unknown and known users) at the end of the day.
I recommend that you enable all three options for maximum benefits. If you don’t want to enter a credit card then you will be limited to the “Daily” option only.
- Click, next, review and you are done.
Now your GA4 data will start to flow to BigQuery. It will take 24-48 hours for you to start seeing the data.
Stay tuned for the next post on GA4 with the BigQuery series.
If you need help with GA4 and BigQuery then reach out to us at email@example.com
Subscribe to my BigQuery with GA4 data newsletter at https://bigquery.beehiiv.com/