Skip to main content
Firebase Auth → SnapchatIntegration guide

Connecting Firebase Authentication to Snapchat

Firebase Auth is usually the identity layer in a mobile-first product, which means the user ID it issues is the only thing connecting a web visit to an in-app purchase. Snapchat's audience is young, almost entirely mobile and inside an in-app browser, which is the least forgiving environment for browser-based tracking anywhere in paid media. The join between them succeeds or fails on one thing: whether the ScCid click identifier reaches the Firebase user identity before the conversion happens, because Snapchat can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Firebase Auth on Snapchat traffic: tie the webview click to a UID

If signup happens in Snapchat's in-app browser, read the ScCid server-side and write it to the Firebase user document. Google sign-in fails in that webview, so offer email link or phone sign-in. Send SIGN_UP when the account is linked and PURCHASE from billing at first payment, with hashed phone or email and an event identifier shared with the Snap Pixel.

Snapchat traffic for an app product often lands on a web page inside Snapchat's in-app browser before anyone installs anything. If signup happens there, read the ScCid server-side on that request and write it to the user's document keyed on the Firebase UID. If the user goes straight to the app store and signs up in the app, the web click ID path is gone and app install attribution is a separate system; do not try to rebuild it with Firebase.

The break particular to Firebase in this webview: Google blocks its sign-in flow inside embedded browsers, so a Sign in with Google button in Snapchat's in-app browser fails or forces the user out to Safari or Chrome, where the ScCid does not exist. Offer email link or phone sign-in on Snapchat landing pages, or carry the ScCid in the URL when you send the user out to a full browser.

Firebase phone auth gives you a verified number in a consistent format, which is a strong match key for an audience that hands over phone numbers more readily than email; normalize it before hashing. Send SIGN_UP when the account is linked and PURCHASE from billing when the UID first pays, both with hashed phone or email and an event identifier shared with any Snap Pixel event.

Firebase Auth → Snapchat · what breaks

Why this join usually fails — Firebase Auth → Snapchat

  1. 01

    The ScCid click identifier never reaches Firebase Auth

    Anonymous authentication creates users before signup, and linking an anonymous account to a real one is a step teams frequently skip.

  2. 02

    Anonymous accounts never linked to real ones

    Firebase's anonymous auth is convenient and creates a separate user. If it is not linked at signup, the pre-signup activity and the paying customer are two different people in every downstream system.

  3. 03

    The in-app browser loses the identifier

    Snapchat traffic arrives through a webview with inconsistent storage. Anything relying on the identifier still being in the browser at conversion time will lose a large share, and the loss is invisible unless you measure capture on Snapchat traffic specifically.

  4. 04

    Nothing reconciles afterwards

    Snapchat Ads Manager shows received and matched events. Arriving is not the test — deduplicated and matched is. Reconcile against your own records for the same window.

Firebase Auth → Snapchat · the fix

What working looks like — Firebase Auth → Snapchat

  • The ScCid click identifier on every account

  • Conversions arriving in Snapchat

    Events appear in Snapchat Ads Manager, deduplicated against the pixel, and become usable for optimization.

  • Reconciled against the source

    Firebase Authentication's own records are the reference, not either dashboard.

Firebase Auth → Snapchat · architecture

How Firebase Auth and Snapchat actually connect

  1. 1

    Firebase Authentication holds the truth

    Firebase holds identity, not revenue. Its value to measurement is that it gives a stable key that survives the web-to-app transition where every cookie dies.

  2. 2

    Snapchat needs a click to match

    Snapchat matches server events on the click identifier and hashed customer information. Send both — on this traffic the fallback carries a meaningful share of the events.

  3. 3

    The identifier is the bridge

    The ScCid click identifier, captured at the visit and carried into the Firebase user identity.

  4. 4

    The event source decides reliability

    Send paid conversions keyed on the user identity. Signups and anonymous sessions are stages, not revenue.

  5. 5

    Deduplication at the destination

    Snapchat deduplicates on a client-supplied event identifier shared between the pixel and the Conversions API, the same pattern as Meta. Mismatched identifiers mean double counting.

Firebase Auth → Snapchat · normal or broken

Working vs. broken, side by side — Firebase Auth → Snapchat

