Skip to main content
Cal.com → AppsFlyerIntegration guide

Connecting Cal.com to AppsFlyer

Cal.com holds the booking and, unusually, will let you self-host and query the database directly. 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 Cal.com 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

Cal.com bookings as AppsFlyer in-app events via appsflyer_id

AppsFlyer fits only when your app opens the Cal.com booking page. Append the device's appsflyer_id as booking metadata or a hidden question, then on BOOKING_CREATED post an in-app event to AppsFlyer's server-to-server API with that ID, plus revenue and currency for paid Stripe bookings. Don't also fire the event from the SDK, and decide how cancellations are handled.

AppsFlyer only helps when the booking is made by a user of your app, such as a coaching, tutoring or consulting app that opens a Cal.com booking page from inside. In that case the join is buildable: when the app opens the booking link, append the device's appsflyer_id as booking metadata or a hidden booking question, so it is stored on the booking and returned in the webhook payload.

On BOOKING_CREATED, post an in-app event to AppsFlyer's server-to-server API with that appsflyer_id and, for paid bookings taken through Cal.com's Stripe integration, the revenue and currency. Free bookings go without revenue. Do not also fire the same event from the SDK when the in-app web view shows confirmation; AppsFlyer deduplicates only on its own event identifier, and a doubled booking event flows to every ad network AppsFlyer forwards to.

Cancellations need a decision, because AppsFlyer has no clean way to withdraw a past in-app event. Either send a separate cancellation event and subtract in analysis, or wait until the session is held before reporting the booking at all. Check how your SKAdNetwork conversion value schema treats server-sent events before relying on this for iOS users without ATT consent.

Cal.com → AppsFlyer · what breaks

Why this join usually fails — Cal.com → AppsFlyer

  1. 01

    The AppsFlyer device identifier, appsflyer_id never reaches Cal.com

    As with any hosted booking page, the identifier must be passed on the booking URL and captured into a booking question. Cal.com's routing forms add a second surface that also needs to carry it, and they are commonly missed.

  2. 02

    Routing forms are a second capture surface

    Cal.com routing forms sit in front of the booking and are easy to forget. An identifier captured on the booking page but not on the routing form leaves a hole in exactly the traffic that used routing.

  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.

Cal.com → AppsFlyer · the fix

What working looks like — Cal.com → 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

Cal.com → AppsFlyer · architecture

How Cal.com and AppsFlyer actually connect

  1. 1

    Cal.com holds the truth

    The booking carries the attendee, the event type, the time and any custom booking-question responses. Self-hosted instances give you direct database access, which makes reconciliation genuinely easy compared with every other booking tool.

  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 Cal.com booking.

  4. 4

    The event source decides reliability

    Send from your server on the webhook, and handle BOOKING_CANCELLED for reversals. Self-hosted instances can read from the database instead, which is the most reliable option available on any booking platform.

  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.

Cal.com → AppsFlyer · normal or broken

Working vs. broken, side by side — Cal.com → AppsFlyer

Normal, not a fault

  • The AppsFlyer device identifier, appsflyer_id present on the booking

  • Sent from the BOOKING_CREATED webhook

  • 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

    As with any hosted booking page, the identifier must be passed on the booking URL and captured into a booking question. Cal.com's routing forms add a second surface that also needs to carry it, and they are commonly missed.

  • Sent from the browser

    Cal.com routing forms sit in front of the booking and are easy to forget. An identifier captured on the booking page but not on the routing form leaves a hole in exactly the traffic that used routing.

  • 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

Cal.com → AppsFlyer · diagnose

Diagnostic order — Cal.com → AppsFlyer

  1. 01

    Count bookings carrying the AppsFlyer device identifier, appsflyer_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Query recent bookings for the identifier field

    Direct database query on self-hosted, API on cloud. Then repeat for bookings that came through a routing form specifically.

  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.

Cal.com → AppsFlyer · prove

How it gets proven — Cal.com → AppsFlyer

Source of truth

Cal.com's bookings list for the same window, with cancellations separated.

  • 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.
  • Coverage confirmed separately for direct bookings and for routing-form bookings.

Cal.com → 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
  • Query recent bookings for the identifier field
  • Check what share of your revenue happens in the app at all
  • Read the match rate, not the success message

Checked against

Cal.com's bookings list for the same window, with cancellations separated.

Get my free conversion tracking audit

Free30 minutesNo obligation

Cal.com → AppsFlyer · when not to buy

When you don't need this — Cal.com → AppsFlyer

  • Measure identifier coverage yourself first — pull your last hundred bookings and count how many carry the AppsFlyer device identifier, appsflyer_id.
  • Self-hosting Cal.com already gives you the data. If you have engineering capacity in-house, this is one of the few integrations a competent developer can genuinely do alone.
  • 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.

Cal.com → AppsFlyer · what we deliver

What gets built — Cal.com → AppsFlyer

  • Identifier capture into Cal.com

    Add a hidden booking question, append the identifier via Cal.com's prefill query parameters, and verify through the API or directly in the database on a self-hosted instance.

  • Event source: the BOOKING_CREATED webhook

    Send from your server on the webhook, and handle BOOKING_CANCELLED for reversals. Self-hosted instances can read from the database instead, which is the most reliable option available on any booking platform.

  • 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

    BOOKING_CANCELLED and BOOKING_REJECTED both fire with the reference, so reversals are straightforward.

Written guarantee

95%+ tracking accuracy

Measured against Cal.com's bookings list for the same window, with cancellations separated.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Cal.com → AppsFlyer questions, answered

Pass the appsflyer_id into the Cal.com booking when your app opens the link, then post an in-app event from the BOOKING_CREATED webhook through AppsFlyer's server-to-server API. Without the appsflyer_id the booking cannot be tied to an install.

Free · 30 min

Get Cal.com and AppsFlyer joined properly

Free30 minutesNo obligation