Connecting Doctolib to TikTok Events API
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. 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 Doctolib appointment 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
Doctolib and TikTok: the in-app tap that leaves for Doctolib's app
A tap on your Doctolib booking link in TikTok's in-app browser is the last thing the pixel sees, so fire it as ClickButton or Contact, never a completed booking. Do not send attended appointments through the Events API with ttclid and hashed phone. Keep specialties out of events and URLs, load the pixel after consent, and check TikTok's healthcare restrictions.
TikTok adds a failure the other destinations do not see as often. A visitor in TikTok's in-app browser who taps your Doctolib booking link may be handed to the Doctolib app if it is installed, or stay in the webview on Doctolib's mobile site. Either way the pixel's last sight of them is your page, and the booking itself is invisible. The tap is the measurable event; fire it as ClickButton or Contact, never as a completed booking.
Do not fill the gap with the Events API. Sending attended appointments back to TikTok with the ttclid and hashed phone would tell TikTok that an identifiable person sought medical care, and a practice website has no consent basis for that. TikTok also restricts healthcare advertising by category and country, so confirm what your specialty may run before planning conversion campaigns at all.
Keep the event lean: no specialty in the event name, no condition in the URL the pixel reports, and the pixel loaded only after consent. Expect small, noisy numbers. Consented booking taps from TikTok for a single practice may never reach the volume TikTok's optimizer needs, in which case run for reach and judge results from your own split of own-site bookings.
Doctolib → TikTok · what breaks
Why this join usually fails — Doctolib → TikTok
- 01
The ttclid 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
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.
- 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.
Doctolib → TikTok · the fix
What working looks like — Doctolib → TikTok
The ttclid on every appointment
Conversions arriving in TikTok
Events appear in TikTok Events Manager, deduplicated against the pixel, and become usable for optimization.
Reconciled against the source
Doctolib → TikTok · architecture
How Doctolib and TikTok 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
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
The identifier is the bridge
The ttclid, 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
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.
Doctolib → TikTok · normal or broken
Working vs. broken, side by side — Doctolib → TikTok
Normal, not a fault
The ttclid present on the appointment
Sent from your practice system
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
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
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
Doctolib → TikTok · diagnose
Diagnostic order — Doctolib → TikTok
- 01
Count appointments carrying the ttclid
- 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
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.
- 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.
Doctolib → TikTok · prove
How it gets proven — Doctolib → TikTok
Source of truth
Attended appointments in your own system, split by whether the patient came through your site or through Doctolib's directory.
- The ttclid confirmed present on a live appointment.
- Deduplication confirmed in Events Manager, and ttclid capture rate measured on TikTok traffic specifically.
- Own-site attended appointments reconciled against imported conversions, with directory volume reported separately.
Doctolib → TikTok · free audit
What we check in the free audit
- Count appointments carrying the ttclid
- Follow one real conversion end to end
- Split appointments by booking origin
- Measure ttclid capture rate on TikTok traffic specifically
- 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 → TikTok · when not to buy
When you don't need this — Doctolib → TikTok
- Measure identifier coverage yourself first — pull your last hundred appointments and count how many carry the ttclid.
- If the directory fills your calendar already, the honest recommendation is to skip advertising rather than to measure it better.
- 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.
Doctolib → TikTok · what we deliver
What gets built — Doctolib → TikTok
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 TikTok
Server events to the TikTok Events API with the ttclid, hashed contact information and a matching event_id.
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 → TikTok questions, answered
No. The booking happens on Doctolib's domain or in its app, often straight from TikTok's in-app browser. You can measure the tap on your booking link, with consent.
TikTok restricts healthcare advertising by category and country. Check TikTok's advertising policies for your specialty and market before spending.
Almost always because the ttclid 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.
The ttclid — TikTok's click identifier, appended to your landing page URL and also stored in the _ttp cookie. TikTok additionally matches on hashed email and phone. In-app browser behavior makes ttclid capture more fragile than the equivalents on other platforms, so persisting it server-side as soon as it is seen matters more here than elsewhere.
Your practice system. Send attended appointments as a count, per practice, with no specialty or reason-for-visit field.
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.
More on Doctolib → TikTok
- TikTok · Lead → booked callHow to track lead to booked call for TikTok Ads
- TikTok · Booked call → closed wonHow to track booked call to closed won for TikTok Ads
- TikTok · Free trial → paidHow to track free trial to paid for TikTok Ads
RELATED GUIDES
Where Doctolib → TikTok fits in the rest of your tracking
- TikTok · DermatologyTikTok Ads conversion tracking for dermatology practices
- TikTok · OptometryTikTok Ads conversion tracking for optometry practices
- TikTok × Appointment SystemHow to reconcile TikTok Ads against your practice or scheduling system
- TikTok · Lead → booked callHow to track lead to booked call for TikTok Ads
- Zocdoc → TikTokConnecting Zocdoc to TikTok Events API
- Doctolib → PinterestConnecting Doctolib to Pinterest
- OptometryConversion tracking for optometry, measured in exams and eyewear
- Solutionreach → TikTokConnecting Solutionreach to TikTok Events API
Free · 30 min
Get Doctolib and TikTok joined properly
Free30 minutesNo obligation
