Skip to main content
mParticle → SalesforceIntegration guide

Connecting mParticle to Salesforce

mParticle is built around mobile identity resolution, which is the hard case — an app install severs the browser cookie, and stitching the two sides is the entire value proposition. Sending conversions into Salesforce rather than out of it is how marketing data reaches the place sales actually works. The join between them succeeds or fails on one thing: whether the Lead or Contact identity reaches the mParticle user event before the conversion happens, because Salesforce can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

mParticle to Salesforce: one profile, one Contact, one key

Store your customer ID in an external ID field on the Salesforce Contact and upsert on it, so mParticle and Salesforce matching agree. Write the acquisition source and carried web click ID onto the Lead or Contact so a later Opportunity names the campaign. Send only key milestones, such as signup and first purchase, with platform marked.

Two identity systems meet in this pair: mParticle resolves people by IDSync rules, and Salesforce by whatever matching rules your org configured. If they key on different things, mParticle on customer ID and Salesforce on email, a customer who changes email stays one mParticle profile and becomes two Salesforce records. Store your customer ID in an external ID field on Contact and upsert on it. Check whether your mParticle setup has a Salesforce output covering Sales Cloud, or whether this needs middleware.

This pair usually exists because the app has a sales-assisted tier: a user starts in the app and a salesperson closes a team or enterprise plan. The mParticle profile should then write its acquisition source and the web click identifier, carried through the install flow as a user attribute, onto the Lead or Contact, so the Opportunity that closes months later still names the campaign that produced the app user.

Do not stream every app event into Salesforce. It burns API limits and buries the record. Write the few milestones sales cares about, such as signup, a usage threshold and the first purchase, as fields or activity records, with platform marked, because a web signup and an app signup can close at very different rates.

mParticle → Salesforce · what breaks

Why this join usually fails — mParticle → Salesforce

  1. 01

    The Lead or Contact identity never reaches mParticle

    The web-to-app transition. A user clicks an ad in a browser, installs the app and converts inside it, and nothing carries across without deliberate deferred-deep-link handling.

  2. 02

    Identity merge rules quietly setting your conversion count

    Merge too aggressively and two people become one customer. Merge too conservatively and one customer becomes three conversions. Neither failure announces itself and both change the number your bidding runs on.

  3. 03

    Writes that succeed and change nothing

    Field-level security, validation rules and required-field constraints can reject a write while the API reports success. Open the record and look rather than trusting the response.

  4. 04

    Nothing reconciles afterwards

    Check the record in Salesforce itself, not the API response. Then confirm the value survives Lead conversion onto the Contact, Account and Opportunity — the mapping is separate and is usually the thing that was missed.

mParticle → Salesforce · the fix

What working looks like — mParticle → Salesforce

  • The Lead or Contact identity on every event

  • Conversions arriving in Salesforce

    The marketing context appears on the record and flows into the opportunity, where sales and reporting can both use it.

  • Reconciled against the source

mParticle → Salesforce · architecture

How mParticle and Salesforce actually connect

  1. 1

    mParticle holds the truth

    Identity resolution decides which events belong to which person, and the merge rules you configure directly determine your conversion counts. Get them wrong and you either duplicate people or collapse strangers together.

  2. 2

    Salesforce needs a click to match

    Salesforce needs a resolvable record and a custom field to write to. Field-level security and validation rules can silently reject writes, which is a Salesforce-specific failure that returns success at the API level and changes nothing.

  3. 3

    The identifier is the bridge

    The Lead or Contact identity, captured at the visit and carried into the mParticle user event.

  4. 4

    The event source decides reliability

    Send settled transactions from the resolved profile, with platform noted, so web and app performance stay distinguishable.

  5. 5

    Deduplication at the destination

    Salesforce deduplicates according to whatever matching rules your org has configured, which vary enormously between instances. Duplicate Leads are the standard failure and merging them afterwards is manual work.

