Skip to main content
Zocdoc → SegmentIntegration guide

Connecting Zocdoc to Segment

Zocdoc is a patient marketplace that books appointments into your practice, which makes it a competing acquisition channel rather than a tracking tool. Segment is a customer data platform rather than an ad network, so sending to it is not about matching a conversion — it is about putting one clean event where every other destination can read it. The join between them succeeds or fails on one thing: whether the userId and anonymousId reaches the Zocdoc booking before the conversion happens, because Segment can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Zocdoc through Segment: block Zocdoc patients from every ad tool

Set a booking-source property on every appointment event and filter Zocdoc-sourced events out of every ad destination, letting only the warehouse receive them. Confirm Segment and each destination are covered by a BAA, strip visit reason, specialty and provider, pass consent state, and use a pseudonymized practice patient ID as userId. With only one or two tools, skip Segment.

Segment's fan-out is the danger here. If appointments from the practice system flow into Segment and on to ad destinations, Zocdoc bookings will be credited to whatever ad platform last saw that person, and appointment events can carry protected health information to several vendors at once. Set a booking-source property on every appointment event and filter Zocdoc-sourced events out of every ad destination, while letting the warehouse receive them.

Confirm whether your Segment workspace is covered by a business associate agreement before any appointment data touches it, and which destinations are covered too; a BAA with Segment does not extend to the ad platforms it forwards to. Strip visit reason, specialty and provider from events bound for ad destinations, and pass consent state through so destinations that need it can honor it.

Use your practice system's patient ID, pseudonymized, as userId, never email. Zocdoc patients will have no anonymousId from your site because they never visited it, which is a useful check: a Zocdoc patient with campaign traits attached means identity is being merged incorrectly. If Segment would feed only one or two tools here, skip it and keep the data in a covered warehouse.

Zocdoc → Segment · what breaks

Why this join usually fails — Zocdoc → Segment

  1. 01

    The userId and anonymousId never reaches Zocdoc

    The patient searches on Zocdoc, not on your site, so there is no click identifier and cannot be. Zocdoc-sourced patients look identical to ad-sourced ones in the practice system unless the source is recorded.

  2. 02

    A paid marketplace counted as organic success

    Zocdoc bookings cost money per patient. Counting them alongside ad-driven bookings makes your advertising look more effective than it is and hides what Zocdoc actually costs.

  3. 03

    One bad event multiplied across every destination

    Segment's value is fan-out, which is also its risk. An inconsistent identity or a duplicated event does not break one report — it breaks every connected tool simultaneously, and tracing it back is harder than debugging a direct integration.

  4. 04

    Nothing reconciles afterwards

    Segment's debugger shows events arriving and which destinations accepted them. Arriving is not the test — check a destination you care about and confirm the event landed there with the identity intact, then reconcile against your own records.

Zocdoc → Segment · the fix

What working looks like — Zocdoc → Segment

  • The userId and anonymousId on every appointment

  • Conversions arriving in Segment

    Events land in Segment and forward to every connected destination, warehouse included, on one shared definition.

  • Reconciled against the source

Zocdoc → Segment · architecture

How Zocdoc and Segment actually connect

  1. 1

    Zocdoc holds the truth

    Zocdoc charges per booking or per new patient, so its bookings have an acquisition cost of their own that has nothing to do with your advertising.

  2. 2

    Segment needs a click to match

    Segment needs a consistent identity model — the same userId everywhere, an alias when an anonymous visitor becomes known, and event names that follow one spec. Feeding it inconsistent identities pushes the mess to every connected destination at once.

  3. 3

    The identifier is the bridge

    The userId and anonymousId, captured at the visit and carried into the Zocdoc booking.

  4. 4

    The event source decides reliability

    Send attended appointments from patients acquired through your own channels. Zocdoc-sourced patients belong in a separate report.

  5. 5

    Deduplication at the destination

    Segment deduplicates on messageId within a window. Because it fans out to many destinations, a duplicate here becomes a duplicate everywhere, which makes idempotent messageIds more important than in any single-destination integration.

Zocdoc → Segment · normal or broken

