Skip to main content
Typeform → PostHogIntegration guide

Connecting Typeform to PostHog

Typeform holds the response, and for qualification-led funnels the answers inside it decide whether the lead was worth anything. 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 Typeform response 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

Typeform to PostHog: one person across your site and the form

PostHog autocapture cannot see inside an embedded Typeform, so pass the PostHog distinct_id into a hidden field and capture a submission event from your server on the webhook with that ID and the response token as the event UUID. Use Typeform field refs as property keys, identify by email server-side, and keep sensitive answers out.

PostHog autocapture does not reach inside an embedded Typeform, so funnels show the page view and then nothing. Pass PostHog's distinct_id into a hidden field when the embed loads, and capture a form submission event from your server on the webhook with that same distinct_id, so the response joins the session that produced it, including its replay and the pages before it.

Send answers that matter for analysis as event properties with stable keys from the Typeform field ref, and if the form collects an email, call identify server-side so later product sign-ups merge with the anonymous visitor. Use the response token as the event UUID to stop retried webhooks duplicating. PostHog's own surveys may cover simple in-product questions; Typeform is worth keeping for longer branching forms where this join earns its effort.

The specific payoff is drop-off. With the distinct_id in place, a PostHog funnel from landing page to submitted response shows how many people loaded the form and left, which Typeform alone reports without context of where they came from. Keep answers about health, money or personal circumstances out of PostHog properties; record that a step happened, not what someone confided.

Typeform → PostHog · what breaks

Why this join usually fails — Typeform → PostHog

  1. 01

    The distinct_id never reaches Typeform

    Typeform hidden fields only populate if the identifier is on the form URL. Embedded forms need the parameter passed through the embed configuration, and a form linked from an email or a QR code has no identifier at all and never will.

  2. 02

    Partial responses and unqualified submissions both look like leads

    Typeform's completion rates are good, which makes it easy to send everything. Sending everything teaches the platform to find form-fillers.

  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.

Typeform → PostHog · the fix

What working looks like — Typeform → PostHog

  • The distinct_id on every response

  • Conversions arriving in PostHog

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

  • Reconciled against the source

Typeform → PostHog · architecture

How Typeform and PostHog actually connect

  1. 1

    Typeform holds the truth

    The response carries every answer plus any hidden fields. The answers matter: a form that asks budget or timeline lets you send a qualified conversion instead of a raw submission, which is the single highest-leverage thing available on this integration.

  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 Typeform response.

  4. 4

    The event source decides reliability

    Send from your server when the response arrives, and read the answers so you can filter or value the conversion rather than counting every submission the same.

  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.

Typeform → PostHog · normal or broken

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

Normal, not a fault

  • The distinct_id present on the response

  • Sent from the Typeform webhook on form_response

  • 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

    Typeform hidden fields only populate if the identifier is on the form URL. Embedded forms need the parameter passed through the embed configuration, and a form linked from an email or a QR code has no identifier at all and never will.

  • Sent from the browser

    Typeform's completion rates are good, which makes it easy to send everything. Sending everything teaches the platform to find form-fillers.

  • 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

Typeform → PostHog · diagnose

Diagnostic order — Typeform → PostHog

  1. 01

    Count responses carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Open a recent response and check the hidden fields

    Empty hidden fields mean the URL is not carrying them. Check the embed configuration separately from the direct link — they fail independently.

  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.

Typeform → PostHog · prove

How it gets proven — Typeform → PostHog

Source of truth

Typeform's responses table for the same window, filtered to completed rather than partial.

  • The distinct_id confirmed present on a live response.
  • Purchase events reconciled per transaction against your billing system, with ingestion lag checked over the same window.
  • Qualification logic confirmed to run before the send, on a response that should not have counted.

Typeform → PostHog · free audit

What we check in the free audit

  • Count responses carrying the distinct_id
  • Follow one real conversion end to end
  • Open a recent response and check the hidden fields
  • Check ingestion health and disk before debugging any missing event
  • Read the match rate, not the success message

Checked against

Typeform's responses table for the same window, filtered to completed rather than partial.

Get my free conversion tracking audit

Free30 minutesNo obligation

Typeform → PostHog · when not to buy

When you don't need this — Typeform → PostHog

  • Measure identifier coverage yourself first — pull your last hundred responses and count how many carry the distinct_id.
  • If you use Typeform for a single low-volume form, the native integrations will do. This is worth building when the answers should change what you send.
  • 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.

Typeform → PostHog · what we deliver

What gets built — Typeform → PostHog

  • Identifier capture into Typeform

    Define hidden fields on the form, append them to the URL or set them in the embed options, and confirm they appear on submitted responses rather than only in the preview.

  • Event source: the Typeform webhook on form_response

    Send from your server when the response arrives, and read the answers so you can filter or value the conversion rather than counting every submission the same.

  • 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

    Nothing to reverse, but a response later disqualified should not have been sent — which is why the qualification logic belongs in the send.

Written guarantee

95%+ tracking accuracy

Measured against Typeform's responses table for the same window, filtered to completed rather than partial.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Typeform → PostHog questions, answered

Not through autocapture inside the iframe. Pass the distinct_id into a hidden field and capture the submission from your server with that ID.

Free · 30 min

Get Typeform and PostHog joined properly

Free30 minutesNo obligation