How to use Google Analytics Premium’s BigQuery?
Now that you know what it’s possible to achieve with Google Analytics Premium and BigQuery, let’s take a concrete look at how the tool is used.
First off, to be able to export Google Analytics data into BigQuery, you’ll need a Google Analytics Premium account. You’ll need to make an integration request with your Google Premium account manager, and provide information including your Google Analytics view ID and your BigQuery project ID. Note that there are costs for data storage and processing with Google BigQuery, but Google Analytics Premium users get a $500/month credit that, in many cases, will take you a long way. And remember, you only pay for what you use.
Where does your Google Analytics Premium data go?

Your Google Analytics data is automatically stored in your BigQuery project. The name of the dataset will be the Google Analytics view ID you specified, same as you’d see in the Google Analytics user interface under “View Settings.”
A new table will be created every day in the following format “ga_sessions_YYYYMMDD” and stored within the dataset for your view. Each row in a table corresponds to a GA session, and each column has different information pertaining to that session. You can refer to the documentation explaining format and schema of the Google Analytics Premium data that is imported into BigQuery, to better understand what inforamtion is available in the table.
Using BigQuery
You’ll be able to query your data through SQL queries. If you’re familiar with SQL, using Google BigQuery will be easy for you. You may want to look over the following documentation for more information on SQL queries in BigQuery.
The BigQuery interface looks like this:

To create a new query, simply click on “Compose Query.” Then enter your SQL query in the editor, and click “Run Query.”

Within a few seconds, a results table will appear just below your query.
Exporting data

You can also export your query results as a CSV or new table, but even better than that, you can connect Google BigQuery to data visualization tools like Tableau, QlikView or even Bime. These will allow you to immediately visualize your data in graphics, tables, and other formats that make the data easier to understand, for your analyses and dashboard.
Importing data
There are several ways to load data into BigQuery: you can upload a simple CSV file, or import data from Google Cloud Storage – though you have to first import your data into the Cloud to be able to find it with BigQuery.

You can also load data with a POST request, or through other Google services. There are lots of options available to load all types of data, from the lowly table to the monster database.
And there you have it! You’re up to date on all the possibilities that open up to you when you integrate Google BigQuery with Google Analytics Premium. Have you ever used this tool? If not, do you think you might benefit from it, or something like it? Share your experience! And don’t hesitate to contact us if you have questions about Google BigQuery or Google Analytics Premium.
I would like to thank my colleagues Aurélie Bailliache and Marie Nicollet for their contribution to this post.
Share this
You May Also Like
These Related Stories

How to use BigQuery from Google Analytics Premium?
ANALYTICS AND MEASUREMENT Now that you know what you can do with Google Analytics Premium and BigQuery , let's see how this tool works in practice. To take advantage of the automatic integration of Google Analytics data into BigQuery, you must be a Google Analytics Premium user. You will need to make an integration request to your Google Premium account manager, providing information such as the identifier of the Google Analytics view concerned and your BigQuery project number. Note that there are costs for data storage and processing in Google BigQuery, but Google Analytics Premium users get a $500/month credit that will get you far enough in most cases. Remember, you only pay for what you use. WHERE TO FIND YOUR GOOGLE ANALYTICS PREMIUM DATA? Your Google Analytics data is automatically stored in your BigQuery project. The name of the data set will be the identifier of the Google Analytics view concerned, an identifier that you will find in the Admin interface, under “View parameters” …

Why export your Google Analytics 4 data to BigQuery
The new version of Google Analytics, commonly referred to as GA4, offers the ability to export raw data from the platform to Google Cloud BigQuery. This is an important decision by Google, given that previously only customers of the paid version of Google Analytics 360 had access to this feature. Here's why marketers will need to consider this option carefully in 2021. HOW TO SAVE $150,000 IN GOOGLE ANALYTICS 360 LICENSE FEES Besides the fact that it will adequately prepare you for the big changes to come in the world of digital marketing, the other major advantage of implementing GA4 is that it offers the possibility of exporting – FOR FREE – its raw data from Google Analytics to the BigQuery warehouse in Google Cloud. The gold mine represented by access to raw data in web analytics is also one of the main reasons that have motivated several large companies to obtain a GA 360 license. As mentioned in our previous GA4 article , this is a huge savings that now gives preferred cloud acce …

Why You Should Export Your Google Analytics 4 Data to BigQuery
The new version of Google Analytics, commonly referred to as GA4, offers the opportunity to export raw data from the platform towards Google Cloud’s BigQuery. It’s a big decision by Google, given that previously, only customers of the paid version of Google Analytics 360 had access to this functionality. Here’s why marketers should consider this option carefully in 2021. How to save $150,000 in Google Analytics 360 licensing fees Other than the fact that it helps prepare you for the seismic changes coming in the world of digital marketing, the major advantage of implementing GA4 is that it provides you with the opportunity to export your raw data – FREE – from Google Analytics to Google Cloud’s BigQuery data warehouse. The goldmine represented by having access to raw analytics data is one of the main reasons many large companies decided to procure GA 360 licenses in the first place. As mentioned in our earlier article on GA4, this represents a massive savings and opens up access to the …
Repérer et valoriser ce qui compte vraiment.
Recevez nos analyses et conseils pour rester à l’avant-garde du numérique.