Skip to main content
Supabase Auth → LinkedInIntegration guide

Connecting Supabase Auth to LinkedIn Ads

Supabase Auth sits directly on your own Postgres database, which means the identity and the revenue can be joined with a query rather than through an integration. LinkedIn is where B2B advertisers pay the highest cost per click in the industry, which makes an unmeasured conversion more expensive here than almost anywhere. The join between them succeeds or fails on one thing: whether the li_fat_id click identifier reaches the Supabase user before the conversion happens, because LinkedIn can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Supabase Auth to LinkedIn CAPI: B2B signups with li_fat_id on file

For B2B SaaS on Supabase, write li_fat_id to the user row so every later conversion can carry it. Send two LinkedIn conversions with hashed email from a scheduled job: the confirmed signup, which lands inside the window, and the first paid subscription from users joined to billing. Ask for work emails if social logins are personal, and filter test accounts.

LinkedIn is the right destination when the Supabase app is B2B SaaS, and Supabase makes the hard part easy: once the li_fat_id is written to the user row, every later conversion for that account can be sent with it, whether it happens tomorrow or after a long trial.

Send two conversions, defined separately in Campaign Manager: the confirmed signup, from email_confirmed_at or first login, and the first paid subscription, from a query joining users to billing. The signup gives LinkedIn volume inside its window; the paid conversion is what the business counts, and with trial-to-paid cycles longer than your attribution setting it will often land outside it. A scheduled job, on pg_cron or outside Supabase, can send both with the hashed email.

Social login works against you on LinkedIn: a Sign in with Google email is often personal, and hashed-email matching misses it. With the li_fat_id stored that matters less; without it, ask for a work email during onboarding and send that. Filter test accounts and your own team's domain out of the query before anything is sent.

Supabase Auth → LinkedIn · what breaks

Why this join usually fails — Supabase Auth → LinkedIn

  1. 01

    The li_fat_id click identifier never reaches Supabase Auth

    OAuth flows redirect off-site and back, which can lose an identifier captured before login.

  2. 02

    Building a pipeline for a join you could write in SQL

    Teams reach for a CDP or an event pipeline to connect identity to revenue when both tables sit in the same database. The simplest correct answer is usually a scheduled query.

  3. 03

    Long B2B cycles against LinkedIn's windows

    LinkedIn's attribution windows are configurable and finite, while B2B deals close in quarters. A conversion that matters commercially frequently falls outside the window that LinkedIn will credit, and that gap has to be reported rather than argued about.

  4. 04

    Nothing reconciles afterwards

    Campaign Manager reports conversions against each defined conversion action with its own window. A successful API call is not a matched conversion — reconcile LinkedIn's reported conversions against your CRM for the same window, and expect a gap wherever your sales cycle exceeds the attribution setting.

Supabase Auth → LinkedIn · the fix

What working looks like — Supabase Auth → LinkedIn

  • The li_fat_id click identifier on every account

  • Conversions arriving in LinkedIn

    Conversions appear in Campaign Manager against the campaign, with the value you sent, and feed LinkedIn's optimization and its company-level reporting.

  • Reconciled against the source

Supabase Auth → LinkedIn · architecture

How Supabase Auth and LinkedIn actually connect

  1. 1

    Supabase Auth holds the truth

    Because everything is in one Postgres instance, the join that most products build a pipeline for is a SQL statement here. That is a genuine advantage and it is frequently unused.

  2. 2

    LinkedIn Ads needs a click to match

    LinkedIn matches server events on the click identifier where present and hashed user data otherwise. Conversions have to be defined in Campaign Manager before anything can be sent against them, and the definition includes the attribution window and counting rule.

  3. 3

    The identifier is the bridge

    The li_fat_id click identifier, captured at the visit and carried into the Supabase user.

  4. 4

    The event source decides reliability

    Send paid conversions from a query joining auth users to billing.

  5. 5

    Deduplication at the destination

    LinkedIn deduplicates on an event identifier shared between the Insight Tag and the Conversions API. Running both without pairing them doubles every conversion, which on LinkedIn's cost per click is an expensive error to leave running.

