Skip to main content
Supabase Auth → Amazon AdsIntegration guide

Connecting Supabase Auth to Amazon 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. Amazon Ads spans two entirely different situations, and most guidance discusses them as though they were one. The join between them succeeds or fails on one thing: whether a click identifier only for off-Amazon destinations reaches the Supabase user before the conversion happens, because Amazon Ads can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Supabase Auth and Amazon Ads: a SaaS signup isn't an Amazon sale

Amazon Attribution needs an Amazon listing, which a Supabase-based product doesn't have, so only Amazon DSP applies. Keep the DSP click identifier through the auth flow and OAuth redirects, write it to the profile row at first login, and upload paying users found by joining to subscriptions as off-Amazon conversions. Treat it as a fixed-budget test.

Amazon Attribution measures off-Amazon ads that send people to Amazon product listings. A product built on Supabase Auth sells accounts and subscriptions on your own domain, so there's no Amazon listing for Attribution to measure. That leaves Amazon DSP, buying display inventory that points to your signup page, as the only part of Amazon Ads with a conversion you could send.

If you run DSP, the Supabase side is the easy half. Read the DSP click identifier on the landing page, keep it through the auth flow, including any OAuth redirect to GitHub or Google, and write it onto the user's profile row at first login. From there, a scheduled query joining that row to your subscriptions table finds the users who became paying customers, with their value and date. Upload those as off-Amazon conversions in whatever format your DSP account accepts. Confirm that with your Amazon contact, because DSP conversion import options vary by setup.

Be skeptical about whether this is worth it. DSP audiences are built on shopping behavior, which rarely predicts who signs up for a developer or B2B product. Run it as a test with a fixed budget and judge it by paid conversions from that query. Ignore DSP's view-through numbers.

Supabase Auth → Amazon Ads · what breaks

Why this join usually fails — Supabase Auth → Amazon Ads

  1. 01

    A click identifier only for off-Amazon destinations 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

    Per-order attribution promised on Amazon-completed sales

    It does not exist and cannot be built. Amazon owns the checkout and does not release the join. Any proposal offering per-order attribution on sales completing inside Amazon is describing something unavailable.

  4. 04

    Nothing reconciles afterwards

    For off-Amazon conversions, reconcile normally against your own records. For on-Amazon sales, Amazon Attribution is aggregated and delayed by construction — it cannot be reconciled per order and is not meant to be.

Supabase Auth → Amazon Ads · the fix

What working looks like — Supabase Auth → Amazon Ads

  • A click identifier only for off-Amazon destinations on every account

  • Conversions arriving in Amazon Ads

    Off-Amazon conversions appear against the campaign. On-Amazon sales appear in Amazon's aggregated attribution reporting, delayed.

  • Reconciled against the source

Supabase Auth → Amazon Ads · architecture

How Supabase Auth and Amazon Ads 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

    Amazon Ads needs a click to match

    For off-Amazon destinations, an event with a value and the click identifier. For on-Amazon conversions, nothing — the measurement is not yours to do and Amazon Attribution provides aggregated reporting instead.

  3. 3

    The identifier is the bridge

    A click identifier only for off-Amazon destinations, 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

    Only relevant for off-Amazon conversions where both a tag and a server event exist. For on-Amazon purchases the question does not arise, because you are not measuring the conversion at all.

Supabase Auth → Amazon Ads · normal or broken

Working vs. broken, side by side — Supabase Auth → Amazon Ads

Normal, not a fault

  • A click identifier only for off-Amazon destinations present on the account

  • Sent from your own database

  • Deduplicated correctly

    Only relevant for off-Amazon conversions where both a tag and a server event exist. For on-Amazon purchases the question does not arise, because you are not measuring the conversion at all.

  • Reconciles with the source

Actually broken

  • A click identifier only for off-Amazon destinations 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

    It does not exist and cannot be built. Amazon owns the checkout and does not release the join. Any proposal offering per-order attribution on sales completing inside Amazon is describing something unavailable.

  • Nobody has reconciled it

Supabase Auth → Amazon Ads · diagnose

Diagnostic order — Supabase Auth → Amazon Ads

  1. 01

    Count accounts carrying a click identifier only for off-Amazon destinations

  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

    Establish which Amazon product and which destination you are running

    On-Amazon and off-Amazon are different measurement problems, and conflating them wastes the entire engagement.

  5. 05

    Read the match rate, not the success message

    For off-Amazon conversions, reconcile normally against your own records. For on-Amazon sales, Amazon Attribution is aggregated and delayed by construction — it cannot be reconciled per order and is not meant to be.

Supabase Auth → Amazon Ads · prove

How it gets proven — Supabase Auth → Amazon Ads

Source of truth

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

  • A click identifier only for off-Amazon destinations confirmed present on a live account.
  • The ad product and destination confirmed in writing before any build, so the right measurement question is being answered.
  • Paid conversions reconciled by query against imported conversions, with identifier survival verified across OAuth.

Supabase Auth → Amazon Ads · free audit

What we check in the free audit

  • Count accounts carrying a click identifier only for off-Amazon destinations
  • Follow one real conversion end to end
  • Check whether identity and billing are in the same database
  • Establish which Amazon product and which destination you are running
  • 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 → Amazon Ads · when not to buy

When you don't need this — Supabase Auth → Amazon Ads

  • Measure identifier coverage yourself first — pull your last hundred accounts and count how many carry a click identifier only for off-Amazon destinations.
  • If billing lives in a separate system, the join is a real integration again and the advantage disappears.
  • If all your Amazon spend drives to Amazon listings, there is no conversion tracking build here — only a reporting exercise in Amazon's own tools.

Supabase Auth → Amazon Ads · what we deliver

What gets built — Supabase Auth → Amazon Ads

  • 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 Amazon Ads

    Conversion upload for off-Amazon destinations. For on-Amazon sales, Amazon's own attribution reporting is the only view.

  • 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 → Amazon Ads questions, answered

Only through Amazon DSP campaigns pointing at your site, with the click identifier stored on the user and the conversion uploaded. Amazon Attribution doesn't apply to products sold on your own domain.

Free · 30 min

Get Supabase Auth and Amazon Ads joined properly

Free30 minutesNo obligation