Skip to main content
ClickFunnels → PostHogIntegration guide

Connecting ClickFunnels to PostHog

ClickFunnels builds multi-step funnels with upsells and downsells by design, which produces several transactions from one customer and breaks naive conversion counting. 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 ClickFunnels purchase 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

ClickFunnels in PostHog: step funnels and server purchases

Add PostHog's snippet to the ClickFunnels tracking code for per-step drop-off and upsell take rate, with replay input masking on. Call identify with the email at opt-in, then send one event per charge from the order webhook on that same email-based ID, with offer name and a charge-based event UUID.

PostHog funnels map directly onto ClickFunnels steps: opt-in, order form, upsell, downsell, thank-you, each with its own URL. With PostHog's snippet in the funnel tracking code you get drop-off and upsell take rate per step, broken down by traffic source, and session replay on the order form shows where buyers hesitate. Make sure input masking is on so replay never records card or personal fields.

The join is the distinct_id. The browser gets an anonymous ID on the first step; call identify with the email when the opt-in form is submitted, and send purchases from the ClickFunnels order webhook using that same email-based ID, so the server event lands on the person who browsed. If the server sends with ClickFunnels' contact ID instead, PostHog shows a buyer with no history and an anonymous browser that never bought.

Send one event per charge with the offer name, so upsell take rate is measurable, and include a stable event UUID built from the charge ID so webhook retries do not duplicate. Running PostHog on your own domain or self-hosted keeps it out of most blocklists; check the funnel actually points at that endpoint and not the default one.

ClickFunnels → PostHog · what breaks

Why this join usually fails — ClickFunnels → PostHog

  1. 01

    The distinct_id never reaches ClickFunnels

    Pages and checkout are hosted by ClickFunnels, and the funnel spans several steps on several URLs. The identifier has to be captured at entry and carried through every step to the purchase, which is more hops than most platforms require.

  2. 02

    One customer, four charges

    Upsells and downsells each create a transaction. Counting each as a conversion multiplies your reported performance by the length of your funnel.

  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.

ClickFunnels → PostHog · the fix

What working looks like — ClickFunnels → PostHog

  • The distinct_id on every purchase

  • Conversions arriving in PostHog

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

  • Reconciled against the source

ClickFunnels → PostHog · architecture

How ClickFunnels and PostHog actually connect

  1. 1

    ClickFunnels holds the truth

    One customer moving through a funnel with two upsells and a downsell can generate four separate charges. Grouping by customer rather than by charge is what makes the number mean anything.

  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 ClickFunnels purchase.

  4. 4

    The event source decides reliability

    Send the front-end purchase as the acquisition event at the total realised customer value, and treat upsells and downsells as additional revenue against the same acquisition.

  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.

ClickFunnels → PostHog · normal or broken

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

Normal, not a fault

  • The distinct_id present on the purchase

  • Sent from the ClickFunnels purchase webhook

  • 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

    Pages and checkout are hosted by ClickFunnels, and the funnel spans several steps on several URLs. The identifier has to be captured at entry and carried through every step to the purchase, which is more hops than most platforms require.

  • Sent from the browser

    Upsells and downsells each create a transaction. Counting each as a conversion multiplies your reported performance by the length of your funnel.

  • 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

ClickFunnels → PostHog · diagnose

Diagnostic order — ClickFunnels → PostHog

  1. 01

    Count purchases carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Count conversions against unique customers for a closed day

    If conversions substantially exceed customers, the funnel steps are each being counted.

  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.

ClickFunnels → PostHog · prove

How it gets proven — ClickFunnels → PostHog

Source of truth

ClickFunnels' order records for the same window, grouped by customer rather than by transaction.

  • The distinct_id confirmed present on a live purchase.
  • Purchase events reconciled per transaction against your billing system, with ingestion lag checked over the same window.
  • A customer who took two upsells confirmed to produce one acquisition conversion at the combined value.

ClickFunnels → PostHog · free audit

What we check in the free audit

  • Count purchases carrying the distinct_id
  • Follow one real conversion end to end
  • Count conversions against unique customers for a closed day
  • Check ingestion health and disk before debugging any missing event
  • Read the match rate, not the success message

Checked against

ClickFunnels' order records for the same window, grouped by customer rather than by transaction.

Get my free conversion tracking audit

Free30 minutesNo obligation

ClickFunnels → PostHog · when not to buy

When you don't need this — ClickFunnels → PostHog

  • Measure identifier coverage yourself first — pull your last hundred purchases and count how many carry the distinct_id.
  • If your funnel is a single step with no upsells, this reduces to an ordinary checkout integration.
  • 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.

ClickFunnels → PostHog · what we deliver

What gets built — ClickFunnels → PostHog

  • Identifier capture into ClickFunnels

    Capture the identifier on the funnel's entry page and carry it through the funnel's own parameter passing into the purchase record, verifying it survives every step rather than just the first.

  • Event source: the ClickFunnels purchase webhook

    Send the front-end purchase as the acquisition event at the total realised customer value, and treat upsells and downsells as additional revenue against the same acquisition.

  • 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

    Refunds on funnel offers are common enough that reversal is not optional if the reported number is to mean anything.

Written guarantee

95%+ tracking accuracy

Measured against ClickFunnels' order records for the same window, grouped by customer rather than by transaction.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

ClickFunnels → PostHog questions, answered

Send a purchase event per charge with the offer name, identified to the same person as the opt-in, and build a PostHog funnel from front-end purchase to each upsell.

Free · 30 min

Get ClickFunnels and PostHog joined properly

Free30 minutesNo obligation