Skip to main content
DoorDash → MixpanelIntegration guide

Connecting DoorDash to Mixpanel

DoorDash is two products wearing one name — a marketplace that owns the customer, and Storefront, which powers ordering on your own site — and they have opposite attribution properties. Mixpanel is a product analytics tool, not an ad platform, which means it has no attribution model of its own and will faithfully report whatever event schema you give it — including a bad one. The join between them succeeds or fails on one thing: whether the distinct_id reaches the DoorDash order before the conversion happens, because Mixpanel can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

DoorDash Storefront orders in Mixpanel, tied to the visitor

Check whether DoorDash Storefront passes your distinct_id through; if not, your funnel ends at the order click. With order data, send Order Completed server-side with the distinct_id, order ID as $insert_id, net value and a promotion flag. Use one event name and net values across app and Storefront, and skip marketplace orders.

Mixpanel can tell a restaurant which menu pages, promotions and landing pages on its own site lead to Storefront orders. The order completes inside DoorDash's Storefront flow, so your site's distinct_id has to reach the order. Check whether Storefront accepts a passed-through parameter or lets you run your own analytics code; if it does neither, your Mixpanel funnel ends at the click to order.

When you do have order data, send Order Completed from your server with the distinct_id, the DoorDash order ID as $insert_id, and the net value as a property. Record whether a DoorDash promotion applied, so you can see whether discounted first orders ever turn into repeat ones. Do not send marketplace orders as Mixpanel events; they have no distinct_id you own and each one would become a stranger's profile.

The trap specific to this pair is a naming split. If your own app and Storefront both send Order Completed but one counts gross and the other net, Mixpanel adds them together without complaint, and the totals look fine. Settle on net, use one event name, and add a channel property to split app orders from Storefront orders.

DoorDash → Mixpanel · what breaks

Why this join usually fails — DoorDash → Mixpanel

  1. 01

    The distinct_id never reaches DoorDash

    Marketplace orders have no browser session on your property at all. There is no identifier to lose because there was never one to capture.

  2. 02

    Commission counted as revenue

    A thirty-dollar order on which you keep twenty-two is a twenty-two dollar order. Import the gross and every return-on-spend number you look at is inflated by roughly a third.

  3. 03

    One event schema, two teams, no agreement

    Marketing names an event Purchase, the product team names it purchase_completed, and both are sent. Mixpanel treats them as unrelated, every funnel silently splits, and two teams spend a quarter arguing about which number is right when both are.

  4. 04

    Nothing reconciles afterwards

    Mixpanel shows events in the live view within moments. Check that the distinct_id matches the signed-in user rather than a lingering anonymous ID, because that is the failure that quietly breaks every cross-signup funnel.

DoorDash → Mixpanel · the fix

What working looks like — DoorDash → Mixpanel

  • The distinct_id on every order

  • Conversions arriving in Mixpanel

    The event lands on the user profile and becomes available in funnels, retention and cohort analysis.

  • Reconciled against the source

DoorDash → Mixpanel · architecture

How DoorDash and Mixpanel actually connect

  1. 1

    DoorDash holds the truth

    Storefront orders originate on your domain from your traffic, so they can be attributed. Marketplace orders originate inside the DoorDash app and cannot be, at any price.

  2. 2

    Mixpanel needs a click to match

    Mixpanel needs a distinct_id, an event name and its properties. Events without a distinct_id are rejected; events with the wrong one land on a stranger's profile.

  3. 3

    The identifier is the bridge

    The distinct_id, captured at the visit and carried into the DoorDash order.

  4. 4

    The event source decides reliability

    Send the subtotal you actually receive, not the customer-facing total. Marketplace commission runs 15–30% and the gross figure will make unprofitable spend look profitable.

  5. 5

    Deduplication at the destination

    Mixpanel deduplicates on $insert_id within a time window. Without it, a retried server request creates a second event, and because Mixpanel is where product decisions get made, that inflation ends up in a roadmap rather than in an ad report.

