Skip to main content
TheFork → MixpanelIntegration guide

Connecting TheFork to Mixpanel

TheFork is a consumer marketplace with a booking widget attached, and its discount-led model means the bookings it sends you arrive with a margin already removed. 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 TheFork reservation 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

TheFork and Mixpanel: track the booking-button click, not the diner

Mixpanel tracks what visitors do on your site before opening TheFork's widget: menu views, location pages and booking-button clicks under one distinct_id. Completed reservations fire nothing unless the widget offers a callback or redirect. Never import marketplace bookings as user events; send a labeled daily aggregate per location under a system ID instead.

Mixpanel can tell a restaurant group one thing TheFork cannot: what people did on your own site before they opened the booking widget. Menu views, location pages, private-dining enquiries and clicks on the TheFork button are all events on your domain, with a distinct_id Mixpanel can follow. That funnel shows which locations and pages turn browsers into booking attempts.

Beyond the button, Mixpanel goes blind. The widget is TheFork-hosted, so the completed reservation fires nothing you control, and a diner who abandons inside the widget looks identical to one who books. Check whether the widget offers any callback or confirmation redirect you can listen to. If it does not, the button click is the last step you can measure and booking counts come from TheFork Manager.

Do not import TheFork marketplace bookings into Mixpanel as user events. Those diners never touched your site, have no distinct_id, and would appear as profiles with a booking and no history. If you need a total, send a daily aggregate per location under a system ID and label it marketplace, so nobody builds a funnel through it.

TheFork → Mixpanel · what breaks

Why this join usually fails — TheFork → Mixpanel

  1. 01

    The distinct_id never reaches TheFork

    The widget is TheFork-hosted, and marketplace bookings originate entirely inside TheFork's app.

  2. 02

    Discounted covers valued at full price

    A cover booked at 50% off is worth half a cover in revenue and a full cover in cost. Report it at menu price and every campaign that drives discount-seekers looks like your best performer.

  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.

TheFork → Mixpanel · the fix

What working looks like — TheFork → Mixpanel

  • The distinct_id on every reservation

  • Conversions arriving in Mixpanel

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

  • Reconciled against the source

TheFork → Mixpanel · architecture

How TheFork and Mixpanel actually connect

  1. 1

    TheFork holds the truth

    Marketplace covers carry a per-cover fee and frequently a 30% or 50% food discount. The revenue on those covers is not comparable to a full-price direct booking and should never be averaged with it.

  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 TheFork reservation.

  4. 4

    The event source decides reliability

    Send seated covers at the actual discounted spend, not the menu price.

  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.

TheFork → Mixpanel · normal or broken

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

Normal, not a fault

  • The distinct_id present on the reservation

  • Sent from the TheFork reservation record

  • 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

    The widget is TheFork-hosted, and marketplace bookings originate entirely inside TheFork's app.

  • Sent from the browser

    A cover booked at 50% off is worth half a cover in revenue and a full cover in cost. Report it at menu price and every campaign that drives discount-seekers looks like your best performer.

  • 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

TheFork → Mixpanel · diagnose

Diagnostic order — TheFork → Mixpanel

  1. 01

    Count reservations carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether the discount is reflected in the imported value

    Usually it is not, and the overstatement is proportional to how heavily you promote.

  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.

TheFork → Mixpanel · prove

How it gets proven — TheFork → Mixpanel

Source of truth

TheFork reservations by service date, split into widget-sourced and marketplace-sourced, with the promotional discount recorded.

  • The distinct_id confirmed present on a live reservation.
  • Purchase events reconciled per transaction against your billing system, with identity aliasing verified across the signup boundary.
  • Seated covers reconciled at actual spend against imported conversions, with marketplace volume separated.

TheFork → Mixpanel · free audit

What we check in the free audit

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

Checked against

TheFork reservations by service date, split into widget-sourced and marketplace-sourced, with the promotional discount recorded.

Get my free conversion tracking audit

Free30 minutesNo obligation

TheFork → Mixpanel · when not to buy

When you don't need this — TheFork → Mixpanel

  • Measure identifier coverage yourself first — pull your last hundred reservations and count how many carry the distinct_id.
  • If TheFork is purely a marketplace channel for you, the question is whether the discount economics work — not conversion tracking.
  • 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.

TheFork → Mixpanel · what we deliver

What gets built — TheFork → Mixpanel

  • Identifier capture into TheFork

    Attribute widget bookings from your own site; report marketplace covers as a separate channel with their own economics.

  • Event source: the TheFork reservation record

    Send seated covers at the actual discounted spend, not the menu price.

  • 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 no-shows reverse.

Written guarantee

95%+ tracking accuracy

Measured against TheFork reservations by service date, split into widget-sourced and marketplace-sourced, with the promotional discount recorded.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

TheFork → Mixpanel questions, answered

Usually only up to the click that opens the booking widget, since the booking completes in TheFork's hosted widget. Check whether it offers a confirmation callback.

Free · 30 min

Get TheFork and Mixpanel joined properly

Free30 minutesNo obligation