Skip to main content
Firebase Auth → LinkedInIntegration guide

Connecting Firebase Authentication to LinkedIn 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. LinkedIn is where B2B advertisers pay the highest cost per click in the industry, which makes an unmeasured conversion more expensive here than almost anywhere. The join between them succeeds or fails on one thing: whether the li_fat_id click identifier reaches the Firebase user identity before the conversion happens, because LinkedIn can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Firebase signups to LinkedIn CAPI: a B2B SaaS question only

Only B2B Firebase products belong on LinkedIn. Capture li_fat_id on the marketing site and write it to the user document at the first authenticated request, then send a qualified signup when the account links and a paid account when billing confirms, with hashed email and an event identifier shared with the Insight Tag. Never send anonymous users.

LinkedIn makes sense for a Firebase product only when it is B2B software bought by people LinkedIn can target by role. A consumer app has no business paying LinkedIn's cost per click for signups. If you are B2B, capture li_fat_id on the marketing site and write it to the user's document at the first authenticated request, keyed on the Firebase UID, so a conversion weeks later can still find it.

Define two conversions in Campaign Manager: a qualified signup when the account is linked to a real identity, and a paid account when billing confirms payment for that UID. Optimize toward the paid one if volume allows; signups on a free tier are cheap for LinkedIn to find and say little about pipeline. The gap between web signup and in-app payment often exceeds LinkedIn's attribution window, so report the difference instead of arguing it away.

Firebase sign-in providers shape match quality. Google sign-in often returns a personal Gmail address, while Microsoft or Google Workspace sign-in returns a work domain that LinkedIn can tie to a company, which is what makes its company-level reporting usable. Send the hashed email with every event, deduplicate against the Insight Tag on the signup page through a shared event identifier, and never send anonymous users, who have neither an email nor a stable identity.

Firebase Auth → LinkedIn · what breaks

Why this join usually fails — Firebase Auth → LinkedIn

  1. 01

    The li_fat_id 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

    Long B2B cycles against LinkedIn's windows

    LinkedIn's attribution windows are configurable and finite, while B2B deals close in quarters. A conversion that matters commercially frequently falls outside the window that LinkedIn will credit, and that gap has to be reported rather than argued about.

  4. 04

    Nothing reconciles afterwards

    Campaign Manager reports conversions against each defined conversion action with its own window. A successful API call is not a matched conversion — reconcile LinkedIn's reported conversions against your CRM for the same window, and expect a gap wherever your sales cycle exceeds the attribution setting.

Firebase Auth → LinkedIn · the fix

What working looks like — Firebase Auth → LinkedIn

  • The li_fat_id click identifier on every account

  • Conversions arriving in LinkedIn

    Conversions appear in Campaign Manager against the campaign, with the value you sent, and feed LinkedIn's optimization and its company-level reporting.

  • Reconciled against the source

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

Firebase Auth → LinkedIn · architecture

How Firebase Auth and LinkedIn 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

    LinkedIn Ads needs a click to match

    LinkedIn matches server events on the click identifier where present and hashed user data otherwise. Conversions have to be defined in Campaign Manager before anything can be sent against them, and the definition includes the attribution window and counting rule.

  3. 3

    The identifier is the bridge

    The li_fat_id 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

    LinkedIn deduplicates on an event identifier shared between the Insight Tag and the Conversions API. Running both without pairing them doubles every conversion, which on LinkedIn's cost per click is an expensive error to leave running.

Firebase Auth → LinkedIn · normal or broken

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

Normal, not a fault

  • The li_fat_id 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

    LinkedIn deduplicates on an event identifier shared between the Insight Tag and the Conversions API. Running both without pairing them doubles every conversion, which on LinkedIn's cost per click is an expensive error to leave running.

  • Reconciles with the source

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

Actually broken

  • The li_fat_id 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

    LinkedIn's attribution windows are configurable and finite, while B2B deals close in quarters. A conversion that matters commercially frequently falls outside the window that LinkedIn will credit, and that gap has to be reported rather than argued about.

  • Nobody has reconciled it

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

Firebase Auth → LinkedIn · diagnose

Diagnostic order — Firebase Auth → LinkedIn

  1. 01

    Count accounts carrying the li_fat_id 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

    Confirm auto-tagging is on and the conversion is defined in Campaign Manager

    Two settings, both easy to miss, and either one missing means nothing matches.

  5. 05

    Read the match rate, not the success message

    Campaign Manager reports conversions against each defined conversion action with its own window. A successful API call is not a matched conversion — reconcile LinkedIn's reported conversions against your CRM for the same window, and expect a gap wherever your sales cycle exceeds the attribution setting.

Firebase Auth → LinkedIn · prove

How it gets proven — Firebase Auth → LinkedIn

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 li_fat_id click identifier confirmed present on a live account.
  • Auto-tagging confirmed enabled, the conversion defined in Campaign Manager, and deduplication verified on a real conversion.
  • Paid conversions reconciled per linked user identity against imported conversions.

Firebase Auth → LinkedIn · free audit

What we check in the free audit

  • Count accounts carrying the li_fat_id click identifier
  • Follow one real conversion end to end
  • Check whether anonymous accounts are linked or orphaned at signup
  • Confirm auto-tagging is on and the conversion is defined in Campaign Manager
  • 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 → LinkedIn · when not to buy

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

  • If LinkedIn 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 li_fat_id click identifier.
  • If you do not use anonymous auth, the linking problem does not arise.
  • If you are not selling to businesses, LinkedIn's cost per click is very hard to justify and no measurement work changes that arithmetic.

Firebase Auth → LinkedIn · what we deliver

What gets built — Firebase Auth → LinkedIn

  • 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 LinkedIn

    Server events to the LinkedIn Conversions API with the click identifier, hashed user 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 → LinkedIn questions, answered

Store li_fat_id on the user record at first authentication, then send the event server-side when the account is linked, with hashed email and the click ID. The conversion must already be defined in Campaign Manager.

Free · 30 min

Get Firebase Auth and LinkedIn joined properly

Free30 minutesNo obligation