Supabase Auth → LinkedIn · normal or broken

Working vs. broken, side by side — Supabase Auth → LinkedIn

Normal, not a fault

  • The li_fat_id click identifier present on the account

  • Sent from your own database

  • Deduplicated correctly

    LinkedIn deduplicates on an event identifier shared between the Insight Tag and the Conversions API. Running both without pairing them doubles every conversion, which on LinkedIn's cost per click is an expensive error to leave running.

  • Reconciles with the source

Actually broken

  • The li_fat_id click identifier missing on most records

    OAuth flows redirect off-site and back, which can lose an identifier captured before login.

  • Sent from the browser

    Teams reach for a CDP or an event pipeline to connect identity to revenue when both tables sit in the same database. The simplest correct answer is usually a scheduled query.

  • Counted twice, or not at all

    LinkedIn's attribution windows are configurable and finite, while B2B deals close in quarters. A conversion that matters commercially frequently falls outside the window that LinkedIn will credit, and that gap has to be reported rather than argued about.

  • Nobody has reconciled it

Supabase Auth → LinkedIn · diagnose

Diagnostic order — Supabase Auth → LinkedIn

  1. 01

    Count accounts carrying the li_fat_id click identifier

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether identity and billing are in the same database

    If they are, most of the usual integration complexity is unnecessary.

  4. 04

    Confirm auto-tagging is on and the conversion is defined in Campaign Manager

    Two settings, both easy to miss, and either one missing means nothing matches.

  5. 05

    Read the match rate, not the success message

    Campaign Manager reports conversions against each defined conversion action with its own window. A successful API call is not a matched conversion — reconcile LinkedIn's reported conversions against your CRM for the same window, and expect a gap wherever your sales cycle exceeds the attribution setting.

Supabase Auth → LinkedIn · prove

How it gets proven — Supabase Auth → LinkedIn

Source of truth

Your own database, joining the auth user to the subscription or order table.

  • The li_fat_id click identifier confirmed present on a live account.
  • Auto-tagging confirmed enabled, the conversion defined in Campaign Manager, and deduplication verified on a real conversion.
  • Paid conversions reconciled by query against imported conversions, with identifier survival verified across OAuth.

Supabase Auth → LinkedIn · free audit

What we check in the free audit

  • Count accounts carrying the li_fat_id click identifier
  • Follow one real conversion end to end
  • Check whether identity and billing are in the same database
  • Confirm auto-tagging is on and the conversion is defined in Campaign Manager
  • Read the match rate, not the success message

Checked against

Your own database, joining the auth user to the subscription or order table.

Get my free conversion tracking audit

Free30 minutesNo obligation

Supabase Auth → LinkedIn · when not to buy

When you don't need this — Supabase Auth → LinkedIn

  • Measure identifier coverage yourself first — pull your last hundred accounts and count how many carry the li_fat_id click identifier.
  • If billing lives in a separate system, the join is a real integration again and the advantage disappears.
  • If you are not selling to businesses, LinkedIn's cost per click is very hard to justify and no measurement work changes that arithmetic.

Supabase Auth → LinkedIn · what we deliver

What gets built — Supabase Auth → LinkedIn

  • Identifier capture into Supabase Auth

    Persist the identifier before the OAuth redirect and write it onto the user row at first login, where it is then permanently queryable.

  • Event source: your own database

    Send paid conversions from a query joining auth users to billing.

  • Dispatch to LinkedIn

    Server events to the LinkedIn Conversions API with the click identifier, hashed user data and a matched event identifier.

  • Reversals where they exist

    Cancellations reverse against the same user row.

Written guarantee

95%+ tracking accuracy

Measured against Your own database, joining the auth user to the subscription or order table.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Supabase Auth → LinkedIn questions, answered

Store the li_fat_id on the user at first login, then send confirmed signups and paid conversions from your database with the click ID and a hashed email. Define both conversions in Campaign Manager first.

Free · 30 min

Get Supabase Auth and LinkedIn joined properly

Free30 minutesNo obligation