Skip to main content
Treatwell → AppsFlyerIntegration guide

Connecting Treatwell to AppsFlyer

Treatwell is a beauty marketplace with a salon booking system attached, so most of the bookings flowing through it were generated by Treatwell rather than by you. 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 Treatwell booking 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

AppsFlyer with Treatwell: the booking happens outside your app

AppsFlyer matters only if a salon group runs its own app. If its book button opens the Treatwell widget, track that tap as a booking started. Send completed appointments from Treatwell's records server-side, net of commission and discount, only when the app user's email or phone matches, and never send marketplace bookings from Treatwell's app.

AppsFlyer is only relevant here if a salon or spa group runs its own app, usually for loyalty or memberships, and pays to acquire installs. The catch with Treatwell is where booking happens. If the app's book button opens the Treatwell widget in a web view or hands off to Treatwell's own app, the appointment is created in Treatwell, and the AppsFlyer SDK in your app sees at most the tap that started it.

That tap is a fair in-app event to optimize toward, named clearly as a booking started rather than a booking. The completed appointment can only come from Treatwell's records, sent from your server, and AppsFlyer needs the device identifier to attribute it. Unless your app user is logged in with the same email or phone the client used on Treatwell, you cannot link the two. Check whether you can make that match before promising anyone booking revenue in AppsFlyer.

Where the match is possible, send completed appointments only, net of commission and discount, and reverse cancellations and no-shows. Never send marketplace bookings made in Treatwell's own app: they belong to Treatwell's acquisition, and posting them as your in-app revenue would mislead every ad network AppsFlyer forwards to.

Treatwell → AppsFlyer · what breaks

Why this join usually fails — Treatwell → AppsFlyer

  1. 01

    The AppsFlyer device identifier, appsflyer_id never reaches Treatwell

    The widget is Treatwell-served, and marketplace bookings originate entirely inside Treatwell.

  2. 02

    Commission and discount both omitted from the value

    A marketplace booking at a promotional rate, minus new-client commission, can be worth half its headline price. Import the headline and the channel looks twice as good as it is.

  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.

Treatwell → AppsFlyer · the fix

What working looks like — Treatwell → AppsFlyer

  • The AppsFlyer device identifier, appsflyer_id on every booking

  • 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

Treatwell → AppsFlyer · architecture

How Treatwell and AppsFlyer actually connect

  1. 1

    Treatwell holds the truth

    Marketplace bookings carry a commission on new clients and often a promotional discount as well. Two deductions, both invisible if you import the headline price.

  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 Treatwell booking.

  4. 4

    The event source decides reliability

    Send completed appointments net of commission and discount.

  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.

Treatwell → AppsFlyer · normal or broken

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

Normal, not a fault

  • The AppsFlyer device identifier, appsflyer_id present on the booking

  • Sent from the Treatwell booking 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 widget is Treatwell-served, and marketplace bookings originate entirely inside Treatwell.

  • Sent from the browser

    A marketplace booking at a promotional rate, minus new-client commission, can be worth half its headline price. Import the headline and the channel looks twice as good as it is.

  • 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

Treatwell → AppsFlyer · diagnose

Diagnostic order — Treatwell → AppsFlyer

  1. 01

    Count bookings carrying the AppsFlyer device identifier, appsflyer_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Reconcile against the payout, not the booking

    The payout report is the only place where both deductions have already been applied.

  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.

Treatwell → AppsFlyer · prove

How it gets proven — Treatwell → AppsFlyer

Source of truth

Treatwell bookings by service date, split between your own booking widget and the Treatwell marketplace.

  • The AppsFlyer device identifier, appsflyer_id confirmed present on a live booking.
  • In-app revenue events reconciled per transaction against your billing system, with the organic share stated rather than assumed away.
  • Own-widget bookings reconciled net against imported conversions, with marketplace volume reported separately.

Treatwell → AppsFlyer · free audit

What we check in the free audit

  • Count bookings carrying the AppsFlyer device identifier, appsflyer_id
  • Follow one real conversion end to end
  • Reconcile against the payout, not the booking
  • Check what share of your revenue happens in the app at all
  • Read the match rate, not the success message

Checked against

Treatwell bookings by service date, split between your own booking widget and the Treatwell marketplace.

Get my free conversion tracking audit

Free30 minutesNo obligation

Treatwell → AppsFlyer · when not to buy

When you don't need this — Treatwell → AppsFlyer

  • Measure identifier coverage yourself first — pull your last hundred bookings and count how many carry the AppsFlyer device identifier, appsflyer_id.
  • If Treatwell is purely a client-acquisition marketplace for you, evaluate it on commission economics rather than building a tracking integration.
  • 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.

Treatwell → AppsFlyer · what we deliver

What gets built — Treatwell → AppsFlyer

  • Identifier capture into Treatwell

    Attribute widget bookings placed from your own site; report marketplace volume separately with its commission stated.

  • Event source: the Treatwell booking record

    Send completed appointments net of commission and discount.

  • 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

    Cancellations and no-shows reverse.

Written guarantee

95%+ tracking accuracy

Measured against Treatwell bookings by service date, split between your own booking widget and the Treatwell marketplace.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Treatwell → AppsFlyer questions, answered

The SDK can record the tap to book, but the appointment completes in Treatwell. Completed bookings must come from Treatwell's records and be matched to the app user, which needs a shared email or phone.

Free · 30 min

Get Treatwell and AppsFlyer joined properly

Free30 minutesNo obligation