Connecting Doctolib to X Ads
Doctolib is a patient-facing marketplace as much as a booking system, so a large share of the appointments it produces were found by Doctolib rather than by you. 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 Doctolib appointment 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
Doctolib and X Ads: measure hand-offs, never appointments
X is a poor fit for practices. At most, send an anonymous hand-off click from your site to Doctolib with twclid and no email, phone, specialty or practitioner, only for consented visitors, reading twclid server-side on the first page. Keep directory bookings and attendance out of X, and compare X-tagged hand-offs with own-site attended appointments.
X is a poor fit for practice advertising and a riskier one for measurement. Its conversion events feed targeting, and sending a booking with a hashed email tells X that a known person sought medical care. For a Doctolib-based practice, the most that should reach X is an anonymous hand-off click from your site to Doctolib, with twclid from the URL and no email, phone, specialty or practitioner, sent only for visitors who consented. Check X's healthcare ad policy for your country before spending anything.
The twclid problem is sharper here than for most sources. A lot of X traffic arrives in the in-app browser, and the jump to Doctolib's domain opens yet another context. Even the hand-off event loses the click ID unless twclid is read from the landing URL and stored server-side on the very first page.
Directory bookings and attendance should stay out of X entirely. To learn whether X brings patients, compare weekly hand-off clicks from X-tagged sessions against own-site attended appointments in your practice system; X's dashboard cannot answer that question.
Doctolib → X Ads · what breaks
Why this join usually fails — Doctolib → X Ads
- 01
The twclid click identifier never reaches Doctolib
Booking happens on Doctolib's domain, and directory bookings never touch any property of yours at all.
- 02
Marketplace demand read as campaign performance
Doctolib's directory fills calendars independently of anything you spend. Pool the two and your advertising takes credit for the platform's own reach.
- 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.
- 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.
Doctolib → X Ads · the fix
What working looks like — Doctolib → X Ads
The twclid click identifier on every appointment
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
Doctolib → X Ads · architecture
How Doctolib and X Ads actually connect
- 1
Doctolib holds the truth
Directory-sourced patients are real and are not evidence that your advertising worked. Under European rules the consent position on health data is also stricter than most advertisers assume.
- 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
The identifier is the bridge
The twclid click identifier, captured at the visit and carried into the Doctolib appointment.
- 4
The event source decides reliability
Send attended appointments as a count, per practice, with no specialty or reason-for-visit field.
- 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.
Doctolib → X Ads · normal or broken
Working vs. broken, side by side — Doctolib → X Ads
Normal, not a fault
The twclid click identifier present on the appointment
Sent from your practice system
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
Booking happens on Doctolib's domain, and directory bookings never touch any property of yours at all.
Sent from the browser
Doctolib's directory fills calendars independently of anything you spend. Pool the two and your advertising takes credit for the platform's own reach.
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
Doctolib → X Ads · diagnose
Diagnostic order — Doctolib → X Ads
- 01
Count appointments carrying the twclid click identifier
- 02
Follow one real conversion end to end
- 03
Split appointments by booking origin
Own site versus directory. Without it the paid numbers cannot be interpreted in either direction.
- 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.
- 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.
Doctolib → X Ads · prove
How it gets proven — Doctolib → X Ads
Source of truth
Attended appointments in your own system, split by whether the patient came through your site or through Doctolib's directory.
- The twclid click identifier confirmed present on a live appointment.
- Conversions reconciled per order against imported figures, with deduplication verified on a live test.
- Own-site attended appointments reconciled against imported conversions, with directory volume reported separately.
Doctolib → X Ads · free audit
What we check in the free audit
- Count appointments carrying the twclid click identifier
- Follow one real conversion end to end
- Split appointments by booking origin
- Compare engagement rate against conversion rate by campaign
- Read the match rate, not the success message
Checked against
Attended appointments in your own system, split by whether the patient came through your site or through Doctolib's directory.
Free30 minutesNo obligation
Doctolib → X Ads · when not to buy
When you don't need this — Doctolib → X Ads
- Measure identifier coverage yourself first — pull your last hundred appointments and count how many carry the twclid click identifier.
- If the directory fills your calendar already, the honest recommendation is to skip advertising rather than to measure it better.
- 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.
Doctolib → X Ads · what we deliver
What gets built — Doctolib → X Ads
Identifier capture into Doctolib
Attribute only bookings that began on your own site, and then only with a consented identifier and no clinical detail attached.
Event source: your practice system
Send attended appointments as a count, per practice, with no specialty or reason-for-visit field.
Dispatch to X Ads
The X Conversions API, posted server-side with the click identifier and hashed customer data.
Reversals where they exist
Cancellations and no-shows reverse.
Written guarantee
95%+ tracking accuracy
Measured against Attended appointments in your own system, split by whether the patient came through your site or through Doctolib's directory.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Doctolib → X Ads questions, answered
Only the click from your site to Doctolib, not the appointment. Sending appointments with identity data to X raises health-data problems under GDPR and, for US providers, HIPAA.
Bookings happen on Doctolib's domain, and X's in-app browser often loses twclid before the hand-off. Capture twclid server-side on the first page view.
Almost always because the twclid click identifier never reached the Doctolib appointment. Booking happens on Doctolib's domain, and directory bookings never touch any property of yours at all. Measure coverage before debugging the dispatch.
X appends twclid to the landing URL and the pixel stores it. It behaves like other click identifiers, with the usual caveat that a large share of X traffic arrives through the in-app browser, where storage is partitioned and short-lived.
Your practice system. Send attended appointments as a count, per practice, with no specialty or reason-for-visit field.
Read the delivered and matched counts in X's reporting rather than assuming a 200 response means the event was usable.
More on Doctolib → X Ads
- Doctolib → Google AdsConnecting Doctolib to Google Ads
- Doctolib → Microsoft AdsConnecting Doctolib to Microsoft Ads
- Doctolib → Apple Search AdsConnecting Doctolib to Apple Search Ads
RELATED GUIDES
Where Doctolib → X Ads fits in the rest of your tracking
- X Ads · DentistsX Ads conversion tracking for dental practices
- X Ads · OptometryX Ads conversion tracking for optometry practices
- X Ads × Appointment SystemHow to reconcile X Ads against your practice or scheduling system
- X Ads · Lead → booked callHow to track lead to booked call for X Ads
- Solutionreach → X AdsConnecting Solutionreach to X Ads
- Doctolib → Google AdsConnecting Doctolib to Google Ads
- OrthodonticsConversion tracking for orthodontics, measured in started treatment
- Weave → X AdsConnecting Weave to X Ads
Free · 30 min
Get Doctolib and X Ads joined properly
Free30 minutesNo obligation