Normal, not a fault

  • The ScCid click identifier present on the account

    Visible on the record itself in Firebase Authentication, not merely captured somewhere on the site.

  • Sent from your billing system, keyed on the user ID

  • Deduplicated correctly

    Snapchat deduplicates on a client-supplied event identifier shared between the pixel and the Conversions API, the same pattern as Meta. Mismatched identifiers mean double counting.

  • Reconciles with the source

    Snapchat's count and Firebase Authentication's records agree within a few percent over a closed window.

Actually broken

  • The ScCid click identifier missing on most records

    Anonymous authentication creates users before signup, and linking an anonymous account to a real one is a step teams frequently skip.

  • Sent from the browser

    Firebase's anonymous auth is convenient and creates a separate user. If it is not linked at signup, the pre-signup activity and the paying customer are two different people in every downstream system.

  • Counted twice, or not at all

    Snapchat traffic arrives through a webview with inconsistent storage. Anything relying on the identifier still being in the browser at conversion time will lose a large share, and the loss is invisible unless you measure capture on Snapchat traffic specifically.

  • Nobody has reconciled it

    The dashboard shows a number and no one has compared it to Firebase Authentication.

Firebase Auth → Snapchat · diagnose

Diagnostic order — Firebase Auth → Snapchat

  1. 01

    Count accounts carrying the ScCid click identifier

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether anonymous accounts are linked or orphaned at signup

    Orphaned anonymous users are the most common Firebase identity failure and they silently break every cross-signup funnel.

  4. 04

    Measure capture rate on Snapchat traffic alone

    The in-app browser is the failure case, so a healthy overall rate can hide a poor one on precisely the traffic you are paying for.

  5. 05

    Read the match rate, not the success message

    Snapchat Ads Manager shows received and matched events. Arriving is not the test — deduplicated and matched is. Reconcile against your own records for the same window.

Firebase Auth → Snapchat · prove

How it gets proven — Firebase Auth → Snapchat

Against Firebase Authentication's own records, not against either platform's dashboard.

Source of truth

Your billing system, keyed on the Firebase user ID.

  • The ScCid click identifier confirmed present on a live account.
  • Capture rate measured on Snapchat traffic specifically, and deduplication confirmed on a real conversion.
  • Paid conversions reconciled per linked user identity against imported conversions.

Firebase Auth → Snapchat · free audit

What we check in the free audit

  • Count accounts carrying the ScCid click identifier
  • Follow one real conversion end to end
  • Check whether anonymous accounts are linked or orphaned at signup
  • Measure capture rate on Snapchat traffic alone
  • Read the match rate, not the success message

Checked against

Your billing system, keyed on the Firebase user ID.

Get my free conversion tracking audit

Free30 minutesNo obligation

Firebase Auth → Snapchat · when not to buy

When you don't need this — Firebase Auth → Snapchat

  • If Snapchat already reports conversions that reconcile against Firebase Authentication's records within a few percent, this join is working and there is nothing to buy.
  • Measure identifier coverage yourself first — pull your last hundred accounts and count how many carry the ScCid click identifier.
  • If you do not use anonymous auth, the linking problem does not arise.
  • If your customers are not in Snapchat's age profile, the channel is the wrong question and no measurement work fixes that.

Firebase Auth → Snapchat · what we deliver

What gets built — Firebase Auth → Snapchat

  • Identifier capture into Firebase Auth

    Capture the identifier on the web, write it to custom claims or your own user document at first auth, and link anonymous accounts rather than creating duplicates.

  • Event source: your billing system, keyed on the user ID

    Send paid conversions keyed on the user identity. Signups and anonymous sessions are stages, not revenue.

  • Dispatch to Snapchat

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

  • Reversals where they exist

    Cancellations reverse against the same identity.

Written guarantee

95%+ tracking accuracy

Measured against Your billing system, keyed on the Firebase user ID.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Firebase Auth → Snapchat questions, answered

Google blocks its sign-in flow inside embedded in-app browsers like Snapchat's. Offer email link or phone sign-in on those landing pages, or let users finish in a full browser with the click ID passed along.

Free · 30 min

Get Firebase Auth and Snapchat joined properly

Free30 minutesNo obligation