Skip to main content
Tock → GA4Integration guide

Connecting Tock to GA4

Tock made prepaid and ticketed dining normal, which makes it the rare restaurant platform where money genuinely changes hands at the moment of booking. GA4 is where the business goes to understand what happened, which makes an unattributed conversion there expensive in decisions rather than in ad spend. The join between them succeeds or fails on one thing: whether the GA4 client_id reaches the Tock reservation before the conversion happens, because GA4 can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Tock reservations in GA4, split by booking type

Send prepaid Tock tickets and deposits to GA4 as purchase, with the Tock confirmation number as transaction_id, and standard reservations as a separate no-value event. Without a measurement ID in Tock, send by Measurement Protocol within 72 hours using the client_id stored before the guest left your site, and add the service date as a parameter.

Send prepaid tickets and deposits to GA4 as purchase with transaction_id set to the Tock confirmation number and an item for the experience booked, and send standard reservations as a separate custom event with no value. That keeps GA4 revenue equal to the money Tock actually took, while still counting free bookings as a signal.

Tock's booking flow runs on Tock's domain, so a guest who clicks Book on your site returns, if at all, in a new session. Check whether your Tock account accepts a Google Analytics measurement ID, and if it does, whether it records into your property as the same user or a second one. Otherwise send from the reservation record by Measurement Protocol with the client_id you stored before the guest left your site, within 72 hours of the booking.

Dates are the GA4 trap for Tock. GA4 records the booking date, while the kitchen thinks in service dates, so a strong week of bookings for next month's tasting menu looks like a strong week of trade. Add the service date as an event parameter so explorations can be cut both ways.

Tock → GA4 · what breaks

Why this join usually fails — Tock → GA4

  1. 01

    The GA4 client_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

    Everything lands under (direct)/(none)

    The classic Measurement Protocol symptom, and it always means the same thing: the client_id was missing or wrong, so GA4 had no session to attach the event to and invented a new user.

  4. 04

    Nothing reconciles afterwards

    GA4 DebugView shows events arriving with their parameters, and Realtime confirms the user and session they attached to. Neither tells you whether you are double-counting — for that, compare GA4's conversion count against the source system's record for the same window.

Tock → GA4 · the fix

What working looks like — Tock → GA4

  • The GA4 client_id on every reservation

  • Conversions arriving in GA4

    Conversions appear in GA4 attributed to the original session's source and medium, so acquisition reporting reflects what actually drove revenue.

  • Reconciled against the source

Tock → GA4 · architecture

How Tock and GA4 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

    GA4 needs a click to match

    GA4 needs the client_id to attach a server event to the user and session that produced the click. Without it there is no attribution to inherit and the event is orphaned.

  3. 3

    The identifier is the bridge

    The GA4 client_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

    GA4 has no built-in deduplication for Measurement Protocol. If the browser also sends the event, it counts twice. The only reliable approach is to decide per event which side sends it, and enforce that decision — GA4 will not protect you from your own duplicates.

Tock → GA4 · normal or broken

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

Normal, not a fault

  • The GA4 client_id present on the reservation

  • Sent from the Tock reservation record

  • Deduplicated correctly

    GA4 has no built-in deduplication for Measurement Protocol. If the browser also sends the event, it counts twice. The only reliable approach is to decide per event which side sends it, and enforce that decision — GA4 will not protect you from your own duplicates.

  • Reconciles with the source

Actually broken

  • The GA4 client_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 classic Measurement Protocol symptom, and it always means the same thing: the client_id was missing or wrong, so GA4 had no session to attach the event to and invented a new user.

  • Nobody has reconciled it

Tock → GA4 · diagnose

Diagnostic order — Tock → GA4

  1. 01

    Count reservations carrying the GA4 client_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 whether server events carry a session and a source

    In GA4 Realtime or DebugView, find the event and look at its session and traffic source. A brand-new user with no source on every server event is the missing-client_id signature.

  5. 05

    Read the match rate, not the success message

    GA4 DebugView shows events arriving with their parameters, and Realtime confirms the user and session they attached to. Neither tells you whether you are double-counting — for that, compare GA4's conversion count against the source system's record for the same window.

Tock → GA4 · prove

How it gets proven — Tock → GA4

Source of truth

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

  • The GA4 client_id confirmed present on a live reservation.
  • Server events confirmed in DebugView attaching to an existing session with the original traffic source intact.
  • Prepaid ticket revenue reconciled against imported conversions for a settled service period.

Tock → GA4 · free audit

What we check in the free audit

  • Count reservations carrying the GA4 client_id
  • Follow one real conversion end to end
  • Split reservations by payment type
  • Check whether server events carry a session and a source
  • 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 → GA4 · when not to buy

When you don't need this — Tock → GA4

  • Measure identifier coverage yourself first — pull your last hundred reservations and count how many carry the GA4 client_id.
  • A restaurant taking only standard reservations has no revenue event here. Measure covers and stop.
  • GA4 is reporting, not bidding. If your problem is ad platform optimization, fix the ad platform destination first — GA4 will not change what any campaign does.

Tock → GA4 · what we deliver

What gets built — Tock → GA4

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

    Measurement Protocol events with the client_id, session_id and the correct measurement ID and API secret, sent server-side.

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

Guests book on Tock's domain and come back to your site in a new session. Cross-domain setup or server-side sending with the stored client_id fixes the attribution.

Free · 30 min

Get Tock and GA4 joined properly

Free30 minutesNo obligation