Connecting Firebase Authentication to The Trade Desk
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. The Trade Desk buys across the open internet rather than inside a walled garden, which means it cannot rely on a logged-in graph and has to work with identity you help it construct. The join between them succeeds or fails on one thing: whether Unified ID 2.0, derived from a hashed email reaches the Firebase user identity before the conversion happens, because The Trade Desk can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Firebase Auth to The Trade Desk: UID2 from signed-in users
Send The Trade Desk conversions from billing keyed on uid, with the hashed email or UID2 read from the Firebase user record at send time. Anonymous users, phone-only users and Apple relay emails give nothing to match, so count them before forecasting reach. Treat click-attributed subscribers as the floor and use a holdout for view-through.
UID2 needs an email, and a Firebase product has one for every user who signed up by password, Google or most other providers, which makes the logged-in user base the addressable audience on The Trade Desk. Send conversions with the hashed email or UID2 so they can be matched back to impressions, and treat the uid purely as your lookup key for finding that email.
Three kinds of Firebase account give you nothing: anonymous users; phone-only users, unless your UID2 setup accepts phone numbers (check whether it does); and Apple users with a hidden relay email, which produce a valid-looking identifier that matches nobody. Count each before forecasting reach, because together they can be a large share of a mobile product.
Send the conversion from billing keyed on uid, with the email read from the Firebase user record at send time rather than cached at signup, since Firebase lets users change it. Because The Trade Desk buys alongside search and social, a new subscriber will often be claimed by all three; treat the click-attributed number as the floor and use a holdout for the view-through share.
Firebase Auth → The Trade Desk · what breaks
Why this join usually fails — Firebase Auth → The Trade Desk
- 01
Unified ID 2.0, derived from a hashed email 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.
- 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.
- 03
View-through conversions on the open internet
A large share of what a DSP claims is view-through: the person saw a display impression and later converted without clicking. Some of that is real influence and some of it is coincidence, and no post-click reporting can separate them. Treat the click-attributed number as the floor and prove the rest with a holdout.
- 04
Nothing reconciles afterwards
The Trade Desk reports match rates on uploaded conversions. Read the match rate — a low one means your authenticated share is the constraint, and no amount of pipeline work will change that.
Firebase Auth → The Trade Desk · the fix
What working looks like — Firebase Auth → The Trade Desk
Unified ID 2.0, derived from a hashed email on every account
Conversions arriving in The Trade Desk
The conversion is matched to an impression or click where identity resolves, and feeds the bidding models.
Reconciled against the source
Firebase Authentication's own records are the reference, not either dashboard.
Firebase Auth → The Trade Desk · architecture
How Firebase Auth and The Trade Desk actually connect
- 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
The Trade Desk needs a click to match
The Trade Desk needs the conversion with a UID2 or a hashed email it can resolve, plus the value and timestamp. Conversions from anonymous visitors cannot be matched at all.
- 3
The identifier is the bridge
Unified ID 2.0, derived from a hashed email, captured at the visit and carried into the Firebase user identity.
- 4
The event source decides reliability
Send paid conversions keyed on the user identity. Signups and anonymous sessions are stages, not revenue.
- 5
Deduplication at the destination
Deduplication is on your conversion identifier. Because open-internet buying frequently runs alongside search and social, the more consequential deduplication is across platforms rather than within this one.
Firebase Auth → The Trade Desk · normal or broken
Working vs. broken, side by side — Firebase Auth → The Trade Desk
Normal, not a fault
Unified ID 2.0, derived from a hashed email 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
Deduplication is on your conversion identifier. Because open-internet buying frequently runs alongside search and social, the more consequential deduplication is across platforms rather than within this one.
Reconciles with the source
The Trade Desk's count and Firebase Authentication's records agree within a few percent over a closed window.
Actually broken
Unified ID 2.0, derived from a hashed email 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
A large share of what a DSP claims is view-through: the person saw a display impression and later converted without clicking. Some of that is real influence and some of it is coincidence, and no post-click reporting can separate them. Treat the click-attributed number as the floor and prove the rest with a holdout.
Nobody has reconciled it
The dashboard shows a number and no one has compared it to Firebase Authentication.
Firebase Auth → The Trade Desk · diagnose
Diagnostic order — Firebase Auth → The Trade Desk
- 01
Count accounts carrying Unified ID 2.0, derived from a hashed email
- 02
Follow one real conversion end to end
- 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.
- 04
Split reported conversions into click-through and view-through
If the great majority are view-through, the honest next step is an incrementality test rather than a bid adjustment.
- 05
Read the match rate, not the success message
The Trade Desk reports match rates on uploaded conversions. Read the match rate — a low one means your authenticated share is the constraint, and no amount of pipeline work will change that.
Firebase Auth → The Trade Desk · prove
How it gets proven — Firebase Auth → The Trade Desk
Against Firebase Authentication's own records, not against either platform's dashboard.
Source of truth
Your billing system, keyed on the Firebase user ID.
- Unified ID 2.0, derived from a hashed email confirmed present on a live account.
- Matched conversions reconciled against your own order records, with the click-through and view-through split stated.
- Paid conversions reconciled per linked user identity against imported conversions.
Firebase Auth → The Trade Desk · free audit
What we check in the free audit
- Count accounts carrying Unified ID 2.0, derived from a hashed email
- Follow one real conversion end to end
- Check whether anonymous accounts are linked or orphaned at signup
- Split reported conversions into click-through and view-through
- Read the match rate, not the success message
Checked against
Your billing system, keyed on the Firebase user ID.
Free30 minutesNo obligation
Firebase Auth → The Trade Desk · when not to buy
When you don't need this — Firebase Auth → The Trade Desk
- If The Trade Desk 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 Unified ID 2.0, derived from a hashed email.
- If you do not use anonymous auth, the linking problem does not arise.
- If you cannot collect email addresses from a meaningful share of your buyers, UID2 has little to work with and the open internet is not yet an addressable channel for you.
Firebase Auth → The Trade Desk · what we deliver
What gets built — Firebase Auth → The Trade Desk
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 The Trade Desk
Server-side conversion upload with the hashed identity and value, from your order system.
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.
From $400 · See packages
FAQ
Firebase Auth → The Trade Desk questions, answered
No. The Trade Desk resolves on UID2 or hashed email; the uid only serves to look up the current email at send time.
No. They have no email, so no UID2 exists for them until the account is linked to a real credential.
Almost always because Unified ID 2.0, derived from a hashed email never reached the Firebase user identity. Anonymous authentication creates users before signup, and linking an anonymous account to a real one is a step teams frequently skip. Measure coverage before debugging the dispatch.
UID2 is built from a hashed and salted email address rather than from a cookie, which is the point: it is designed to survive third-party cookie deprecation. It also means the identifier only exists for people who gave you an email, so your addressable share is capped by your own authenticated traffic, not by the platform.
Your billing system, keyed on the user ID. Send paid conversions keyed on the user identity. Signups and anonymous sessions are stages, not revenue.
The Trade Desk reports match rates on uploaded conversions. Read the match rate — a low one means your authenticated share is the constraint, and no amount of pipeline work will change that.
More on Firebase Auth → The Trade Desk
- Supabase Auth → The Trade DeskConnecting Supabase Auth to The Trade Desk
- Stripe → The Trade DeskConnecting Stripe to The Trade Desk
- PayPal → The Trade DeskConnecting PayPal to The Trade Desk
RELATED GUIDES
Where Firebase Auth → The Trade Desk fits in the rest of your tracking
- Clerk → The Trade DeskConnecting Clerk to The Trade Desk
- Auth0 → The Trade DeskConnecting Auth0 to The Trade Desk
- Okta → The Trade DeskConnecting Okta to The Trade Desk
- Firebase Auth → OutbrainConnecting Firebase Authentication to Outbrain
- Firebase Auth → TaboolaConnecting Firebase Authentication to Taboola
- SaaSConversion tracking for SaaS, from signup through to the payment that matters
- Supabase Auth → The Trade DeskConnecting Supabase Auth to The Trade Desk
Free · 30 min
Get Firebase Auth and The Trade Desk joined properly
Free30 minutesNo obligation
