Skip to main content
Bokun → BranchIntegration guide

Connecting Bokun to Branch

Bokun is owned by Tripadvisor and connects operators to Viator, so it is a distribution network with a booking engine attached rather than the other way round. 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 Bokun booking 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

Branch for Bokun operators: linking bookings to your trip app

Branch fits only operators with an app worth installing after booking. Put a Branch link carrying the Bokun confirmation code in the confirmation email or page, so the app opens on the traveller's booking after install. Send in-app bookings server-side with a shared event ID to avoid duplicates, and do not report post-booking installs as acquisition.

Branch only earns its place if you have an app worth installing after a booking: a self-guided audio tour, a multi-day trip companion, or tickets that live in an app. For those operators the interesting seam runs the other way from most Branch setups. The traveller books on your website through Bokun first, then needs the app, and the deep link should open straight onto their booking.

That means the confirmation email or page carries a Branch link with the Bokun confirmation code in its data, so the app can show the right tour on first open after install. If the deferred deep link fails, the user lands in the app as an unknown visitor and has to find their booking by hand, which is a support cost, not just an attribution miss.

For acquisition measurement, Branch attributes app installs and in-app bookings to the link that drove them. Send in-app bookings server-side with a shared event ID so an SDK event and a server event for the same confirmation code do not both get forwarded to ad partners. Website bookings stay in your web tracking; installs that happen after a booking are not new customers and should not be reported as acquisition.

Bokun → Branch · what breaks

Why this join usually fails — Bokun → Branch

  1. 01

    The Branch link click identifier and the deferred deep link payload never reaches Bokun

    Reseller bookings originate on Viator, GetYourGuide or an agent's system. There is no session of yours anywhere in that chain.

  2. 02

    Distribution revenue attributed to advertising

    Bokun's purpose is to put your product in front of travellers on other people's platforms. That works, and none of it is something your search campaign caused.

  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.

Bokun → Branch · the fix

What working looks like — Bokun → Branch

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

  • 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

Bokun → Branch · architecture

How Bokun and Branch actually connect

  1. 1

    Bokun holds the truth

    Reseller bookings carry an OTA commission that can reach a quarter of the ticket price. Your net rate and the traveller's price are different numbers and only one of them is yours.

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

  4. 4

    The event source decides reliability

    Send direct bookings at net value. Never send reseller bookings as conversions.

  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.

Bokun → Branch · normal or broken

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

Normal, not a fault

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

  • Sent from the Bokun booking 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

    Reseller bookings originate on Viator, GetYourGuide or an agent's system. There is no session of yours anywhere in that chain.

  • Sent from the browser

    Bokun's purpose is to put your product in front of travellers on other people's platforms. That works, and none of it is something your search campaign caused.

  • 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

Bokun → Branch · diagnose

Diagnostic order — Bokun → Branch

  1. 01

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

  2. 02

    Follow one real conversion end to end

  3. 03

    Split by channel and check whether values are gross or net

    Two questions, both usually answered wrongly, and together they can overstate return by a factor of two.

  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.

Bokun → Branch · prove

How it gets proven — Bokun → Branch

Source of truth

Bokun bookings by departure, split into your own website and reseller channels, valued at your net rate.

  • The Branch link click identifier and the deferred deep link payload confirmed present on a live booking.
  • Attributed installs and in-app purchases reconciled against your own user records, with the unattributed share stated.
  • Direct bookings reconciled at net value against imported conversions.

Bokun → Branch · free audit

What we check in the free audit

  • Count bookings carrying the Branch link click identifier and the deferred deep link payload
  • Follow one real conversion end to end
  • Split by channel and check whether values are gross or net
  • Measure your organic install share and ask whether it is plausible
  • Read the match rate, not the success message

Checked against

Bokun bookings by departure, split into your own website and reseller channels, valued at your net rate.

Get my free conversion tracking audit

Free30 minutesNo obligation

Bokun → Branch · when not to buy

When you don't need this — Bokun → Branch

  • Measure identifier coverage yourself first — pull your last hundred bookings and count how many carry the Branch link click identifier and the deferred deep link payload.
  • An operator selling mainly through Viator has a distribution question, not a tracking question.
  • If you have no app, or no web surface driving app installs, there is no seam here to bridge and the integration solves nothing.

Bokun → Branch · what we deliver

What gets built — Bokun → Branch

  • Identifier capture into Bokun

    Attribute direct-website bookings only, and report reseller volume as a separate channel at net rate.

  • Event source: the Bokun booking record

    Send direct bookings at net value. Never send reseller bookings as conversions.

  • 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

    Cancellations reverse.

Written guarantee

95%+ tracking accuracy

Measured against Bokun bookings by departure, split into your own website and reseller channels, valued at your net rate.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Bokun → Branch questions, answered

Put the confirmation code in a Branch link's data on the confirmation page or email, and read it on first app open to show the booking.

Free · 30 min

Get Bokun and Branch joined properly

Free30 minutesNo obligation