Skip to main content
Tock → AppsFlyerIntegration guide

Connecting Tock to AppsFlyer

Tock made prepaid and ticketed dining normal, which makes it the rare restaurant platform where money genuinely changes hands at the moment of booking. AppsFlyer exists because mobile app attribution is a different problem from web attribution, and on iOS a large share of it is now aggregated and delayed by design rather than by accident. The join between them succeeds or fails on one thing: whether the AppsFlyer device identifier, appsflyer_id reaches the Tock reservation before the conversion happens, because AppsFlyer can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Tock to AppsFlyer: only for groups with their own app

AppsFlyer only fits a hospitality group whose own app links guests out to Tock. Pass your user ID into the Tock booking link, store it with the reservation, and when a prepaid ticket or deposit confirms, look up that user's appsflyer_id and post the paid amount through the server-to-server API. Send refunds as separate events.

AppsFlyer attributes events to app installs, keyed on its own device identifier. A Tock reservation is made on a web page or in Tock's consumer app, and neither carries an appsflyer_id that belongs to you. Posting Tock reservations to AppsFlyer with no device behind them produces exactly the orphaned revenue AppsFlyer is known for discarding.

The pair is real only for a hotel or hospitality group with its own app that links guests out to Tock for dining. In that flow, the app knows the device and the user, and then hands the booking to a web view or the browser, where Tock takes over. To get the reservation back, pass your own user ID into the Tock booking link, store it with the reservation, and when a prepaid ticket or deposit confirms, look up that user's appsflyer_id on your side and post the event through the server-to-server API with the paid amount.

Two cautions. If your app already fires a booking event when the guest taps Reserve, do not also send the server event as a purchase, or AppsFlyer counts an intent and a booking as two purchases and forwards both to every ad network. And refunded tickets need a separate negative or cancellation event, because AppsFlyer's revenue does not reverse on its own.

Tock → AppsFlyer · what breaks

Why this join usually fails — Tock → AppsFlyer

  1. 01

    The AppsFlyer device identifier, appsflyer_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

    Web conversions sent to a mobile attribution platform

    This is the common error and it produces confident nonsense. A purchase made on your website has no device identifier and no install behind it. AppsFlyer will either discard it or attribute it to nothing, and the revenue disappears somewhere between the two systems without anyone noticing it went.

  4. 04

    Nothing reconciles afterwards

    AppsFlyer shows the event on the raw data export with its attributed media source. Check the raw export, not the aggregate dashboard, and confirm the event carries a device identifier rather than landing as organic.

Tock → AppsFlyer · the fix

What working looks like — Tock → AppsFlyer

  • The AppsFlyer device identifier, appsflyer_id on every reservation

  • Conversions arriving in AppsFlyer

    The event is attributed to the install source, forwarded to whichever networks are configured, and appears in the cohort reporting.

  • Reconciled against the source

Tock → AppsFlyer · architecture

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

    AppsFlyer needs a click to match

    AppsFlyer needs the device identifier and an event name it recognizes, plus the revenue value for in-app purchases. A server event about a user with no linked device cannot be attributed to an install.

  3. 3

    The identifier is the bridge

    The AppsFlyer device identifier, appsflyer_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

    AppsFlyer deduplicates in-app events by its own event identifier. Sending the same purchase from both the SDK and your server produces two events and double-counts revenue in every dashboard downstream, including the ad networks AppsFlyer forwards to.

Tock → AppsFlyer · normal or broken

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

Normal, not a fault

  • The AppsFlyer device identifier, appsflyer_id present on the reservation

  • Sent from the Tock reservation record

  • Deduplicated correctly

    AppsFlyer deduplicates in-app events by its own event identifier. Sending the same purchase from both the SDK and your server produces two events and double-counts revenue in every dashboard downstream, including the ad networks AppsFlyer forwards to.

  • Reconciles with the source

Actually broken

  • The AppsFlyer device identifier, appsflyer_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

    This is the common error and it produces confident nonsense. A purchase made on your website has no device identifier and no install behind it. AppsFlyer will either discard it or attribute it to nothing, and the revenue disappears somewhere between the two systems without anyone noticing it went.

  • Nobody has reconciled it

Tock → AppsFlyer · diagnose

Diagnostic order — Tock → AppsFlyer

  1. 01

    Count reservations carrying the AppsFlyer device identifier, appsflyer_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 what share of your revenue happens in the app at all

    If most purchases are on the web, AppsFlyer is not your conversion destination and the work belongs somewhere else entirely.

  5. 05

    Read the match rate, not the success message

    AppsFlyer shows the event on the raw data export with its attributed media source. Check the raw export, not the aggregate dashboard, and confirm the event carries a device identifier rather than landing as organic.

Tock → AppsFlyer · prove

How it gets proven — Tock → AppsFlyer

Source of truth

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

  • The AppsFlyer device identifier, appsflyer_id confirmed present on a live reservation.
  • In-app revenue events reconciled per transaction against your billing system, with the organic share stated rather than assumed away.
  • Prepaid ticket revenue reconciled against imported conversions for a settled service period.

Tock → AppsFlyer · free audit

What we check in the free audit

  • Count reservations carrying the AppsFlyer device identifier, appsflyer_id
  • Follow one real conversion end to end
  • Split reservations by payment type
  • Check what share of your revenue happens in the app at all
  • 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 → AppsFlyer · when not to buy

When you don't need this — Tock → AppsFlyer

  • Measure identifier coverage yourself first — pull your last hundred reservations and count how many carry the AppsFlyer device identifier, appsflyer_id.
  • A restaurant taking only standard reservations has no revenue event here. Measure covers and stop.
  • If you have no mobile app, this is not a destination for you. If you have one but sell mostly on the web, send web conversions to your ad platforms directly and use AppsFlyer only for install and in-app events.

Tock → AppsFlyer · what we deliver

What gets built — Tock → AppsFlyer

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

    The AppsFlyer server-to-server events API, posted from your billing system with the device identifier and revenue.

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

Only if the guest came from your own app and you can link the reservation back to that app user's AppsFlyer device ID. Web bookings with no app behind them cannot be attributed.

Free · 30 min

Get Tock and AppsFlyer joined properly

Free30 minutesNo obligation