Skip to main content
Jotform → PostHogIntegration guide

Connecting Jotform to PostHog

Jotform holds the submission, and it is usually deployed in exactly the places where lead quality varies most. 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 Jotform submission 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

Jotform to PostHog: pass the distinct_id into the iframe

To send Jotform submissions to PostHog, pass the posthog-js distinct_id into a hidden field via the iframe source. On the Jotform webhook, send a capture call with that distinct_id, a form-named event and a UUID from the submission ID. Identify later sign-ups, and keep sensitive answers such as health history out of PostHog.

PostHog's autocapture records clicks on your page, but an iframe-embedded Jotform is another document, so form starts, field errors and the submit are missing from session replays and funnels. People find this when a funnel ends at viewed form page with nothing after it.

Read the distinct_id from posthog-js on the host page and pass it into the iframe source, into a hidden field. When the Jotform webhook fires, send a capture call with that distinct_id, an event named for the form and a UUID derived from the Jotform submission ID, so a retried webhook does not duplicate. If the submission includes an email and the person later signs up, identify them so the form and the account sit on one person.

Keep the answers out of PostHog unless you need them for analysis. Jotform forms often collect things nobody should put in a product analytics tool, from date of birth to health history on intake forms; send the form name and a few low-risk properties, such as the service chosen, and leave the rest in Jotform. If you self-host PostHog for exactly that reason, remember a lost webhook call is not retried by anyone but you.

Jotform → PostHog · what breaks

Why this join usually fails — Jotform → PostHog

  1. 01

    The distinct_id never reaches Jotform

    Hidden fields need the identifier on the URL, and Jotform's several embed methods behave differently. The full-page embed passes parameters; the iframe embed needs the parameter on the iframe source, which is a separate thing to update on every page.

  2. 02

    Many forms, inconsistent configuration

    Jotform accounts accumulate forms. The identifier gets configured on the one someone tested and not on the eleven others, so attribution looks random rather than broken.

  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.

Jotform → PostHog · the fix

What working looks like — Jotform → PostHog

  • The distinct_id on every submission

  • Conversions arriving in PostHog

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

  • Reconciled against the source

Jotform → PostHog · architecture

How Jotform and PostHog actually connect

  1. 1

    Jotform holds the truth

    The submission carries every field plus any hidden ones. Jotform is often used across many separate forms in one account, so coverage across all of them — not just the main one — is what determines whether the numbers make sense.

  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 Jotform submission.

  4. 4

    The event source decides reliability

    Send server-side from the webhook. The thank-you page can be skipped, redirected or blocked, and Jotform's own redirect behavior differs by embed type.

  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.

Jotform → PostHog · normal or broken

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

Normal, not a fault

  • The distinct_id present on the submission

  • Sent from the Jotform webhook on submission

  • 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

    Hidden fields need the identifier on the URL, and Jotform's several embed methods behave differently. The full-page embed passes parameters; the iframe embed needs the parameter on the iframe source, which is a separate thing to update on every page.

  • Sent from the browser

    Jotform accounts accumulate forms. The identifier gets configured on the one someone tested and not on the eleven others, so attribution looks random rather than broken.

  • 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

Jotform → PostHog · diagnose

Diagnostic order — Jotform → PostHog

  1. 01

    Count submissions carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Audit every form in the account for the hidden field

    Not just the one that prompted the question. Inconsistent coverage across forms is the standard finding here.

  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.

Jotform → PostHog · prove

How it gets proven — Jotform → PostHog

Source of truth

Jotform's submissions table for the same window.

  • The distinct_id confirmed present on a live submission.
  • Purchase events reconciled per transaction against your billing system, with ingestion lag checked over the same window.
  • Hidden field confirmed populated on submissions from each embed type in use.

Jotform → PostHog · free audit

What we check in the free audit

  • Count submissions carrying the distinct_id
  • Follow one real conversion end to end
  • Audit every form in the account for the hidden field
  • Check ingestion health and disk before debugging any missing event
  • Read the match rate, not the success message

Checked against

Jotform's submissions table for the same window.

Get my free conversion tracking audit

Free30 minutesNo obligation

Jotform → PostHog · when not to buy

When you don't need this — Jotform → PostHog

  • Measure identifier coverage yourself first — pull your last hundred submissions and count how many carry the distinct_id.
  • If you have one form and low volume, Jotform's native integrations are adequate.
  • 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.

Jotform → PostHog · what we deliver

What gets built — Jotform → PostHog

  • Identifier capture into Jotform

    Add hidden fields to each form, populate them from the URL or the embed source, and audit every form in the account rather than assuming the pattern was copied.

  • Event source: the Jotform webhook on submission

    Send server-side from the webhook. The thank-you page can be skipped, redirected or blocked, and Jotform's own redirect behavior differs by embed type.

  • 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 disqualified submissions should be filtered before sending.

Written guarantee

95%+ tracking accuracy

Measured against Jotform's submissions table for the same window.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Jotform → PostHog questions, answered

The iframe is a separate document on Jotform's domain. Pass the distinct_id into a hidden field and capture the submission server-side.

Free · 30 min

Get Jotform and PostHog joined properly

Free30 minutesNo obligation