Search

Home

What is Code Cube

Privacy & security

FAQ

Configure BigQuery data access

Configure BigQuery data access

This guide shows you how to access your raw Tag Monitor data in your own BigQuery environment, using BigQuery's Analytics Hub. This lets you run deeper analyses and custom queries on your monitoring data.

What will you do?

  • Share your Google account with the Code-Cube.io team
  • Choose or create your Google Cloud Platform (GCP) project
  • Open the shared dataset link and subscribe
  • Find the dataset in your BigQuery environment

⏰ Estimated time: 10 minutes

🔧 Requirements: A Premium Code-Cube.io package, a Google account, and a GCP project with BigQuery and billing enabled

How it works

Analytics Hub uses a publish/subscribe model. Code-Cube.io publishes your Tag Monitor data, and you subscribe to it from your own GCP project. You get read-only access to a real-time dataset, and all query costs are billed to your own GCP project.

Detail
Value
Available data
Tag Monitor client-side data and Tag Monitor server-side data
Update frequency
Real-time streaming, typically within 1 - 2 minutes
Data retention
12 months
Data volume
Depends on your website traffic and sampling configuration
Access type
Read-only, via BigQuery Analytics Hub

Step 1 – Share your Google account

Send the Google account that should receive access to your contact at Code-Cube.io, or email support@code-cube.io.

☝🏼

Important: Make sure this Google account has access to the GCP project where you want the data.

Step 2 – Choose or create your GCP project

Choose the GCP project where you want to use the data, or create a new GCP project.

☝🏼

Important: Make sure BigQuery is enabled on the project.

Step 3 – Open the shared dataset link

Once the Code-Cube.io team has set up your access, you'll receive a data exchange link. Open it while logged in with the Google account you shared in Step 1.

3.1 Subscribe to the dataset

On the page that opens, click + Subscribe.

image

3.2 Configure the linked dataset

  • Project: choose your GCP project
  • Linked dataset name: enter a descriptive name, for example codecube-tag-monitor
image

Step 4 – Access your data

In the GCP console, go to BigQuery and find the newly added dataset.

image

Troubleshooting

Problem
What to check
Can't find the dataset
You opened the link while logged in with the shared Google account
Access denied error in BigQuery
The shared Google account has access to the GCP project
Data doesn't appear in the project
The dataset was added via the "+ Add dataset to project" button
Query errors
Billing and the right permissions are active on your project

Still stuck? Email support@code-cube.io.

Next steps

  • Run SQL queries directly in BigQuery
  • Visualize the data in Looker Studio
  • Connect the dataset to your other tools