Skip to main content
mParticle → BigQueryIntegration guide

Connecting mParticle to BigQuery

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. BigQuery has no attribution model, no deduplication rules and no opinion about your data — which makes it the only destination on this site where every number is exactly as good as the query that produced it. The join between them succeeds or fails on one thing: whether whatever join key you decide on reaches the mParticle user event before the conversion happens, because BigQuery can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

mParticle to BigQuery: keep the MPID history, not just today's

BigQuery is where you test mParticle's merge rules against billing. Use mParticle's BigQuery warehouse output if your plan has it, or load an event stream yourself, keeping MPID, customer ID, device IDs and platform on every row. Join events through an identity mapping table with valid-from timestamps, keep the web click ID as a column, and reconcile distinct paying customers.

BigQuery is where you check whether mParticle's merge rules count customers correctly, because it is the one destination here that lets you put resolved profiles next to your billing system and count both. Check whether your mParticle plan includes its data warehouse output for BigQuery; otherwise load from an event stream integration yourself. Either way, keep the MPID, your customer ID, device identifiers and platform on every row.

Profiles change after the fact. When IDSync merges or aliases two profiles, events already loaded under the old MPID do not rewrite themselves. Keep an identity mapping table with valid-from timestamps and join events to customers through it, or a merged user's early events stay attached to a profile that no longer exists and your counts of distinct purchasers drift upward.

The click identifier captured on the web and carried through the install flow should land as a user attribute column alongside the in-app purchase. That row is what lets you send app purchases back to Google, Meta or Reddit later with a click ID, and the first query to run is the share of app purchasers that have one. Then reconcile distinct paying customers in billing against distinct customer IDs with a purchase in the warehouse.

mParticle → BigQuery · what breaks

Why this join usually fails — mParticle → BigQuery

  1. 01

    Whatever join key you decide on 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

    The warehouse quietly disagreeing with every platform

    This is not a bug — it is the point. Your warehouse counts orders; Google counts click-attributed conversions in its window; Meta counts differently again. When the four numbers differ, the warehouse is usually right about revenue and wrong about attribution, and knowing which question you are answering is the whole skill.

  4. 04

    Nothing reconciles afterwards

    BigQuery will not tell you anything is wrong. Verify by querying the table directly against your source system's own totals, and check for duplicate rows on the join key before trusting any aggregate.

mParticle → BigQuery · the fix

What working looks like — mParticle → BigQuery

  • Whatever join key you decide on on every event

  • Conversions arriving in BigQuery

    The row lands in a table you own, joinable to every other table you own, with no window and no expiry.

  • Reconciled against the source

mParticle → BigQuery · architecture

How mParticle and BigQuery 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

    BigQuery needs a click to match

    BigQuery needs a schema and consistent types. The failure mode is not rejection, it is silent divergence: a column that arrives as a string in one load and an integer in the next, or a timestamp in the wrong zone, which produces answers that look plausible and are not.

  3. 3

    The identifier is the bridge

    Whatever join key you decide on, 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

    Nothing deduplicates for you. Streaming inserts are at-least-once, so a retried load can create duplicate rows, and the only protection is a deduplication step you write and actually run.

mParticle → BigQuery · normal or broken

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

Normal, not a fault

  • Whatever join key you decide on present on the event

  • Sent from the mParticle server-side feed

  • Deduplicated correctly

    Nothing deduplicates for you. Streaming inserts are at-least-once, so a retried load can create duplicate rows, and the only protection is a deduplication step you write and actually run.

  • Reconciles with the source

Actually broken

  • Whatever join key you decide on 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

    This is not a bug — it is the point. Your warehouse counts orders; Google counts click-attributed conversions in its window; Meta counts differently again. When the four numbers differ, the warehouse is usually right about revenue and wrong about attribution, and knowing which question you are answering is the whole skill.

  • Nobody has reconciled it

mParticle → BigQuery · diagnose

Diagnostic order — mParticle → BigQuery

  1. 01

    Count events carrying whatever join key you decide on

  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

    Reconcile warehouse order counts against each platform for one closed window

    The gaps localize the problem: a gap against all platforms is a collection issue, a gap against one is that platform's window or matching.

  5. 05

    Read the match rate, not the success message

    BigQuery will not tell you anything is wrong. Verify by querying the table directly against your source system's own totals, and check for duplicate rows on the join key before trusting any aggregate.

mParticle → BigQuery · prove

How it gets proven — mParticle → BigQuery

Source of truth

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

  • Whatever join key you decide on confirmed present on a live event.
  • Warehouse order counts and revenue reconciled against the source system for a fully closed window, with duplicates checked on the join key.
  • Distinct paying customers in billing reconciled against resolved profiles reporting a purchase.

mParticle → BigQuery · free audit

What we check in the free audit

  • Count events carrying whatever join key you decide on
  • Follow one real conversion end to end
  • Audit the identity priority order
  • Reconcile warehouse order counts against each platform for one closed window
  • 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 → BigQuery · when not to buy

When you don't need this — mParticle → BigQuery

  • Measure identifier coverage yourself first — pull your last hundred events and count how many carry whatever join key you decide on.
  • 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 you have one store and one ad platform, a warehouse is infrastructure you will maintain for a reconciliation you could do in a spreadsheet.

mParticle → BigQuery · what we deliver

What gets built — mParticle → BigQuery

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

    Streaming inserts or scheduled batch loads from your order system, with the raw event retained alongside whatever you derive from it.

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

mParticle has offered data warehouse outputs that include BigQuery; check your plan and the current integration directory. If it is not available to you, load from an event stream integration instead.

Free · 30 min

Get mParticle and BigQuery joined properly

Free30 minutesNo obligation