Connecting Firebase Authentication to PartnerStack
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. PartnerStack commissions partners on recurring subscription revenue rather than on a single order, which makes it the one destination here where a conversion you send creates a payment obligation that repeats every month. The join between them succeeds or fails on one thing: whether the PartnerStack referral key reaches the Firebase user identity before the conversion happens, because PartnerStack can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Firebase Auth to PartnerStack: the uid as the partner customer key
Read the partner referral key from the landing URL, write it to the Firebase user document at account creation, and register the customer with PartnerStack using the uid rather than an email. Let renewals, upgrades and cancellations flow from billing under the same uid, putting it in Stripe customer metadata if applicable. Link anonymous accounts, or referrals orphan.
PartnerStack pays partners on recurring revenue, so the customer key you register has to survive the life of the subscription. The Firebase uid is a better key than email: users can change their email in Firebase, and a commission tied to the old address breaks the next time billing reports a renewal. Read the referral key from the landing URL, store it, and write it onto the user's document the moment the account is created.
Firebase is where the customer becomes a known person; billing is where commission is earned. Register the customer with PartnerStack at signup using the uid, then let renewals, upgrades and cancellations flow from the billing system under the same uid. If billing runs on Stripe, check whether PartnerStack's own billing integration covers this, and put the uid in the Stripe customer's metadata so the two systems agree on who the customer is.
Anonymous auth is the specific trap. A visitor who arrives through a partner link gets an anonymous uid; if signup creates a new account instead of linking, the referral key sits on an orphaned user and the paying customer is unattributed. A partner who earned a recurring commission is never paid, and you find out when they ask.
Firebase Auth → PartnerStack · what breaks
Why this join usually fails — Firebase Auth → PartnerStack
- 01
The PartnerStack referral key 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
A commission that recurs on revenue that stopped
The mirror of the usual problem. If cancellations are not reported back, partners keep earning on subscriptions that churned months ago. Every conversion pipeline needs reversals; this one needs them because real money leaves the building otherwise.
- 04
Nothing reconciles afterwards
PartnerStack shows attributed customers and accruing commission per partner. Reconcile the commissionable revenue against your billing system's active subscriptions, not against its historical sales.
Firebase Auth → PartnerStack · the fix
What working looks like — Firebase Auth → PartnerStack
The PartnerStack referral key on every account
Conversions arriving in PartnerStack
The customer is attributed to a partner, and commission accrues against the recognized revenue on the schedule you configured.
Reconciled against the source
Firebase Authentication's own records are the reference, not either dashboard.
Firebase Auth → PartnerStack · architecture
How Firebase Auth and PartnerStack 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
PartnerStack needs a click to match
PartnerStack needs the referral key, the customer identifier and the subscription value. Recurring commission also needs the ongoing revenue reported, not just the first payment.
- 3
The identifier is the bridge
The PartnerStack referral key, 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 customer identifier. Reporting the same subscription twice creates two commissionable relationships against one paying customer, and the error compounds monthly rather than once.
Firebase Auth → PartnerStack · normal or broken
Working vs. broken, side by side — Firebase Auth → PartnerStack
Normal, not a fault
The PartnerStack referral key 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 customer identifier. Reporting the same subscription twice creates two commissionable relationships against one paying customer, and the error compounds monthly rather than once.
Reconciles with the source
PartnerStack's count and Firebase Authentication's records agree within a few percent over a closed window.
Actually broken
The PartnerStack referral key 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
The mirror of the usual problem. If cancellations are not reported back, partners keep earning on subscriptions that churned months ago. Every conversion pipeline needs reversals; this one needs them because real money leaves the building otherwise.
Nobody has reconciled it
The dashboard shows a number and no one has compared it to Firebase Authentication.
Firebase Auth → PartnerStack · diagnose
Diagnostic order — Firebase Auth → PartnerStack
- 01
Count accounts carrying the PartnerStack referral key
- 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
Check whether churn events reach PartnerStack at all
In most implementations the new-subscription path was built and the cancellation path was not, because only one of them is exciting.
- 05
Read the match rate, not the success message
PartnerStack shows attributed customers and accruing commission per partner. Reconcile the commissionable revenue against your billing system's active subscriptions, not against its historical sales.
Firebase Auth → PartnerStack · prove
How it gets proven — Firebase Auth → PartnerStack
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 PartnerStack referral key confirmed present on a live account.
- Commissionable recurring revenue reconciled against active subscriptions in billing, with cancellations proven to reverse.
- Paid conversions reconciled per linked user identity against imported conversions.
Firebase Auth → PartnerStack · free audit
What we check in the free audit
- Count accounts carrying the PartnerStack referral key
- Follow one real conversion end to end
- Check whether anonymous accounts are linked or orphaned at signup
- Check whether churn events reach PartnerStack at all
- Read the match rate, not the success message
Checked against
Your billing system, keyed on the Firebase user ID.
Free30 minutesNo obligation
Firebase Auth → PartnerStack · when not to buy
When you don't need this — Firebase Auth → PartnerStack
- If PartnerStack 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 PartnerStack referral key.
- If you do not use anonymous auth, the linking problem does not arise.
- If you run no partner or affiliate programme, there is nothing to send here. If you run one on one-off sales rather than subscriptions, the recurring-commission complexity does not apply to you.
Firebase Auth → PartnerStack · what we deliver
What gets built — Firebase Auth → PartnerStack
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 PartnerStack
Server-side reporting from your billing system, with the referral key, customer identifier and the recurring revenue as it is recognized.
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 → PartnerStack questions, answered
The uid. It never changes, while Firebase lets users update their email, and a changed key can split one subscription into two customers.
When a real credential is attached, at account creation or anonymous-account linking, not when an anonymous user is created. Revenue events then come from billing, not Firebase.
Almost always because the PartnerStack referral key 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.
PartnerStack attributes through a referral key carried on the link and stored against the customer. Because commissions are frequently paid on recurring revenue for the life of the subscription, losing the key does not cost a partner one commission — it costs them the whole relationship's worth, and produces a dispute you cannot resolve after the fact.
Your billing system, keyed on the user ID. Send paid conversions keyed on the user identity. Signups and anonymous sessions are stages, not revenue.
PartnerStack shows attributed customers and accruing commission per partner. Reconcile the commissionable revenue against your billing system's active subscriptions, not against its historical sales.
More on Firebase Auth → PartnerStack
- Firebase Auth → Google AdsConnecting Firebase Authentication to Google Ads
- Firebase Auth → MetaConnecting Firebase Authentication to Meta Conversions API
- Firebase Auth → GA4Connecting Firebase Authentication to GA4
RELATED GUIDES
Where Firebase Auth → PartnerStack fits in the rest of your tracking
- Clerk → PartnerStackConnecting Clerk to PartnerStack
- Okta → PartnerStackConnecting Okta to PartnerStack
- Auth0 → PartnerStackConnecting Auth0 to PartnerStack
- Firebase Auth → ImpactConnecting Firebase Authentication to Impact.com
- Firebase Auth → AwinConnecting Firebase Authentication to Awin
- SaaSConversion tracking for SaaS, from signup through to the payment that matters
- Supabase Auth → PartnerStackConnecting Supabase Auth to PartnerStack
Free · 30 min
Get Firebase Auth and PartnerStack joined properly
Free30 minutesNo obligation
