Connecting DoorDash to PostHog
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. PostHog can be self-hosted, which changes the calculus entirely: the data stays on infrastructure you control, and so does the responsibility for everything that goes wrong with it. The join between them succeeds or fails on one thing: whether the distinct_id reaches the DoorDash order before the conversion happens, because PostHog can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
PostHog for a DoorDash restaurant: funnel up to the hop
PostHog follows visitors to the Order Online click, then loses them on DoorDash's page. Send Storefront orders from the order feed through the capture API as their own event, using the DoorDash order ID as event UUID and one distinct_id per location, not invented people. Keep marketplace orders out or clearly separated.
PostHog on your restaurant site can follow a visitor from landing page to menu to Order Online click under one distinct_id, and then the trail ends on a DoorDash-hosted page your snippet does not run on. That still answers useful product questions, such as which menu layout sends more people to Storefront rather than to the DoorDash marketplace link, and how many mobile visitors bounce before finding the order button.
If you want order volume in PostHog, send Storefront orders from the order feed through the capture API as their own event, using the DoorDash order ID as the event UUID so a retried batch does not duplicate them. Without an identifier that crosses the hop, there is no honest distinct_id to use; use one per location instead of inventing person IDs, so the data reads as volume by store and not as fake users who each ordered once.
Keep marketplace orders out entirely, or send them as a clearly separate event with a marketplace property. Funnel insights that mix Storefront and marketplace orders will show a conversion rate from site visits that the site never produced. Self-hosted instances also need the ingestion job watched, since a stalled import looks exactly like a slow week.
DoorDash → PostHog · what breaks
Why this join usually fails — DoorDash → PostHog
- 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.
- 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.
- 03
Self-hosting the analytics and the outage together
The advantage of owning the pipeline is that nothing blocks it. The cost is that when the ingestion instance fills its disk on a Saturday, the events are gone and nobody is paged. Hosted tools fail differently and more visibly.
- 04
Nothing reconciles afterwards
PostHog shows events in the activity view within moments. On a self-hosted instance, check the ingestion lag as well — events that are queued are not events that are lost, and the two need different responses.
DoorDash → PostHog · the fix
What working looks like — DoorDash → PostHog
The distinct_id on every order
Conversions arriving in PostHog
The event lands on the person profile and becomes available in insights, funnels and session replay.
Reconciled against the source
DoorDash → PostHog · architecture
How DoorDash and PostHog actually connect
- 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
PostHog needs a click to match
PostHog needs a distinct_id, an event name and its properties. Self-hosted instances additionally need the ingestion endpoint reachable and the project API key correct, which is a class of failure hosted tools do not have.
- 3
The identifier is the bridge
The distinct_id, captured at the visit and carried into the DoorDash order.
- 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
Deduplication at the destination
PostHog deduplicates on the event UUID where supplied. Without one, a retried batch duplicates, and on a self-hosted instance there is no vendor support desk to notice it for you.
DoorDash → PostHog · normal or broken
Working vs. broken, side by side — DoorDash → PostHog
Normal, not a fault
The distinct_id present on the order
Sent from the DoorDash order feed
Deduplicated correctly
PostHog deduplicates on the event UUID where supplied. Without one, a retried batch duplicates, and on a self-hosted instance there is no vendor support desk to notice it for you.
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
The advantage of owning the pipeline is that nothing blocks it. The cost is that when the ingestion instance fills its disk on a Saturday, the events are gone and nobody is paged. Hosted tools fail differently and more visibly.
Nobody has reconciled it
DoorDash → PostHog · diagnose
Diagnostic order — DoorDash → PostHog
- 01
Count orders carrying the distinct_id
- 02
Follow one real conversion end to end
- 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.
- 04
Check ingestion health and disk before debugging any missing event
On self-hosted instances the answer is infrastructure far more often than it is instrumentation.
- 05
Read the match rate, not the success message
PostHog shows events in the activity view within moments. On a self-hosted instance, check the ingestion lag as well — events that are queued are not events that are lost, and the two need different responses.
DoorDash → PostHog · prove
How it gets proven — DoorDash → PostHog
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 ingestion lag checked over the same window.
- Storefront orders reconciled net of commission against imported conversions, with marketplace volume shown separately.
DoorDash → PostHog · 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
- Check ingestion health and disk before debugging any missing event
- Read the match rate, not the success message
Checked against
DoorDash orders split into marketplace orders and Storefront orders, by store.
Free30 minutesNo obligation
DoorDash → PostHog · when not to buy
When you don't need this — DoorDash → PostHog
- 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 have no reason to keep the data on your own infrastructure and no team to run it, the hosted product removes the only real downside of this one.
DoorDash → PostHog · what we deliver
What gets built — DoorDash → PostHog
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 PostHog
The PostHog capture API, posted server-side from your backend to your own instance or to PostHog Cloud.
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.
From $400 · See packages
FAQ
DoorDash → PostHog questions, answered
Not with the browser snippet, since Storefront runs on DoorDash's page. You can capture Order Online clicks on your site and import orders server-side.
Without a real identifier crossing the hop, use a per-location ID rather than inventing per-order person IDs that inflate user counts.
Almost always because the distinct_id never reached the DoorDash order. Marketplace orders have no browser session on your property at all. There is no identifier to lose because there was never one to capture. Measure coverage before debugging the dispatch.
PostHog identifies by distinct_id with an alias call to merge anonymous and identified users. On a self-hosted instance you also control the ingestion endpoint, which means the identifier survives ad blockers that would kill a third-party pixel — one of the few genuine technical advantages available to a first-party setup.
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.
PostHog shows events in the activity view within moments. On a self-hosted instance, check the ingestion lag as well — events that are queued are not events that are lost, and the two need different responses.
More on DoorDash → PostHog
- DoorDash → Google AdsConnecting DoorDash to Google Ads
- DoorDash → MetaConnecting DoorDash to Meta Conversions API
- DoorDash → GA4Connecting DoorDash to GA4
RELATED GUIDES
Where DoorDash → PostHog fits in the rest of your tracking
- Otter → PostHogConnecting Otter to PostHog
- Uber Eats → PostHogConnecting Uber Eats to PostHog
- Popmenu → PostHogConnecting Popmenu to PostHog
- DoorDash → MixpanelConnecting DoorDash to Mixpanel
- DoorDash → MatomoConnecting DoorDash to Matomo
- CateringConversion tracking for catering, measured in confirmed events
- Square Online → PostHogConnecting Square Online to PostHog
- Slice → PostHogConnecting Slice to PostHog
Free · 30 min
Get DoorDash and PostHog joined properly
Free30 minutesNo obligation
