Skip to main content
Popmenu → PostHogIntegration guide

Connecting Popmenu to PostHog

Popmenu is a restaurant website, menu and ordering system in one, which means the marketing site and the transaction sit on the same platform and the usual handoff problem mostly disappears. 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 Popmenu 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 on Popmenu data: find where menu browsing stops ordering

Use PostHog for where Popmenu guests drop off between menu and order, never for ad conversions. If PostHog's script can't reach Popmenu's ordering components, send completed orders server-side with the guest's email or its hash as distinct_id, plus location, order type, item count and subtotal, and derive event UUIDs from order numbers. Then study repeat-order cohorts per location.

PostHog is useful to a restaurant group for a question the ad platforms should never be asked: where between opening the menu and completing an order do guests drop off? Popmenu's menu and ordering components generate engagement, such as item views, cart adds and modifier choices, which is valuable as product analytics and misleading as an ad conversion. PostHog is where that engagement can live.

Whether you can capture it depends on whether Popmenu lets you load PostHog's script and whether its ordering components expose those steps; check both. If not, send completed orders server-side from the Popmenu order record with the distinct_id set to the guest's email or a hash of it, plus location, order type, item count and subtotal, and derive the event UUID from the order number so retries do not double. That still shows repeat-order cohorts and time between orders by location.

Use it for operational questions: how many first-time guests order again within thirty days at each location, whether delivery guests return less often than pickup guests, whether a menu redesign changed cart size. Do not forward PostHog's menu engagement events to ad platforms. A self-hosted instance is unlikely to be worth running for a single location.

Popmenu → PostHog · what breaks

Why this join usually fails — Popmenu → PostHog

  1. 01

    The distinct_id never reaches Popmenu

    Ordering and menu interactions render inside Popmenu-managed components, so the identifier has to survive from the marketing page into the ordering flow within the same platform.

  2. 02

    Menu views optimized as if they were intent

    Popmenu's interactive menu produces a great deal of engagement data, and engagement makes a tempting conversion event. It is not one. Optimize toward it and the platform will buy you people who browse menus and never order.

  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.

Popmenu → PostHog · the fix

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

Popmenu → PostHog · architecture

How Popmenu and PostHog actually connect

  1. 1

    Popmenu holds the truth

    A reservation and an order are not interchangeable events. One is a promise, the other is money, and the no-show rate between them is the difference.

  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 Popmenu order.

  4. 4

    The event source decides reliability

    Send completed orders with their totals; send reservations, if at all, as a separate lower-value event that is never summed with revenue.

  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.

Popmenu → PostHog · normal or broken

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

Normal, not a fault

  • The distinct_id present on the order

  • Sent from the Popmenu order record

  • 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

    Ordering and menu interactions render inside Popmenu-managed components, so the identifier has to survive from the marketing page into the ordering flow within the same platform.

  • Sent from the browser

    Popmenu's interactive menu produces a great deal of engagement data, and engagement makes a tempting conversion event. It is not one. Optimize toward it and the platform will buy you people who browse menus and never order.

  • 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

Popmenu → PostHog · diagnose

Diagnostic order — Popmenu → PostHog

  1. 01

    Count orders carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Check what event the ad account is actually optimizing toward

    On engagement-rich platforms the configured conversion is frequently a micro-event nobody consciously chose.

  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.

Popmenu → PostHog · prove

How it gets proven — Popmenu → PostHog

Source of truth

Popmenu orders and reservations by location, with online ordering and waitlist activity held apart.

  • 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.
  • Completed orders reconciled against imported conversions for a settled week.

Popmenu → PostHog · free audit

What we check in the free audit

  • Count orders carrying the distinct_id
  • Follow one real conversion end to end
  • Check what event the ad account is actually optimizing toward
  • Check ingestion health and disk before debugging any missing event
  • Read the match rate, not the success message

Checked against

Popmenu orders and reservations by location, with online ordering and waitlist activity held apart.

Get my free conversion tracking audit

Free30 minutesNo obligation

Popmenu → PostHog · when not to buy

When you don't need this — Popmenu → PostHog

  • Measure identifier coverage yourself first — pull your last hundred orders and count how many carry the distinct_id.
  • If you are using Popmenu purely as a website with no online ordering, there is no revenue event here — measure calls and directions instead.
  • 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.

Popmenu → PostHog · what we deliver

What gets built — Popmenu → PostHog

  • Identifier capture into Popmenu

    Capture on landing, persist in first-party storage on your own domain, and attach to the order at submission.

  • Event source: the Popmenu order record

    Send completed orders with their totals; send reservations, if at all, as a separate lower-value event that is never summed with revenue.

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

Written guarantee

95%+ tracking accuracy

Measured against Popmenu orders and reservations by location, with online ordering and waitlist activity held apart.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Popmenu → PostHog questions, answered

Only if Popmenu allows the PostHog script on ordering pages. Otherwise you can analyze completed orders sent server-side but not the steps before them.

Free · 30 min

Get Popmenu and PostHog joined properly

Free30 minutesNo obligation