Skip to main content
Otter → PostHogIntegration guide

Connecting Otter to PostHog

Otter aggregates orders from every marketplace a restaurant sells on into one tablet and one feed, which makes it the single best place to see the shape of a business and the single worst place to assume anything is attributable. 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 Otter 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 restaurant ordering funnels, with Otter kept apart

Capture order completion in PostHog server-side from your own ordering backend, using the same distinct_id the browser used and the order ID as event UUID or property. Do not post marketplace orders with invented IDs; send them as personless volume events per store only if your setup supports that, or keep them elsewhere. Use session replay to diagnose abandoned carts.

PostHog helps if you run your own online ordering page or app and want to see where guests drop off between menu, cart and payment. For that, the order completion should be captured server-side from your ordering backend with the same distinct_id the browser used, and the order ID as the event UUID or a property, so retries do not create a second completion.

The temptation is to also post every Otter order to PostHog so a single dashboard shows total volume. Marketplace orders have no distinct_id, and sending each as an event with an invented one creates a person per order who never visited your site, inflating unique users and breaking every funnel. Check whether your PostHog setup supports capturing events without creating person profiles; if it does, marketplace totals can be sent that way as clearly labeled volume events per store. If it does not, keep Otter volume in a separate dashboard or warehouse.

The specific value PostHog adds for this pair is session replay on your ordering page. When direct share in Otter drops for a store, replays of abandoned carts at that store often show the reason: an item marked unavailable, a pickup time slot that never loads, or a delivery fee guests did not expect.

Otter → PostHog · what breaks

Why this join usually fails — Otter → PostHog

  1. 01

    The distinct_id never reaches Otter

    Every order arriving through Otter came from someone else's app. The aggregation layer cannot manufacture an identifier that the upstream marketplace never had.

  2. 02

    One queue, six attribution ceilings

    The convenience that makes Otter worth buying is exactly what destroys measurement if the channel dimension is dropped anywhere in the pipeline.

  3. 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.

  4. 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.

Otter → PostHog · the fix

What working looks like — Otter → 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

Otter → PostHog · architecture

How Otter and PostHog actually connect

  1. 1

    Otter holds the truth

    Otter's value is that it makes six channels look like one queue. Measurement needs the opposite: the channel field kept intact, because it is the only thing that says whether a click could have existed.

  2. 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. 3

    The identifier is the bridge

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

  4. 4

    The event source decides reliability

    Use it to establish total order volume across all channels, which is the number your paid-media ratios should be judged against even though most of it is unattributable.

  5. 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.

Otter → PostHog · normal or broken

Working vs. broken, side by side — Otter → PostHog

Normal, not a fault

  • The distinct_id present on the order

  • Sent from the Otter 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

    Every order arriving through Otter came from someone else's app. The aggregation layer cannot manufacture an identifier that the upstream marketplace never had.

  • Sent from the browser

    The convenience that makes Otter worth buying is exactly what destroys measurement if the channel dimension is dropped anywhere in the pipeline.

  • 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

Otter → PostHog · diagnose

Diagnostic order — Otter → PostHog

  1. 01

    Count orders carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Verify the channel field survives the export

    It is routinely lost in the handoff to a warehouse or spreadsheet, and once lost it cannot be reconstructed.

  4. 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.

  5. 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.

Otter → PostHog · prove

How it gets proven — Otter → PostHog

Source of truth

Otter orders by store and by originating channel, with the channel field preserved rather than flattened.

  • 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.
  • Order volume by channel reconciled against each marketplace's own payout report.

Otter → PostHog · free audit

What we check in the free audit

  • Count orders carrying the distinct_id
  • Follow one real conversion end to end
  • Verify the channel field survives the export
  • Check ingestion health and disk before debugging any missing event
  • Read the match rate, not the success message

Checked against

Otter orders by store and by originating channel, with the channel field preserved rather than flattened.

Get my free conversion tracking audit

Free30 minutesNo obligation

Otter → PostHog · when not to buy

When you don't need this — Otter → PostHog

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the distinct_id.
  • Otter is a reconciliation tool here, not a conversion source. If you are looking for something to import into an ad platform, this is not it.
  • 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.

Otter → PostHog · what we deliver

What gets built — Otter → PostHog

  • Identifier capture into Otter

    Attribute only the channels that originate on your own domain, and use Otter for the reconciliation denominator rather than as an attribution source.

  • Event source: the Otter order feed

    Use it to establish total order volume across all channels, which is the number your paid-media ratios should be judged against even though most of it is unattributable.

  • 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 reduce the figure per channel.

Written guarantee

95%+ tracking accuracy

Measured against Otter orders by store and by originating channel, with the channel field preserved rather than flattened.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Otter → PostHog questions, answered

Not as person events. They create users who never visited your site. Use personless events if your setup supports them, or keep marketplace volume elsewhere.

Free · 30 min

Get Otter and PostHog joined properly

Free30 minutesNo obligation