mParticle → Salesforce · normal or broken

Working vs. broken, side by side — mParticle → Salesforce

Normal, not a fault

  • The Lead or Contact identity present on the event

  • Sent from the mParticle server-side feed

  • Deduplicated correctly

    Salesforce deduplicates according to whatever matching rules your org has configured, which vary enormously between instances. Duplicate Leads are the standard failure and merging them afterwards is manual work.

  • Reconciles with the source

Actually broken

  • The Lead or Contact identity missing on most records

    The web-to-app transition. A user clicks an ad in a browser, installs the app and converts inside it, and nothing carries across without deliberate deferred-deep-link handling.

  • Sent from the browser

    Merge too aggressively and two people become one customer. Merge too conservatively and one customer becomes three conversions. Neither failure announces itself and both change the number your bidding runs on.

  • Counted twice, or not at all

    Field-level security, validation rules and required-field constraints can reject a write while the API reports success. Open the record and look rather than trusting the response.

  • Nobody has reconciled it

mParticle → Salesforce · diagnose

Diagnostic order — mParticle → Salesforce

  1. 01

    Count events carrying the Lead or Contact identity

  2. 02

    Follow one real conversion end to end

  3. 03

    Audit the identity priority order

    Read the configured hierarchy and test it against known duplicate accounts before trusting any downstream count.

  4. 04

    Write a test value and open the record in the UI

    The API saying it worked and the field actually holding the value are different things in Salesforce more than anywhere else.

  5. 05

    Read the match rate, not the success message

    Check the record in Salesforce itself, not the API response. Then confirm the value survives Lead conversion onto the Contact, Account and Opportunity — the mapping is separate and is usually the thing that was missed.

mParticle → Salesforce · prove

How it gets proven — mParticle → Salesforce

Source of truth

The resolved user profile, joined to your billing or order system.

  • The Lead or Contact identity confirmed present on a live event.
  • A test value confirmed present on the record in the UI, and confirmed to survive Lead conversion.
  • Distinct paying customers in billing reconciled against resolved profiles reporting a purchase.

mParticle → Salesforce · free audit

What we check in the free audit

  • Count events carrying the Lead or Contact identity
  • Follow one real conversion end to end
  • Audit the identity priority order
  • Write a test value and open the record in the UI
  • Read the match rate, not the success message

Checked against

The resolved user profile, joined to your billing or order system.

Get my free conversion tracking audit

Free30 minutesNo obligation

mParticle → Salesforce · when not to buy

When you don't need this — mParticle → Salesforce

  • Measure identifier coverage yourself first — pull your last hundred events and count how many carry the Lead or Contact identity.
  • Web-only businesses rarely need this. The mobile identity problem is what justifies the complexity, and without an app you are paying for a solution to a problem you do not have.
  • If your Salesforce org is administered by a team you cannot get time with, scope their availability before starting — this build is usually blocked on admin access rather than on the work.

mParticle → Salesforce · what we deliver

What gets built — mParticle → Salesforce

  • Identifier capture into mParticle

    Capture the identifier on the web, pass it through the install attribution flow, and set it as a user attribute on the app-side profile so the eventual purchase can still name its origin.

  • Event source: the mParticle server-side feed

    Send settled transactions from the resolved profile, with platform noted, so web and app performance stay distinguishable.

  • Dispatch to Salesforce

    API writes to the Lead or Contact record, or a platform event, carrying the marketing context as custom field values.

  • Reversals where they exist

    Refunds and subscription cancellations reverse against the same profile.

Written guarantee

95%+ tracking accuracy

Measured against The resolved user profile, joined to your billing or order system.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

mParticle → Salesforce questions, answered

Check mParticle's integration directory; listings for Salesforce products exist, and whether Sales Cloud is covered for your use case needs confirming. Middleware is the fallback.

Free · 30 min

Get mParticle and Salesforce joined properly

Free30 minutesNo obligation