Connecting Firebase Authentication to Microsoft Ads
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. Microsoft Ads reaches an older, higher-income, more desktop-weighted audience than Google, and it is routinely the cheapest qualified traffic a B2B advertiser can buy. The join between them succeeds or fails on one thing: whether the MSCLKID reaches the Firebase user identity before the conversion happens, because Microsoft Ads can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Firebase user IDs carrying the MSCLKID to Microsoft Ads conversions
Capture the msclkid at web signup, write it to the user document keyed on the Firebase UID, and upload it as an offline conversion when billing reports the first payment, with payment time and first payment value. Fix anonymous-account linking first. Create account-created and first-payment goals, include only one in Conversions, and never upload renewals.
Microsoft search sends desktop users to your marketing site, while the payment for a Firebase product frequently happens later in a mobile app store. The only way that Bing click gets credit is a chain: msclkid captured at web signup, written to the user's document keyed on the Firebase UID, then read back when billing reports a paid subscription for that UID and uploaded as an offline conversion with the payment time and first payment value.
The break is identity, not tagging. A visitor who signs in anonymously on the web and later creates a real account in the app gets a new UID unless the anonymous account is linked, and the msclkid stays on the orphan. Fix linking before building the upload. Also check the timing: a trial that converts after several weeks may fall outside Microsoft's offline import window, so confirm the current limit in your account.
Create two offline goals, account created and first payment, and decide which one is included in the Conversions column so bidding is not fed both for the same click. Upload the first payment only, not every renewal, or long-lived subscribers dominate the signal. If refunds within your guarantee period are common, check whether your account supports offline conversion adjustments to retract them.
Firebase Auth → Microsoft Ads · what breaks
Why this join usually fails — Firebase Auth → Microsoft Ads
- 01
The MSCLKID 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
Auto-tagging switched off
Microsoft auto-tagging is frequently disabled in accounts that were set up quickly or imported from Google, and without it no MSCLKID arrives at all — so the entire offline import has nothing to match against and fails silently.
- 04
Nothing reconciles afterwards
Microsoft Ads reports offline conversion uploads with rows accepted and rejected. A successful upload is not a matched conversion — check that conversions actually appear against campaigns afterwards.
Firebase Auth → Microsoft Ads · the fix
What working looks like — Firebase Auth → Microsoft Ads
The MSCLKID on every account
Conversions arriving in Microsoft Ads
Conversions appear against the campaign, ad group and keyword that produced the click, with the value you sent, and become usable for automated bidding.
Reconciled against the source
Firebase Authentication's own records are the reference, not either dashboard.
Firebase Auth → Microsoft Ads · architecture
How Firebase Auth and Microsoft Ads 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
Microsoft Ads needs a click to match
Microsoft matches uploaded conversions to clicks using the MSCLKID, and the conversion goal must be created as an offline conversion type. The click has to fall inside Microsoft's import window — verify the current limit in your account rather than assuming it matches Google's.
- 3
The identifier is the bridge
The MSCLKID, 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
Microsoft deduplicates on the combination of click identifier, conversion name and conversion time. Uploading the same click against a second conversion goal counts twice, which is the usual cause of inflated numbers here.
Firebase Auth → Microsoft Ads · normal or broken
Working vs. broken, side by side — Firebase Auth → Microsoft Ads
Normal, not a fault
The MSCLKID 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
Microsoft deduplicates on the combination of click identifier, conversion name and conversion time. Uploading the same click against a second conversion goal counts twice, which is the usual cause of inflated numbers here.
Reconciles with the source
Microsoft Ads's count and Firebase Authentication's records agree within a few percent over a closed window.
Actually broken
The MSCLKID 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
Microsoft auto-tagging is frequently disabled in accounts that were set up quickly or imported from Google, and without it no MSCLKID arrives at all — so the entire offline import has nothing to match against and fails silently.
Nobody has reconciled it
The dashboard shows a number and no one has compared it to Firebase Authentication.
Firebase Auth → Microsoft Ads · diagnose
Diagnostic order — Firebase Auth → Microsoft Ads
- 01
Count accounts carrying the MSCLKID
- 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
Confirm auto-tagging is enabled and check the upload diagnostics
One account setting decides whether any of this works. Then read the per-row errors on the upload rather than the success count.
- 05
Read the match rate, not the success message
Microsoft Ads reports offline conversion uploads with rows accepted and rejected. A successful upload is not a matched conversion — check that conversions actually appear against campaigns afterwards.
Firebase Auth → Microsoft Ads · prove
How it gets proven — Firebase Auth → Microsoft Ads
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 MSCLKID confirmed present on a live account.
- Auto-tagging confirmed on, and the accepted count reconciled against conversions appearing in campaign reporting.
- Paid conversions reconciled per linked user identity against imported conversions.
Firebase Auth → Microsoft Ads · free audit
What we check in the free audit
- Count accounts carrying the MSCLKID
- Follow one real conversion end to end
- Check whether anonymous accounts are linked or orphaned at signup
- Confirm auto-tagging is enabled and check the upload diagnostics
- Read the match rate, not the success message
Checked against
Your billing system, keyed on the Firebase user ID.
Free30 minutesNo obligation
Firebase Auth → Microsoft Ads · when not to buy
When you don't need this — Firebase Auth → Microsoft Ads
- If Microsoft Ads 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 MSCLKID.
- If you do not use anonymous auth, the linking problem does not arise.
- If you are not running Microsoft Ads at meaningful spend, skip it — though for B2B the traffic is often cheaper and better qualified than people expect, which is worth testing before dismissing.
Firebase Auth → Microsoft Ads · what we deliver
What gets built — Firebase Auth → Microsoft Ads
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 Microsoft Ads
Offline conversion import through the Microsoft Advertising API or a scheduled upload.
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 → Microsoft Ads questions, answered
Yes, if the msclkid captured on the web is stored against the Firebase UID and uploaded when billing confirms payment for that UID. Without that stored link, the app purchase cannot be tied to the click.
Check that auto-tagging is on, then check whether anonymous web accounts are being linked. Unlinked accounts leave the stored msclkid on a user who never pays.
Almost always because the MSCLKID 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.
The MSCLKID, appended to your landing page URL when auto-tagging is enabled in the Microsoft Ads account. Auto-tagging is not on by default in every account, which is the single most common reason a Microsoft offline import finds nothing to match. Microsoft also supports enhanced conversions using hashed customer data as an alternative path.
Your billing system, keyed on the user ID. Send paid conversions keyed on the user identity. Signups and anonymous sessions are stages, not revenue.
Microsoft Ads reports offline conversion uploads with rows accepted and rejected. A successful upload is not a matched conversion — check that conversions actually appear against campaigns afterwards.
More on Firebase Auth → Microsoft Ads
- Firebase Auth → Google AdsConnecting Firebase Authentication to Google Ads
- Firebase Auth → Apple Search AdsConnecting Firebase Authentication to Apple Search Ads
- Firebase Auth → Amazon AdsConnecting Firebase Authentication to Amazon Ads
RELATED GUIDES
Where Firebase Auth → Microsoft Ads fits in the rest of your tracking
- Microsoft · B2BMicrosoft Ads conversion tracking for B2B companies
- Microsoft · SaaSMicrosoft Ads conversion tracking for SaaS companies
- Microsoft × SubscriptionsHow to reconcile Microsoft Ads against your billing system
- Microsoft · Signup → activationHow to track signup to product activation for Microsoft Ads
- Supabase Auth → Microsoft AdsConnecting Supabase Auth to Microsoft Ads
- Firebase Auth → LinkedInConnecting Firebase Authentication to LinkedIn Ads
- SaaSConversion tracking for SaaS, from signup through to the payment that matters
- Clerk → Microsoft AdsConnecting Clerk to Microsoft Ads
Free · 30 min
Get Firebase Auth and Microsoft Ads joined properly
Free30 minutesNo obligation
