What syncs from Supabase
Supabase runs on Postgres, so PostHog doesn't sync a fixed list of tables. You choose the tables and columns, and how each one stays up to date.
Your app tables
Sync tables and views from your public schema, or any other schema PostHog can read.
Supabase Auth users
Sync auth.users to get the signup date, last sign-in, and sign-in provider for each user.
Pick your columns
Leave out columns you don't want in PostHog, like tokens or private notes.
Secrets stay out
Vault tables and Realtime's daily message partitions don't sync unless you turn them on.
Choose a sync method per table
Change data capture
Streams inserts, updates, and deletes in near real time. Needs a direct connection and Supabase's IPv4 add-on.
Incremental
Pulls changed rows on a schedule, using a cursor column like updated_at.
Append-only
Adds new rows on a schedule. Best for event or log tables that only grow.
Full table
Re-copies the whole table each time. Best for small tables that change often.
With change data capture, PostHog can also keep a history table of every change. Use it to see when an account changed plan.
How to connect Supabase
Enter your Session pooler host, database user, and password, then pick the tables to sync. Use your database password, not your Supabase account password. If row-level security blocks a table, give PostHog's role a policy for it.

Questions you can answer with Supabase and PostHog
Product
Which signups activate?
Join Supabase Auth users to their first week of product events. Find the early actions that separate users who stay from users who leave.
Growth
Where do new users get stuck in setup?
Add the rows your app writes, like a first project or an invited teammate, to your funnels. See which step new users skip.
Which users signed up and never came back?
Compare the signup and last sign-in times in auth.users with product events. Find the users who left after day one, and what they saw first.
Retention
Which accounts are going quiet?
Measure retention and stickiness per account, with the account IDs from your database. You don't need to stitch together anonymous users.
Which power users are still on the free plan?
Put each account's plan from your database next to its product usage. Find the free accounts that use your product like paying ones.
Use Supabase data across PostHog
Once it's in PostHog, your app data isn't stuck in the SQL editor. You can use it everywhere you already work.
Session replay
Watch the first session of every user who signed up this week. See where they got stuck.
Feature flags
Roll out a feature to accounts on a specific plan. Map the plan column to a person property, and each sync keeps it current.
Surveys
Ask users who signed up this week how setup went. Or ask free power users what would make them upgrade.
Error tracking
Rank exceptions by the plan of the accounts that hit them. Fix the bug that blocks your paying users first.
Alerts
Watch a number only your database has, like new projects per day. Get an alert when it drops below normal.
Do it once, reuse it everywhere
Build a “signed up this week” cohort from auth.users once. Reuse it as a replay filter, flag target, survey audience, and alert.
Read about cohorts →Find out who ghosted you after signup
auth.users knows when they signed up and when they last signed in. PostHog knows why they left.
Not using PostHog? Sign up





