Skip to main content
Bokun → TikTokIntegration guide

Connecting Bokun to TikTok Events API

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. TikTok's audience skews to exactly the browsers and app contexts where browser-side tracking performs worst. The join between them succeeds or fails on one thing: whether the ttclid reaches the Bokun booking before the conversion happens, because TikTok can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Bokun to TikTok Events API: tour bookings from in-app traffic

TikTok traffic reaches the Bokun widget through an in-app browser that loses storage, so capture the ttclid on first load and write it server-side immediately. Send direct bookings to the TikTok Events API as CompletePayment at net rate, with the Bokun booking reference as event_id and hashed email and phone. Filter out reseller channels before dispatch.

TikTok travel traffic arrives in the in-app browser, lands on your tour page, then opens Bokun's booking widget: two hand-offs inside a webview that does not reliably keep storage. Capture the ttclid from the landing URL on first load, write it server-side immediately, and attach it to the booking at checkout. If you wait for the widget to read a cookie later, many TikTok bookings arrive with nothing to match.

Send direct bookings as CompletePayment at net rate, with the Bokun booking reference as event_id and the lead traveller's hashed email and phone, which carry the match when the ttclid did not survive. A pattern that is common on TikTok specifically: a viewer watches a tour video, leaves the app, and later books on Viator or GetYourGuide in a normal browser. That sale never touches your session, and contact matching must not be used to claim it, so filter Bokun's reseller channels out before dispatch.

If tour videos are driving reseller sales you cannot see, TikTok will look weaker than it is. Answer that separately, by comparing reseller volume on promoted tours against spend over time, rather than by feeding reseller bookings to the Events API.

Bokun → TikTok · what breaks

Why this join usually fails — Bokun → TikTok

  1. 01

    The ttclid 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 ttclid is lost in the in-app browser

    TikTok traffic arrives through an in-app webview whose storage behavior is inconsistent. An identifier captured but not immediately persisted server-side often is not there by the time the conversion happens.

  4. 04

    Nothing reconciles afterwards

    TikTok Events Manager shows received events and their match status. As with Meta, arriving is not the test — deduplicated and matched is. Reconcile TikTok's reported conversions against the source system for the same window.

Bokun → TikTok · the fix

What working looks like — Bokun → TikTok

  • The ttclid on every booking

  • Conversions arriving in TikTok

    Events appear in TikTok Events Manager, deduplicated against the pixel, and become usable for optimization.

  • Reconciled against the source

Bokun → TikTok · architecture

How Bokun and TikTok 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

    TikTok Events API needs a click to match

    TikTok matches server events using ttclid where available, falling back to hashed contact information. Both should be sent — the fallback is what carries the events where the click ID did not survive.

  3. 3

    The identifier is the bridge

    The ttclid, 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

    TikTok deduplicates on event_id, the same pattern as Meta: the pixel and the Events API must send the same event_id for the same conversion. Mismatched IDs mean double counting.

Bokun → TikTok · normal or broken

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

Normal, not a fault

  • The ttclid present on the booking

  • Sent from the Bokun booking record

  • Deduplicated correctly

    TikTok deduplicates on event_id, the same pattern as Meta: the pixel and the Events API must send the same event_id for the same conversion. Mismatched IDs mean double counting.

  • Reconciles with the source

Actually broken

  • The ttclid 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

    TikTok traffic arrives through an in-app webview whose storage behavior is inconsistent. An identifier captured but not immediately persisted server-side often is not there by the time the conversion happens.

  • Nobody has reconciled it

Bokun → TikTok · diagnose

Diagnostic order — Bokun → TikTok

  1. 01

    Count bookings carrying the ttclid

  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 ttclid capture rate on TikTok traffic specifically

    Not on all traffic. TikTok's in-app browser is the failure case, so a healthy overall capture rate can hide a poor one on exactly the traffic that matters.

  5. 05

    Read the match rate, not the success message

    TikTok Events Manager shows received events and their match status. As with Meta, arriving is not the test — deduplicated and matched is. Reconcile TikTok's reported conversions against the source system for the same window.

Bokun → TikTok · prove

How it gets proven — Bokun → TikTok

Source of truth

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

  • The ttclid confirmed present on a live booking.
  • Deduplication confirmed in Events Manager, and ttclid capture rate measured on TikTok traffic specifically.
  • Direct bookings reconciled at net value against imported conversions.

Bokun → TikTok · free audit

What we check in the free audit

  • Count bookings carrying the ttclid
  • Follow one real conversion end to end
  • Split by channel and check whether values are gross or net
  • Measure ttclid capture rate on TikTok traffic specifically
  • 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 → TikTok · when not to buy

When you don't need this — Bokun → TikTok

  • Measure identifier coverage yourself first — pull your last hundred bookings and count how many carry the ttclid.
  • An operator selling mainly through Viator has a distribution question, not a tracking question.
  • If TikTok is a small share of spend, the effort is hard to justify. It pays when TikTok is a channel you are actively scaling.

Bokun → TikTok · what we deliver

What gets built — Bokun → TikTok

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

    Server events to the TikTok Events API with the ttclid, hashed contact information and a matching event_id.

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

Usually the ttclid was lost between TikTok's in-app browser and the Bokun widget. Persist it server-side on landing and send hashed email and phone as the fallback.

Free · 30 min

Get Bokun and TikTok joined properly

Free30 minutesNo obligation