Skip to main content
Tock → BranchIntegration guide

Connecting Tock to Branch

Tock made prepaid and ticketed dining normal, which makes it the rare restaurant platform where money genuinely changes hands at the moment of booking. Branch's real job is the web-to-app seam — a person clicks a link in a browser, installs the app, and something has to carry the context across an install that destroys every cookie involved. The join between them succeeds or fails on one thing: whether the Branch link click identifier and the deferred deep link payload reaches the Tock reservation before the conversion happens, because Branch can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Tock to Branch: deep links that leave the app for booking

Branch doesn't apply to a restaurant on Tock with no app. For a hospitality group whose app hands guests to Tock, pass your user ID in the Tock booking link, store it with the reservation, and post confirmed bookings through Branch's server-to-server events API, sending prepaid tickets as purchases and standard reservations, if at all, without revenue.

Branch exists to carry campaign context across an app install. A restaurant on Tock usually has no app to install, so there is no seam for Branch to bridge and this pair does not apply. Guests click an ad, land on Tock's booking page in a browser, and book; the job is carrying an identifier into that page, not into an app.

The case where Branch matters is a hospitality or hotel group with its own app that promotes dining. A Branch link in an ad installs or opens the group's app, the deep link takes the guest to a restaurant screen, and then the Reserve button hands off to Tock in a web view or the browser. The campaign survived the install, then gets dropped at the handoff, because Tock does not know about Branch. Pass your own user ID in the Tock booking link, store it with the reservation, and post the confirmed booking back through Branch's server-to-server events API under that user.

Send prepaid tickets as purchases with the amount paid, and standard reservations, if at all, as a separate custom event with no revenue. Branch forwards events to downstream ad partners, so a standard reservation sent as a purchase with a placeholder value spreads that fiction to every network it is connected to.

Tock → Branch · what breaks

Why this join usually fails — Tock → Branch

  1. 01

    The Branch link click identifier and the deferred deep link payload 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

    The install that erases the campaign

    Someone clicks a paid ad on the mobile web, hits the app store, installs, and opens the app as a brand new anonymous user. Without deferred deep linking that campaign produced an organic install, and the ad account shows nothing for a conversion it genuinely caused.

  4. 04

    Nothing reconciles afterwards

    Branch shows the attributed link and campaign on the event in its dashboard. Check that the install carries a link click rather than showing as organic, which is the failure this product exists to prevent.

Tock → Branch · the fix

What working looks like — Tock → Branch

  • The Branch link click identifier and the deferred deep link payload on every reservation

  • Conversions arriving in Branch

    The event is attributed to the originating link and campaign, and forwarded to any configured downstream partners.

  • Reconciled against the source

Tock → Branch · architecture

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

    Branch needs a click to match

    Branch needs the link click context matched to the app open, plus the event and its revenue. Without the deferred deep link payload there is nothing to join the install to.

  3. 3

    The identifier is the bridge

    The Branch link click identifier and the deferred deep link payload, 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

    Branch deduplicates on the event identifier you supply. Firing a purchase from both the SDK and your server without a shared identifier double-counts, and Branch forwards to downstream partners, so the duplicate propagates.

Tock → Branch · normal or broken

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

Normal, not a fault

  • The Branch link click identifier and the deferred deep link payload present on the reservation

  • Sent from the Tock reservation record

  • Deduplicated correctly

    Branch deduplicates on the event identifier you supply. Firing a purchase from both the SDK and your server without a shared identifier double-counts, and Branch forwards to downstream partners, so the duplicate propagates.

  • Reconciles with the source

Actually broken

  • The Branch link click identifier and the deferred deep link payload 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

    Someone clicks a paid ad on the mobile web, hits the app store, installs, and opens the app as a brand new anonymous user. Without deferred deep linking that campaign produced an organic install, and the ad account shows nothing for a conversion it genuinely caused.

  • Nobody has reconciled it

Tock → Branch · diagnose

Diagnostic order — Tock → Branch

  1. 01

    Count reservations carrying the Branch link click identifier and the deferred deep link payload

  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

    Measure your organic install share and ask whether it is plausible

    An implausibly large organic share is usually broken attribution rather than genuine word of mouth.

  5. 05

    Read the match rate, not the success message

    Branch shows the attributed link and campaign on the event in its dashboard. Check that the install carries a link click rather than showing as organic, which is the failure this product exists to prevent.

Tock → Branch · prove

How it gets proven — Tock → Branch

Source of truth

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

  • The Branch link click identifier and the deferred deep link payload confirmed present on a live reservation.
  • Attributed installs and in-app purchases reconciled against your own user records, with the unattributed share stated.
  • Prepaid ticket revenue reconciled against imported conversions for a settled service period.

Tock → Branch · free audit

What we check in the free audit

  • Count reservations carrying the Branch link click identifier and the deferred deep link payload
  • Follow one real conversion end to end
  • Split reservations by payment type
  • Measure your organic install share and ask whether it is plausible
  • 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 → Branch · when not to buy

When you don't need this — Tock → Branch

  • Measure identifier coverage yourself first — pull your last hundred reservations and count how many carry the Branch link click identifier and the deferred deep link payload.
  • A restaurant taking only standard reservations has no revenue event here. Measure covers and stop.
  • If you have no app, or no web surface driving app installs, there is no seam here to bridge and the integration solves nothing.

Tock → Branch · what we deliver

What gets built — Tock → Branch

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

    The Branch server-to-server events API, posted from your backend with the user identity and event data.

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

Only if you have your own app that sends guests to Tock. Without an app, there is no install to bridge and Branch adds nothing.

Free · 30 min

Get Tock and Branch joined properly

Free30 minutesNo obligation