Skip to main content
Bokun → X AdsIntegration guide

Connecting Bokun to X Ads

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. X is a conversation platform where a large share of engagement is discussion rather than intent, which makes the gap between engagement metrics and conversions unusually wide. The join between them succeeds or fails on one thing: whether the twclid click identifier reaches the Bokun booking before the conversion happens, because X Ads can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Bokun to X Ads: twclid, in-app browsers and direct bookings only

X traffic arrives through an in-app browser, so capture twclid on your landing page into your server immediately and attach hashed email from the Bokun booking. Send direct bookings to the X Conversions API as Purchase conversions with net value and the booking reference as the conversion ID shared with any pixel. Exclude Viator and GetYourGuide bookings entirely.

X traffic to a tour operator mostly arrives through the X app's in-app browser, and that matters more for a Bokun booking than for a simple checkout. The traveler lands on your tour page, opens the widget, picks a date, then leaves to check with travel companions. If they come back later in Safari or Chrome to book, the twclid stored in the in-app browser is gone. Capture twclid on the landing page into your server immediately, and attach hashed email from the booking so a later booking can still match.

Send direct bookings as Purchase conversions to the X Conversions API with net value and the booking reference as the conversion ID, shared with the pixel if you run both. If the pixel fires on the Bokun widget's confirmation step, verify on a live booking that it fires once and carries the same ID. A mismatch double counts, and at the volumes a tour operator usually sees on X, a doubling is easy to read as a good week.

Be realistic about fit. X is better at putting a destination or experience in front of people than at closing a dated booking, so a small number of direct bookings is the honest expectation. Keep Viator and GetYourGuide bookings out entirely, and judge the channel on direct bookings against a period without X spend.

Bokun → X Ads · what breaks

Why this join usually fails — Bokun → X Ads

  1. 01

    The twclid click identifier 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

    Engagement mistaken for intent

    A post can be quoted, argued with and shared widely by people with no interest in buying anything. Optimising toward engagement on this platform reliably finds an audience that will never convert, and the engagement numbers look excellent throughout.

  4. 04

    Nothing reconciles afterwards

    Read the delivered and matched counts in X's reporting rather than assuming a 200 response means the event was usable.

Bokun → X Ads · the fix

What working looks like — Bokun → X Ads

  • The twclid click identifier on every booking

  • Conversions arriving in X Ads

    The conversion is matched to a click or an engagement and becomes available for optimisation and reporting.

  • Reconciled against the source

Bokun → X Ads · architecture

How Bokun and X Ads 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

    X Ads needs a click to match

    An event X recognises, a conversion identifier for deduplication, hashed customer information, and the click identifier where you have it.

  3. 3

    The identifier is the bridge

    The twclid click identifier, 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

    X deduplicates browser and server events on a shared conversion ID. Send both without pairing them and every conversion counts twice — worth testing deliberately, because X volumes are often small enough that a doubling reads as a good week.

Bokun → X Ads · normal or broken

Working vs. broken, side by side — Bokun → X Ads

Normal, not a fault

  • The twclid click identifier present on the booking

  • Sent from the Bokun booking record

  • Deduplicated correctly

    X deduplicates browser and server events on a shared conversion ID. Send both without pairing them and every conversion counts twice — worth testing deliberately, because X volumes are often small enough that a doubling reads as a good week.

  • Reconciles with the source

Actually broken

  • The twclid click identifier 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

    A post can be quoted, argued with and shared widely by people with no interest in buying anything. Optimising toward engagement on this platform reliably finds an audience that will never convert, and the engagement numbers look excellent throughout.

  • Nobody has reconciled it

Bokun → X Ads · diagnose

Diagnostic order — Bokun → X Ads

  1. 01

    Count bookings carrying the twclid click identifier

  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

    Compare engagement rate against conversion rate by campaign

    On X the two frequently move in opposite directions, and that divergence is the finding rather than a measurement fault.

  5. 05

    Read the match rate, not the success message

    Read the delivered and matched counts in X's reporting rather than assuming a 200 response means the event was usable.

Bokun → X Ads · prove

How it gets proven — Bokun → X Ads

Source of truth

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

  • The twclid click identifier confirmed present on a live booking.
  • Conversions reconciled per order against imported figures, with deduplication verified on a live test.
  • Direct bookings reconciled at net value against imported conversions.

Bokun → X Ads · free audit

What we check in the free audit

  • Count bookings carrying the twclid click identifier
  • Follow one real conversion end to end
  • Split by channel and check whether values are gross or net
  • Compare engagement rate against conversion rate by campaign
  • 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 → X Ads · when not to buy

When you don't need this — Bokun → X Ads

  • Measure identifier coverage yourself first — pull your last hundred bookings and count how many carry the twclid click identifier.
  • An operator selling mainly through Viator has a distribution question, not a tracking question.
  • If X is a brand and community channel for you rather than a performance one, measure it that way and do not force a conversion pipeline onto it.

Bokun → X Ads · what we deliver

What gets built — Bokun → X Ads

  • 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 X Ads

    The X Conversions API, posted server-side with the click identifier and hashed customer 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 → X Ads questions, answered

Often the twclid was lost when the traveler left the X in-app browser and booked later in another browser. Capture it server-side on first landing and send hashed email with the booking so X can still match.

Free · 30 min

Get Bokun and X Ads joined properly

Free30 minutesNo obligation