The sample dataset provides an obfuscated Google Analytics 4-property dataset that can be accessed via BigQuery. It’s a great way to look at business data and experiment and learn the benefits of analyzing Google Analytics data in BigQuery.In this article:
Access the dataset
To access the dataset:
If you're new to BigQuery (or you don't have a project set up yet) visit BigQuery sandbox.
Once you have a project, use this link to access the dataset. Click View Dataset to open the dataset in your project.
Click Query Table to run a query.
In the future you can access the dataset within BigQuery by selecting the bigquery-public-data project from the left-hand navigation panel, then select the events_ table under the ga4_obfuscated_sample_ecommerce dataset.
Where it comes from
The sample dataset contains obfuscated Analytics data from the Google Merchandise Store, a real ecommerce store. The Google Merchandise Store sells Google-branded merchandise. The data is typical of what you would see for an ecommerce website. It includes the following kinds of information:
- Traffic source data: information about where website visitors originate. This includes data about organic traffic, paid search traffic, display traffic, etc.
- Content data: information about the behavior of users on the site. This includes the URLs of pages that visitors look at, how they interact with content, etc.
- Transactional data: information about the transactions that occur on the Google Merchandise Store website.
All users have viewer access to the dataset. This means that you can query the dataset and generate reports but you cannot complete administrative tasks. Data for some fields have been obfuscated such as fullVisitorId, or removed such as clientId, adWordsClickInfo and geoNetwork. “Not available in demo dataset” will be the returned for STRING values and “null” will be returned for INTEGER values, when querying the fields that contain no data.