Evidence Studio

Overview

Evidence Studio is the managed cloud platform for Evidence. It hosts your Evidence project, handles deployment, and provides a built-in editor — with the same BigQuery connector as Evidence OSS. Connecting it to the Decode GA4 events table requires no local tooling.

Requirements

  • An Evidence Studio account
  • A Decode GA4 installation with the events table accessible in BigQuery
  • A Google Cloud service account with BigQuery Data Viewer and BigQuery Job User roles on the project

Setup

1. Create a project

In the Evidence Studio UI, create a new project. You can start from a blank template or connect an existing GitHub repository.

2. Add a BigQuery data source

In your project settings, navigate to Data Sources → Add Source → BigQuery. Enter your GCP project ID and upload your service account JSON key.

3. Query the events table

Create a new page in the editor and add a SQL query block:

```sql pageviews
select
    partition_date AS event_date,
    event_param.page_location,
    count(*) as pageviews
from your-gcp-project-id.your_dataset.events
where event_name = 'page_view'
group by partition_date, page_location
order by partition_date desc
```

Replace your_dataset with the dataset containing the Decode GA4 events table.

4. Visualise the results

<LineChart data={pageviews} x=event_date y=pageviews/>

Evidence Studio rebuilds and publishes your project automatically on each save or Git push.

Further Reading