Skip to main content
Calendly → PostHogIntegration guide

Connecting Calendly to PostHog

Calendly holds the booking, and for consultative businesses the booking that is actually attended is the conversion worth optimizing toward. PostHog can be self-hosted, which changes the calculus entirely: the data stays on infrastructure you control, and so does the responsibility for everything that goes wrong with it. The join between them succeeds or fails on one thing: whether the distinct_id reaches the Calendly invitee record before the conversion happens, because PostHog can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Calendly bookings in PostHog funnels on the same distinct_id

For embedded Calendly, call posthog.capture on the event_scheduled message with the invitee URI, under the visitor's existing distinct_id. For direct calendly.com links, pass posthog.get_distinct_id() into a hidden question and capture invitee.created server-side with a UUID derived from the invitee URI. Capture event-type-viewed and date-selected messages as funnel steps, plus no-shows.

When Calendly is embedded, the easiest join is on the page: listen for the embed's event_scheduled message and call posthog.capture with the invitee URI as a property. It runs under the visitor's existing distinct_id, so the booking lands in the same funnel as their ad landing and pricing visits. Route PostHog through your own domain if ad blockers are common among your visitors, or the capture is lost with the pixel.

Bookings made from a direct calendly.com link need the server route. Pass posthog.get_distinct_id() into a hidden custom question on your Calendly links, and on invitee.created capture the booking server-side with that distinct_id and a UUID derived from the invitee URI. If the same booking can arrive by both routes, that shared UUID is what keeps it from counting twice.

The embed also posts messages when someone views an event type and when they pick a date and time. Capture those as funnel steps and you can see where people drop: at the calendar, when no slot suits them, or at the form, when it asks too much. Calendly's own reports never show this. Add host-marked no-shows from the webhook as the final step.

Calendly → PostHog · what breaks

Why this join usually fails — Calendly → PostHog

  1. 01

    The distinct_id never reaches Calendly

    Calendly's booking page is on calendly.com. Whether embedded or linked, it is a different origin, so nothing from your cookies travels there automatically. The identifier has to be passed explicitly as a UTM parameter or a prefilled custom question on the booking URL, and every place that URL appears has to be updated.

  2. 02

    Bookings and attended meetings are not the same number

    Optimizing toward bookings on cold paid traffic reliably produces more bookings and not more meetings. The gap is the no-show rate, and it is often large enough to invert which campaign looks best.

  3. 03

    Self-hosting the analytics and the outage together

    The advantage of owning the pipeline is that nothing blocks it. The cost is that when the ingestion instance fills its disk on a Saturday, the events are gone and nobody is paged. Hosted tools fail differently and more visibly.

  4. 04

    Nothing reconciles afterwards

    PostHog shows events in the activity view within moments. On a self-hosted instance, check the ingestion lag as well — events that are queued are not events that are lost, and the two need different responses.

Calendly → PostHog · the fix

What working looks like — Calendly → PostHog

  • The distinct_id on every booking

  • Conversions arriving in PostHog

    The event lands on the person profile and becomes available in insights, funnels and session replay.

  • Reconciled against the source

Calendly → PostHog · architecture

How Calendly and PostHog actually connect

  1. 1

    Calendly holds the truth

    The invitee record carries the email, the event type, the scheduled time and any answers to your custom questions. Those custom questions are the only place a click identifier can live.

  2. 2

    PostHog needs a click to match

    PostHog needs a distinct_id, an event name and its properties. Self-hosted instances additionally need the ingestion endpoint reachable and the project API key correct, which is a class of failure hosted tools do not have.

  3. 3

    The identifier is the bridge

    The distinct_id, captured at the visit and carried into the Calendly invitee record.

  4. 4

    The event source decides reliability

    Send on creation, then reverse on cancellation. Better still, send the attended booking rather than the booked one if your no-show rate is meaningful, which for cold paid traffic it usually is.

  5. 5

    Deduplication at the destination

    PostHog deduplicates on the event UUID where supplied. Without one, a retried batch duplicates, and on a self-hosted instance there is no vendor support desk to notice it for you.

Calendly → PostHog · normal or broken