DoorDash → Mixpanel · normal or broken

Working vs. broken, side by side — DoorDash → Mixpanel

Normal, not a fault

  • The distinct_id present on the order

  • Sent from the DoorDash order feed

  • Deduplicated correctly

    Mixpanel deduplicates on $insert_id within a time window. Without it, a retried server request creates a second event, and because Mixpanel is where product decisions get made, that inflation ends up in a roadmap rather than in an ad report.

  • Reconciles with the source

Actually broken

  • The distinct_id missing on most records

    Marketplace orders have no browser session on your property at all. There is no identifier to lose because there was never one to capture.

  • Sent from the browser

    A thirty-dollar order on which you keep twenty-two is a twenty-two dollar order. Import the gross and every return-on-spend number you look at is inflated by roughly a third.

  • Counted twice, or not at all

    Marketing names an event Purchase, the product team names it purchase_completed, and both are sent. Mixpanel treats them as unrelated, every funnel silently splits, and two teams spend a quarter arguing about which number is right when both are.

  • Nobody has reconciled it

DoorDash → Mixpanel · diagnose

Diagnostic order — DoorDash → Mixpanel

  1. 01

    Count orders carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether the imported value is gross or net

    This single question changes the profitability verdict on most delivery campaigns, and it is answered in one query against the payout report.

  4. 04

    List every event name in the project and look for near-duplicates

    Case differences, tense differences and synonyms are the usual finding, and they are cheap to fix before a year of data is built on them.

  5. 05

    Read the match rate, not the success message

    Mixpanel shows events in the live view within moments. Check that the distinct_id matches the signed-in user rather than a lingering anonymous ID, because that is the failure that quietly breaks every cross-signup funnel.

DoorDash → Mixpanel · prove

How it gets proven — DoorDash → Mixpanel

Source of truth

DoorDash orders split into marketplace orders and Storefront orders, by store.

  • The distinct_id confirmed present on a live order.
  • Purchase events reconciled per transaction against your billing system, with identity aliasing verified across the signup boundary.
  • Storefront orders reconciled net of commission against imported conversions, with marketplace volume shown separately.

DoorDash → Mixpanel · free audit

What we check in the free audit

  • Count orders carrying the distinct_id
  • Follow one real conversion end to end
  • Check whether the imported value is gross or net
  • List every event name in the project and look for near-duplicates
  • Read the match rate, not the success message

Checked against

DoorDash orders split into marketplace orders and Storefront orders, by store.

Get my free conversion tracking audit

Free30 minutesNo obligation

DoorDash → Mixpanel · when not to buy

When you don't need this — DoorDash → Mixpanel

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the distinct_id.
  • If all your DoorDash volume is marketplace, there is nothing here to track — your lever is placement and promotion inside the app, which no conversion import can influence.
  • If you already have the same events in a warehouse and nobody is running product analysis on them, adding Mixpanel adds a second source of truth rather than an answer.

DoorDash → Mixpanel · what we deliver

What gets built — DoorDash → Mixpanel

  • Identifier capture into DoorDash

    Attribute Storefront only. Report marketplace volume as a separate line item that your advertising is not claiming credit for.

  • Event source: the DoorDash order feed

    Send the subtotal you actually receive, not the customer-facing total. Marketplace commission runs 15–30% and the gross figure will make unprofitable spend look profitable.

  • Dispatch to Mixpanel

    The Mixpanel ingestion API, posted server-side from your backend with the distinct_id and event properties.

  • Reversals where they exist

    Cancellations and merchant-fault refunds reduce the figure.

Written guarantee

95%+ tracking accuracy

Measured against DoorDash orders split into marketplace orders and Storefront orders, by store.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

DoorDash → Mixpanel questions, answered

Only if Storefront lets you carry your distinct_id into the order or run your own tracking code; check your Storefront settings. Otherwise Mixpanel sees the click to order and nothing after it.

Free · 30 min

Get DoorDash and Mixpanel joined properly

Free30 minutesNo obligation