Skip to main content
Tock → MatomoIntegration guide

Connecting Tock to Matomo

Tock made prepaid and ticketed dining normal, which makes it the rare restaurant platform where money genuinely changes hands at the moment of booking. 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 Tock 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

Tock to Matomo: owning the analytics when booking is hosted

Add the Matomo visitor ID to the Tock booking link, store it with the reservation, and post confirmed bookings to the HTTP Tracking API. Record prepaid tickets and deposits as ecommerce orders with the Tock confirmation number as order ID and the amount paid, and standard reservations as a no-revenue goal. Track refunds as a separate goal.

Restaurants choose Matomo when they want analytics on their own server without a third party watching guests browse. Tock undercuts that on the most important step: the booking happens on Tock's pages, which your self-hosted tracker cannot follow into. Matomo can tell you how many people clicked Reserve, not how many booked.

Bridge it server-side. Add the Matomo visitor ID to the Tock booking link, store it with the reservation, and when the booking confirms post it to the HTTP Tracking API. For prepaid tickets and deposits, record an ecommerce order with the Tock confirmation number as the order ID and the amount paid as revenue. For standard reservations, record a goal with no revenue, so the ecommerce reports describe money and the goal reports describe covers.

Use the service date carefully. Matomo records the order when you send it, which is the booking date, so a December holiday menu sold in October shows as October revenue. That is correct for marketing, because the campaign drove it in October, but it will not match the restaurant's December sales, and someone will ask. Refunds have no clean reversal here, so record them as a separate goal and subtract in reporting. Marketplace bookings that never visited your site simply will not appear, which is the accurate outcome.

Tock → Matomo · what breaks

Why this join usually fails — Tock → Matomo

  1. 01

    The first-party visitor ID never reaches Tock

    The booking flow is Tock-hosted, and Tock also runs a consumer marketplace that fills seats you did not advertise for.

  2. 02

    Three booking types treated as one conversion

    A prepaid tasting menu and a free two-top reservation are both a row in the same table and are not remotely the same event. Pooling them tells the bidding algorithm that the cheap one is worth the expensive one's value.

  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.

Tock → Matomo · the fix

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

Tock → Matomo · architecture

How Tock and Matomo actually connect

  1. 1

    Tock holds the truth

    Three different things. A prepaid ticket is revenue now. A deposit is a fraction of revenue plus a commitment. A standard booking is a promise worth nothing if the guest does not arrive.

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

  4. 4

    The event source decides reliability

    Send prepaid tickets at their paid value and standard bookings, if at all, as a separate lower-value event that is never summed with revenue.

  5. 5

    Deduplication at the destination

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

Tock → Matomo · normal or broken

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

Normal, not a fault

  • The first-party visitor ID present on the reservation

  • Sent from the Tock 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 booking flow is Tock-hosted, and Tock also runs a consumer marketplace that fills seats you did not advertise for.

  • Sent from the browser

    A prepaid tasting menu and a free two-top reservation are both a row in the same table and are not remotely the same event. Pooling them tells the bidding algorithm that the cheap one is worth the expensive one's value.

  • 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

Tock → Matomo · diagnose

Diagnostic order — Tock → Matomo

  1. 01

    Count reservations carrying the first-party visitor ID

  2. 02

    Follow one real conversion end to end

  3. 03

    Split reservations by payment type

    Prepaid, deposit, standard. Three conversion actions, three values, or the reporting is meaningless.

  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.

Tock → Matomo · prove

How it gets proven — Tock → Matomo

Source of truth

Tock reservations by service date, split into prepaid tickets, deposits and standard bookings.

  • The first-party visitor ID confirmed present on a live reservation.
  • Orders reconciled against the Matomo ecommerce log with order-ID deduplication verified.
  • Prepaid ticket revenue reconciled against imported conversions for a settled service period.

Tock → 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
  • Split reservations by payment type
  • Check tracker reachability and database lag before debugging any tag
  • Read the match rate, not the success message

Checked against

Tock reservations by service date, split into prepaid tickets, deposits and standard bookings.

Get my free conversion tracking audit

Free30 minutesNo obligation

Tock → Matomo · when not to buy

When you don't need this — Tock → Matomo

  • Measure identifier coverage yourself first — pull your last hundred reservations and count how many carry the first-party visitor ID.
  • A restaurant taking only standard reservations has no revenue event here. Measure covers and stop.
  • 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.

Tock → Matomo · what we deliver

What gets built — Tock → Matomo

  • Identifier capture into Tock

    Carry the identifier into the booking flow where supported, and mark marketplace-sourced reservations as unattributable.

  • Event source: the Tock reservation record

    Send prepaid tickets at their paid value and standard bookings, if at all, as a separate lower-value event that is never summed with revenue.

  • Dispatch to Matomo

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

  • Reversals where they exist

    Refunded tickets reverse; no-shows on prepaid tickets do not, because you kept the money.

Written guarantee

95%+ tracking accuracy

Measured against Tock reservations by service date, split into prepaid tickets, deposits and standard bookings.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Tock → Matomo questions, answered

Not with the tracker on your site, because Tock hosts the booking pages. Pass the Matomo visitor ID through the booking link and post confirmed reservations through the HTTP Tracking API.

Free · 30 min

Get Tock and Matomo joined properly

Free30 minutesNo obligation