Working vs. broken, side by side — Calendly → PostHog

Normal, not a fault

  • The distinct_id present on the booking

  • Sent from the invitee.created webhook, and invitee.canceled

  • Deduplicated correctly

    PostHog deduplicates on the event UUID where supplied. Without one, a retried batch duplicates, and on a self-hosted instance there is no vendor support desk to notice it for you.

  • Reconciles with the source

Actually broken

  • The distinct_id missing on most records

    Calendly's booking page is on calendly.com. Whether embedded or linked, it is a different origin, so nothing from your cookies travels there automatically. The identifier has to be passed explicitly as a UTM parameter or a prefilled custom question on the booking URL, and every place that URL appears has to be updated.

  • Sent from the browser

    Optimizing toward bookings on cold paid traffic reliably produces more bookings and not more meetings. The gap is the no-show rate, and it is often large enough to invert which campaign looks best.

  • Counted twice, or not at all

    The advantage of owning the pipeline is that nothing blocks it. The cost is that when the ingestion instance fills its disk on a Saturday, the events are gone and nobody is paged. Hosted tools fail differently and more visibly.

  • Nobody has reconciled it

Calendly → PostHog · diagnose

Diagnostic order — Calendly → PostHog

  1. 01

    Count bookings carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Pull recent invitees via the API and read the custom question

    If the identifier is empty, the booking URL is not carrying it — check every surface the link appears on, because one missed page is a permanent hole.

  4. 04

    Check ingestion health and disk before debugging any missing event

    On self-hosted instances the answer is infrastructure far more often than it is instrumentation.

  5. 05

    Read the match rate, not the success message

    PostHog shows events in the activity view within moments. On a self-hosted instance, check the ingestion lag as well — events that are queued are not events that are lost, and the two need different responses.

Calendly → PostHog · prove

How it gets proven — Calendly → PostHog

Source of truth

Calendly's scheduled-events export for the same window, with cancellations and no-shows separated out.

  • The distinct_id confirmed present on a live booking.
  • Purchase events reconciled per transaction against your billing system, with ingestion lag checked over the same window.
  • A canceled booking confirmed to reverse, not only a created booking confirmed to send.

Calendly → PostHog · free audit

What we check in the free audit

  • Count bookings carrying the distinct_id
  • Follow one real conversion end to end
  • Pull recent invitees via the API and read the custom question
  • Check ingestion health and disk before debugging any missing event
  • Read the match rate, not the success message

Checked against

Calendly's scheduled-events export for the same window, with cancellations and no-shows separated out.

Get my free conversion tracking audit

Free30 minutesNo obligation

Calendly → PostHog · when not to buy

When you don't need this — Calendly → PostHog

  • Measure identifier coverage yourself first — pull your last hundred bookings and count how many carry the distinct_id.
  • If bookings and attendance track closely for you and you only need one destination, Calendly's native integrations may be sufficient.
  • If you have no reason to keep the data on your own infrastructure and no team to run it, the hosted product removes the only real downside of this one.

Calendly → PostHog · what we deliver

What gets built — Calendly → PostHog

  • Identifier capture into Calendly

    Add a hidden custom question, append the identifier to the booking URL from your page using Calendly's prefill parameters, and confirm it lands on the invitee record via the API.

  • Event source: the invitee.created webhook, and invitee.canceled

    Send on creation, then reverse on cancellation. Better still, send the attended booking rather than the booked one if your no-show rate is meaningful, which for cold paid traffic it usually is.

  • Dispatch to PostHog

    The PostHog capture API, posted server-side from your backend to your own instance or to PostHog Cloud.

  • Reversals where they exist

    invitee.canceled fires with the same reference, so cancellations can be reversed. This matters more than most people assume — cold-traffic no-show rates are high.

Written guarantee

95%+ tracking accuracy

Measured against Calendly's scheduled-events export for the same window, with cancellations and no-shows separated out.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Calendly → PostHog questions, answered

For embeds, capture on Calendly's event_scheduled message in the browser. For direct links, pass the distinct_id into the booking and capture from the webhook.

Free · 30 min

Get Calendly and PostHog joined properly

Free30 minutesNo obligation