Skip to main content
Firebase Auth → Apple Search AdsIntegration guide

Connecting Firebase Authentication to Apple Search 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. Apple Search Ads sells App Store placement, which means it lives entirely inside Apple's privacy framework and behaves unlike every other destination here. The join between them succeeds or fails on one thing: whether no user-level click identifier reaches the Firebase user identity before the conversion happens, because Apple Search Ads can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Apple Search Ads installs joined to Firebase users in your backend

Exchange the AdServices attribution token on first launch and store Apple's campaign, ad group and keyword response on the Firebase user's document, including anonymous users. Link anonymous accounts at sign-up rather than replacing them, or attribution orphans. Nothing goes back to Apple; you gain internal revenue by keyword from billing, joined on the UID.

Apple Search Ads attribution comes from the AdServices framework: the app requests an attribution token on first launch, and your server exchanges it with Apple for campaign, ad group and keyword information. Firebase Auth is how you attach that result to a person. Store the attribution response on the Firebase user's document at first auth, including the anonymous user if you create one at launch.

That only works if anonymous accounts are linked rather than replaced at sign-up. The token is fetched before anyone signs in; if sign-up creates a fresh UID, the attribution stays on an orphaned anonymous user and every paying customer looks organic. This is the specific way this pair breaks, and it is invisible in Apple's own reporting.

None of this goes back to Apple as user-level data. Apple reports installs and outcomes in its own aggregated way; what you gain is internal: revenue by Search Ads keyword from your billing system, joined on the UID. Treat it as directional, and check which fields Apple actually returns in your case, since the payload can be less detailed depending on the user's tracking permission.

Firebase Auth → Apple Search Ads · what breaks

Why this join usually fails — Firebase Auth → Apple Search Ads

  1. 01

    No user-level 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

    Expecting per-user attribution that does not exist

    Teams arrive expecting a click ID to join against and there is not one. Apple's framework is aggregate by design, with thresholds and delays, and no vendor can engineer around it.

  4. 04

    Nothing reconciles afterwards

    Apple Search Ads reports at campaign level with built-in delay and privacy thresholds. Reconciling it per user against your own records is not possible by design; compare install and post-install volumes at aggregate level over a settled window instead.

Firebase Auth → Apple Search Ads · the fix

What working looks like — Firebase Auth → Apple Search Ads

  • No user-level click identifier on every account

  • Conversions arriving in Apple Search Ads

    Results appear in Apple Search Ads reporting at campaign or keyword level, aggregated and delayed by design rather than by fault.

  • Reconciled against the source

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

Firebase Auth → Apple Search Ads · architecture

How Firebase Auth and Apple Search Ads 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

    Apple Search Ads needs a click to match

    Apple Search Ads needs the install and post-install events reported through its supported attribution path. There is no offline conversion upload in the sense the other platforms mean it, and expecting one is the usual source of wasted effort.

  3. 3

    The identifier is the bridge

    No user-level 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

    Deduplication is largely not your problem here, because you are not sending duplicate user-level events — Apple aggregates. What matters instead is not double-counting an install across your own MMP and Apple's reporting.

Firebase Auth → Apple Search Ads · normal or broken

Working vs. broken, side by side — Firebase Auth → Apple Search Ads

Normal, not a fault

  • No user-level 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

    Deduplication is largely not your problem here, because you are not sending duplicate user-level events — Apple aggregates. What matters instead is not double-counting an install across your own MMP and Apple's reporting.

  • Reconciles with the source

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

Actually broken

  • No user-level 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

    Teams arrive expecting a click ID to join against and there is not one. Apple's framework is aggregate by design, with thresholds and delays, and no vendor can engineer around it.

  • Nobody has reconciled it

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

Firebase Auth → Apple Search Ads · diagnose

Diagnostic order — Firebase Auth → Apple Search Ads

  1. 01

    Count accounts carrying no user-level 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

    Check whether your reporting expectations match Apple's framework

    If someone has promised per-user joins on App Store installs, that is the problem — not the implementation.

  5. 05

    Read the match rate, not the success message

    Apple Search Ads reports at campaign level with built-in delay and privacy thresholds. Reconciling it per user against your own records is not possible by design; compare install and post-install volumes at aggregate level over a settled window instead.

Firebase Auth → Apple Search Ads · prove

How it gets proven — Firebase Auth → Apple Search 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.

  • No user-level click identifier confirmed present on a live account.
  • Aggregate install and post-install volumes reconciled over a settled window, with the framework's delay stated.
  • Paid conversions reconciled per linked user identity against imported conversions.

Firebase Auth → Apple Search Ads · free audit

What we check in the free audit

  • Count accounts carrying no user-level click identifier
  • Follow one real conversion end to end
  • Check whether anonymous accounts are linked or orphaned at signup
  • Check whether your reporting expectations match Apple's framework
  • 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 → Apple Search Ads · when not to buy

When you don't need this — Firebase Auth → Apple Search Ads

  • If Apple Search 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 no user-level click identifier.
  • If you do not use anonymous auth, the linking problem does not arise.
  • If you have no iOS app, this destination does not apply at all — and if you do, budget for aggregate reporting rather than the per-order joins the rest of this library describes.

Firebase Auth → Apple Search Ads · what we deliver

What gets built — Firebase Auth → Apple Search 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 Apple Search Ads

    Attribution through Apple's own APIs, with post-install events reported through your mobile measurement partner where you use one.

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

Fetch the AdServices attribution token at first launch, resolve it server-side, and save the result on the Firebase user document. Link anonymous accounts at sign-up so it carries over.

Free · 30 min

Get Firebase Auth and Apple Search Ads joined properly

Free30 minutesNo obligation