Skip to main content
Firebase Auth → MarketoIntegration guide

Connecting Firebase Authentication to Marketo

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. Marketo scores leads rather than counting conversions, which means what you send it does not report a number — it changes who your sales team calls tomorrow. The join between them succeeds or fails on one thing: whether the lead record, keyed on email reaches the Firebase user identity before the conversion happens, because Marketo can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Firebase Auth to Marketo: product signups as scored leads

When a Firebase account is created with a real credential, create or update the Marketo lead on its email and store the uid in a custom lead field. Exclude anonymous users from the creation trigger, handle email changes and phone-only users, and send one or two scored activation milestones plus the first payment from billing keyed on uid.

Marketo is only worth wiring to Firebase when the product is B2B and sales follows up on signups, typically a product-led SaaS app using Firebase for login. The join is the email on the Firebase user record: when an account is created with a real credential, create or update the Marketo lead on that email and store the uid in a custom lead field so later product events can find the same lead without relying on the email staying the same.

Firebase lets users change their email, and it lets them sign in by phone with no email at all. A changed email pushed naively to Marketo creates a second lead; a phone-only user cannot become a lead in a system keyed on email. Anonymous users should never reach Marketo: an auth trigger that fires on every user creation also fires for anonymous sessions, and each would become an empty lead.

What to send: account creation as the lead event, then one or two activation milestones that a scoring rule actually references, then the first payment from billing keyed on uid. Firebase never knows whether anyone paid, so the rule that marks a lead sales-ready should not depend on a Firebase event alone.

Firebase Auth → Marketo · what breaks

Why this join usually fails — Firebase Auth → Marketo

  1. 01

    The lead record, keyed on 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.

  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

    A scoring threshold crossed by a duplicate

    Unlike an ad platform, a duplicate here has an operational consequence: a lead is marked sales-ready, routed, and called by a person. Doing that on the strength of an event counted twice wastes the most expensive resource in the funnel.

  4. 04

    Nothing reconciles afterwards

    Marketo shows the activity log on the lead record with the resulting score change. Read the lead, not the API response, and verify no duplicate lead was created.

Firebase Auth → Marketo · the fix

What working looks like — Firebase Auth → Marketo

  • The lead record, keyed on email on every account

  • Conversions arriving in Marketo

    The activity lands on the lead, scoring rules evaluate, and the lead may move into a nurture programme or into the sales queue.

  • Reconciled against the source

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

Firebase Auth → Marketo · architecture

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

    Marketo needs a click to match

    Marketo needs the lead's email and the activity or custom object you are recording, with the fields the scoring rules actually reference. An activity that no scoring rule looks at changes nothing.

  3. 3

    The identifier is the bridge

    The lead record, keyed on email, 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

    Marketo deduplicates leads on email by default, but activities are not deduplicated. A purchase pushed twice can trigger a scoring rule twice and push a lead over a threshold it should not have crossed.

Firebase Auth → Marketo · normal or broken

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

Normal, not a fault

  • The lead record, keyed on 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

    Marketo deduplicates leads on email by default, but activities are not deduplicated. A purchase pushed twice can trigger a scoring rule twice and push a lead over a threshold it should not have crossed.

  • Reconciles with the source

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

Actually broken

  • The lead record, keyed on 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

    Unlike an ad platform, a duplicate here has an operational consequence: a lead is marked sales-ready, routed, and called by a person. Doing that on the strength of an event counted twice wastes the most expensive resource in the funnel.

  • Nobody has reconciled it

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

Firebase Auth → Marketo · diagnose

Diagnostic order — Firebase Auth → Marketo

  1. 01

    Count accounts carrying the lead record, keyed on email

  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 the lead's activity log after a test conversion

    One activity or two, and did the score move by the amount the rule specifies? That is the whole test.

  5. 05

    Read the match rate, not the success message

    Marketo shows the activity log on the lead record with the resulting score change. Read the lead, not the API response, and verify no duplicate lead was created.

Firebase Auth → Marketo · prove

How it gets proven — Firebase Auth → Marketo

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 lead record, keyed on email confirmed present on a live account.
  • Activities confirmed on single lead records with score changes matching the configured rules, and no duplicate leads created.
  • Paid conversions reconciled per linked user identity against imported conversions.

Firebase Auth → Marketo · free audit

What we check in the free audit

  • Count accounts carrying the lead record, keyed on email
  • Follow one real conversion end to end
  • Check whether anonymous accounts are linked or orphaned at signup
  • Check the lead's activity log after a test conversion
  • 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 → Marketo · when not to buy

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

  • If Marketo 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 lead record, keyed on email.
  • If you do not use anonymous auth, the linking problem does not arise.
  • If your sales team does not act on lead scores, pushing conversions into Marketo produces a tidier database and changes nothing about revenue.

Firebase Auth → Marketo · what we deliver

What gets built — Firebase Auth → Marketo

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

    The Marketo REST API, posted server-side to create or update the lead and record the activity.

  • 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 → Marketo questions, answered

Only signups with a work email, if your sales team works B2B accounts. Personal and free-mail addresses inflate the database and get scored like prospects nobody will call.

Free · 30 min

Get Firebase Auth and Marketo joined properly

Free30 minutesNo obligation