Working vs. broken, side by side — Zocdoc → Segment

Normal, not a fault

  • The userId and anonymousId present on the appointment

  • Sent from your practice management system, with source recorded

  • Deduplicated correctly

    Segment deduplicates on messageId within a window. Because it fans out to many destinations, a duplicate here becomes a duplicate everywhere, which makes idempotent messageIds more important than in any single-destination integration.

  • Reconciles with the source

Actually broken

  • The userId and anonymousId missing on most records

    The patient searches on Zocdoc, not on your site, so there is no click identifier and cannot be. Zocdoc-sourced patients look identical to ad-sourced ones in the practice system unless the source is recorded.

  • Sent from the browser

    Zocdoc bookings cost money per patient. Counting them alongside ad-driven bookings makes your advertising look more effective than it is and hides what Zocdoc actually costs.

  • Counted twice, or not at all

    Segment's value is fan-out, which is also its risk. An inconsistent identity or a duplicated event does not break one report — it breaks every connected tool simultaneously, and tracing it back is harder than debugging a direct integration.

  • Nobody has reconciled it

Zocdoc → Segment · diagnose

Diagnostic order — Zocdoc → Segment

  1. 01

    Count appointments carrying the userId and anonymousId

  2. 02

    Follow one real conversion end to end

  3. 03

    Check whether booking source is recorded on the patient record

    Without it, two paid channels are being reported as one and neither can be judged.

  4. 04

    Check identity resolution before checking anything downstream

    If anonymousId is never aliased to userId, every destination sees two people where there is one, and no downstream fix helps.

  5. 05

    Read the match rate, not the success message

    Segment's debugger shows events arriving and which destinations accepted them. Arriving is not the test — check a destination you care about and confirm the event landed there with the identity intact, then reconcile against your own records.

Zocdoc → Segment · prove

How it gets proven — Zocdoc → Segment

Source of truth

Your practice management system — Zocdoc books the appointment and your system records whether it happened.

  • The userId and anonymousId confirmed present on a live appointment.
  • An anonymous session confirmed aliased to a known user, with the event visible in at least one downstream destination.
  • Zocdoc-sourced patients confirmed separated from ad-sourced ones in the practice system.

Zocdoc → Segment · free audit

What we check in the free audit

  • Count appointments carrying the userId and anonymousId
  • Follow one real conversion end to end
  • Check whether booking source is recorded on the patient record
  • Check identity resolution before checking anything downstream
  • Read the match rate, not the success message

Checked against

Your practice management system — Zocdoc books the appointment and your system records whether it happened.

Get my free conversion tracking audit

Free30 minutesNo obligation

Zocdoc → Segment · when not to buy

When you don't need this — Zocdoc → Segment

  • Measure identifier coverage yourself first — pull your last hundred appointments and count how many carry the userId and anonymousId.
  • If Zocdoc is your main acquisition channel, the useful analysis is its cost per patient against your own — not tracking it as though it were free.
  • If you send to one or two destinations, Segment is infrastructure you do not need — direct integrations are simpler and cheaper. It earns its place at genuine fan-out.

Zocdoc → Segment · what we deliver

What gets built — Zocdoc → Segment

  • Identifier capture into Zocdoc

    Record the booking source on the patient record so Zocdoc volume can be separated. There is no way to attribute a Zocdoc booking to your own advertising, because your advertising did not produce it.

  • Event source: your practice management system, with source recorded

    Send attended appointments from patients acquired through your own channels. Zocdoc-sourced patients belong in a separate report.

  • Dispatch to Segment

    Server-side track and identify calls with a stable messageId, consistent userId, and the click identifier carried as a trait or property.

  • Reversals where they exist

    No-shows and cancellations reduce the figure.

Written guarantee

95%+ tracking accuracy

Measured against Your practice management system — Zocdoc books the appointment and your system records whether it happened.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Zocdoc → Segment questions, answered

Set a booking-source property on appointment events and filter Zocdoc-sourced events out of every ad destination.

Free · 30 min

Get Zocdoc and Segment joined properly

Free30 minutesNo obligation