Skip to main content
TheFork → MatomoIntegration guide

Connecting TheFork to Matomo

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. Matomo can be self-hosted with no third party in the chain, which makes it the one analytics destination where the data genuinely never leaves infrastructure you control. The join between them succeeds or fails on one thing: whether the first-party visitor ID reaches the TheFork reservation before the conversion happens, because Matomo can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

TheFork to Matomo: the visitor ID stops at the widget

Matomo loses the visitor when TheFork's hosted widget opens, so track the widget open as an event and store the visitor ID. Send reservations later through the HTTP Tracking API with that visitor ID and the TheFork reservation reference as ecommerce order ID, at discounted seated spend after service. Report marketplace bookings separately.

Matomo is a common choice for restaurants and groups that prefer self-hosted, first-party analytics, and it records your own pages well. The break is the TheFork widget. Matomo's visitor ID lives in a first-party cookie on your domain, and the reservation is completed in TheFork's hosted flow, so the tracker sees the guest open the widget and then nothing. Track that opening as an event with the location and the page it came from; it is the last thing Matomo can observe directly.

To get reservations into Matomo, send them through the HTTP Tracking API from the reservation record, using the visitor ID you stored when the widget opened and the TheFork reservation reference as the ecommerce order ID. Without a stored visitor ID the order still records, but on a fresh visitor with no campaign source, which makes direct traffic look like your best channel. Marketplace bookings never visited your site and belong in a separate report, not the ecommerce log.

Record the revenue as the discounted spend on seated covers, not the menu price, and send it after service. If the reservation is cancelled, do not leave the order standing. On a self-hosted instance, also confirm the tracking endpoint accepts server requests and that archiving has run before you trust a weekly report.

TheFork → Matomo · what breaks

Why this join usually fails — TheFork → Matomo

  1. 01

    The first-party visitor 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

    Owning the pipeline means owning the outage

    The advantage is that nothing blocks it. The cost is that when the tracking database fills or falls behind on a weekend, the data is gone and no vendor is paging anyone. Hosted tools fail more visibly.

  4. 04

    Nothing reconciles afterwards

    Matomo exposes raw visit logs, so you can inspect the actual hit rather than an aggregate. Check the log, and check ingestion lag alongside it.

TheFork → Matomo · the fix

What working looks like — TheFork → Matomo

  • The first-party visitor ID on every reservation

  • Conversions arriving in Matomo

    The event lands in your own database and is queryable directly, including the raw log, which most analytics products do not expose.

  • Reconciled against the source

TheFork → Matomo · architecture

How TheFork and Matomo 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

    Matomo needs a click to match

    The site ID, the visitor identifier and the event or ecommerce order. Self-hosted instances additionally need the tracker endpoint reachable and the database keeping up, which hosted tools do not fail at.

  3. 3

    The identifier is the bridge

    The first-party visitor 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

    Matomo deduplicates ecommerce orders on order ID. Without one, a refreshed confirmation page records a second order.

TheFork → Matomo · normal or broken

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

Normal, not a fault

  • The first-party visitor ID present on the reservation

  • Sent from the TheFork reservation record

  • Deduplicated correctly

    Matomo deduplicates ecommerce orders on order ID. Without one, a refreshed confirmation page records a second order.

  • Reconciles with the source

Actually broken

  • The first-party visitor 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

    The advantage is that nothing blocks it. The cost is that when the tracking database fills or falls behind on a weekend, the data is gone and no vendor is paging anyone. Hosted tools fail more visibly.

  • Nobody has reconciled it

TheFork → Matomo · diagnose

Diagnostic order — TheFork → Matomo

  1. 01

    Count reservations carrying the first-party visitor 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

    Check tracker reachability and database lag before debugging any tag

    On self-hosted analytics the answer is infrastructure more often than instrumentation.

  5. 05

    Read the match rate, not the success message

    Matomo exposes raw visit logs, so you can inspect the actual hit rather than an aggregate. Check the log, and check ingestion lag alongside it.

TheFork → Matomo · prove

How it gets proven — TheFork → Matomo

Source of truth

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

  • The first-party visitor ID confirmed present on a live reservation.
  • Orders reconciled against the Matomo ecommerce log with order-ID deduplication verified.
  • Seated covers reconciled at actual spend against imported conversions, with marketplace volume separated.

TheFork → Matomo · free audit

What we check in the free audit

  • Count reservations carrying the first-party visitor ID
  • Follow one real conversion end to end
  • Check whether the discount is reflected in the imported value
  • Check tracker reachability and database lag before debugging any tag
  • 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 → Matomo · when not to buy

When you don't need this — TheFork → Matomo

  • Measure identifier coverage yourself first — pull your last hundred reservations and count how many carry the first-party visitor ID.
  • If TheFork is purely a marketplace channel for you, the question is whether the discount economics work — not conversion tracking.
  • If you have no privacy or ownership requirement and no team to run it, a hosted product removes the only real cost of this one.

TheFork → Matomo · what we deliver

What gets built — TheFork → Matomo

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

    The Matomo HTTP Tracking API, posted server-side from your order system.

  • 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 → Matomo questions, answered

Matomo can track the widget opening on your page but not the booking inside TheFork's flow. Send confirmed reservations server-side with the stored visitor ID and the reservation reference as the order ID.

Free · 30 min

Get TheFork and Matomo joined properly

Free30 minutesNo obligation