Connect your data to Claude in 1 minute. No code needed Try it now

Connect Google Analytics 4 to Supabase

Send Google Analytics 4 reports built from 84 metrics and 374 dimensions to Supabase on a schedule. Pick the properties, choose metrics and dimensions and filter by date. Refresh as often as every 15 minutes.

capterra
star star star star star

4.9/5

Supabase schema google_analytics
  • report
Each Google Analytics 4 report lands in its own table. You pick the schema and table names.
Trusted by 200K+ users worldwide
Spotify
fifty-five
Al Jazeera
InPost
Visma
REHAU
Getir
Printify
Macromill
Stanford
Médecins Sans Frontières
Greenpeace
Save the Children
San Diego FC

How to connect Google Analytics 4 and Supabase

6 steps. You can preview the Google Analytics 4 data in Coupler.io before anything reaches Supabase.

Step 1 of 6

Connect Google Analytics 4

Sign in to Google Analytics 4 and authorize Coupler.io. There's no API key to copy.

Sign in with Google Analytics 4

Step 2 of 6

Choose what to export

Pick the Google Analytics 4 data you want in Supabase.

PropertiesNot setChoose the properties available in your accounts.

Step 3 of 6

Set the report period

Choose the date range the report covers.

Start dateAny dateSpecify the start date of the period that should be covered in your report. By default, the start date is set to 60 days ago.
End dateAny dateSpecify the end date of the period that should be covered in your report. The default end date is today.

Step 4 of 6

Pick metrics and dimensions

Choose what to measure and how to break it down.

DimensionsNot setSelect one or more values for “dimensions”, e.g. “Achievement ID”, “Ad format”, “Ad source”, “Ad unit”, “App version”.
MetricsNot setSelect one or more values for “metrics”, e.g. “1-day active users”, “28-day active users”, “7-day active users”, “Active users”, “Ad unit exposure”.

Step 5 of 6

Connect Supabase

Enter the connection details from your Supabase project's Connect panel, then the schema and table for the Google Analytics 4 data.

Hostaws-0-eu-central-1.pooler.supabase.comSession pooler host from the Supabase Connect panel
Port5432Default is 5432
DatabasepostgresUsually postgres
TablereportCreated automatically on the first run
Show 3 more fields Show fewer fields
Userpostgres.abcdefghijklmnopPooler user looks like postgres.[project-ref]
Password••••••••••••Database password, not an API key
Schemagoogle_analyticsA dedicated schema keeps it out of the Data API

Step 6 of 6

Choose a write mode and schedule

Every run either replaces or appends the data in Supabase. Run it as often as every 15 minutes.

Write mode

Each run deletes the existing rows in report and loads fresh Google Analytics 4 data.

Get the most of Google Analytics 4 to Supabase integration

Gather data icon

Gather data

Export data from numerous apps and sources into a single destination. Blend data from different apps to get a single source of truth.
Understand data icon

Understand data

Preview, transform, sort, and filter data for better clarity in just a few clicks in the Coupler.io interface. Take your data analytics to the next level.
Automate data icon

Automate data

Access data that is always up to date by enabling the automatic data refresh on a schedule as often as every 15 minutes and using triggered automation.
Act on data icon

Act on data

Visualize your data by quickly connecting to data visualization and BI tools. Build insightful dashboards in a breeze and make better decisions.
Google Analytics 4 to Supabase questions

You sign in to Google Analytics 4 and authorize Coupler.io. There's no API key to copy.

Yes. Set the start date and end date to cover the period you need.

Yes. Pick from 84 metrics and 374 dimensions.

Yes. On the first successful run, Coupler.io creates the google_analytics schema and the report table if the database user has the privileges to do so, and detects column types from the Google Analytics 4 data.

Its writes aren't governed by RLS policies, and the tables it creates have RLS turned off. Keep Google Analytics 4 data in a schema your app doesn't expose through the Data API.

On a schedule you choose, from monthly down to every 15 minutes, depending on your Coupler.io plan.

Yes. Add more sources to the same data flow, for example Google Ads or Facebook Ads, and join or append them before the data reaches Supabase.

High five for scrolling till the very end!
See you in the app!