Skip to main content
Cloudbeds → X AdsIntegration guide

Connecting Cloudbeds to X Ads

Cloudbeds is an all-in-one property management, channel manager and booking engine, which means it holds both the direct booking you want and the OTA booking you paid commission on. 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 Cloudbeds reservation 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

Cloudbeds to X Ads: twclid, in-app browsers and long lead times

Capture twclid on the landing page, pass it into the Cloudbeds booking engine onto the reservation, and send a purchase conversion through the X Conversions API from the webhook with the reservation ID as conversion ID, stay value, currency and hashed email. At low volume, tag URLs and count direct reservations yourself.

A traveler who taps a destination ad on X lands in the app's in-app browser, looks at rooms, and usually books later on a laptop or in Safari. That second session has no twclid, so the reservation can only be attributed if the guest completes the booking in the same session where you captured it. Expect a large share of X-influenced reservations to arrive with no identifier at all, and treat that as normal for this pair.

For the sessions that do convert, capture twclid on the landing page, pass it into the Cloudbeds booking engine so it is stored on the reservation, and send a purchase-type conversion through the X Conversions API from the reservation webhook. Use the reservation ID as the conversion ID, the total stay value and property currency, and the guest email hashed. If you can also run the X pixel on the booking confirmation page, it must use the same conversion ID.

Volume decides whether this is worth building. A boutique property might get a handful of X-attributed reservations a month, too few for X's optimization to learn from. In that case, run X as an awareness channel, tag the landing URLs, and count matching direct reservations yourself. Build the Conversions API path once X-attributed bookings are frequent enough that bidding on them is realistic.

Cloudbeds → X Ads · what breaks

Why this join usually fails — Cloudbeds → X Ads

  1. 01

    The twclid click identifier never reaches Cloudbeds

    The booking engine runs on a Cloudbeds-hosted page or an iframe on your site, so first-party cookies do not cross into it. OTA reservations arrive through the channel manager with no click identifier at all and never will.

  2. 02

    OTA bookings blended with direct

    The same room night earns materially less through an OTA after commission, and OTA reservations carry no click identifier. Summed together, direct acquisition looks worse than it is and OTA looks free.

  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.

Cloudbeds → X Ads · the fix

What working looks like — Cloudbeds → X Ads

  • The twclid click identifier on every reservation

  • 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

Cloudbeds → X Ads · architecture

How Cloudbeds and X Ads actually connect

  1. 1

    Cloudbeds holds the truth

    The channel split is the whole commercial story in lodging. A direct booking and a Booking.com booking for the same room earn very differently, and a report that sums them tells you nothing about whether your marketing worked.

  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 Cloudbeds reservation.

  4. 4

    The event source decides reliability

    Send confirmed direct reservations with the total stay value, not the nightly rate. Fire on booking rather than check-in, since the gap can be months.

  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.

Cloudbeds → X Ads · normal or broken

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

Normal, not a fault

  • The twclid click identifier present on the reservation

  • Sent from the Cloudbeds reservation webhook

  • 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

    The booking engine runs on a Cloudbeds-hosted page or an iframe on your site, so first-party cookies do not cross into it. OTA reservations arrive through the channel manager with no click identifier at all and never will.

  • Sent from the browser

    The same room night earns materially less through an OTA after commission, and OTA reservations carry no click identifier. Summed together, direct acquisition looks worse than it is and OTA looks free.

  • 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

Cloudbeds → X Ads · diagnose

Diagnostic order — Cloudbeds → X Ads

  1. 01

    Count reservations carrying the twclid click identifier

  2. 02

    Follow one real conversion end to end

  3. 03

    Split reservations by source channel before anything else

    Direct versus OTA. Every subsequent number depends on that split and it is usually the first thing nobody has done.

  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.

Cloudbeds → X Ads · prove

How it gets proven — Cloudbeds → X Ads

Source of truth

Cloudbeds reservations by stay date, split by source channel.

  • The twclid click identifier confirmed present on a live reservation.
  • Conversions reconciled per order against imported figures, with deduplication verified on a live test.
  • Direct reservations reconciled per reservation, with OTA volume reported separately and cancellations reversed.

Cloudbeds → X Ads · free audit

What we check in the free audit

  • Count reservations carrying the twclid click identifier
  • Follow one real conversion end to end
  • Split reservations by source channel before anything else
  • Compare engagement rate against conversion rate by campaign
  • Read the match rate, not the success message

Checked against

Cloudbeds reservations by stay date, split by source channel.

Get my free conversion tracking audit

Free30 minutesNo obligation

Cloudbeds → X Ads · when not to buy

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

  • Measure identifier coverage yourself first — pull your last hundred reservations and count how many carry the twclid click identifier.
  • If nearly all your occupancy comes through OTAs, the commercial question is your channel mix rather than your ad tracking, and we would say so.
  • 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.

Cloudbeds → X Ads · what we deliver

What gets built — Cloudbeds → X Ads

  • Identifier capture into Cloudbeds

    Pass the click identifier into the booking engine through its supported parameters so it lands on the reservation, and segment OTA-sourced reservations out before quoting any coverage figure.

  • Event source: the Cloudbeds reservation webhook

    Send confirmed direct reservations with the total stay value, not the nightly rate. Fire on booking rather than check-in, since the gap can be months.

  • Dispatch to X Ads

    The X Conversions API, posted server-side with the click identifier and hashed customer data.

  • Reversals where they exist

    Cancellations are frequent in lodging and Cloudbeds records them. Without the reversal, reported direct revenue only ever climbs.

Written guarantee

95%+ tracking accuracy

Measured against Cloudbeds reservations by stay date, split by source channel.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Cloudbeds → X Ads questions, answered

Most travelers do not book inside X's in-app browser, so twclid is lost when they come back later. Only reservations completed in the captured session can be matched.

Free · 30 min

Get Cloudbeds and X Ads joined properly

Free30 minutesNo obligation