Skip to main content
Elementor → PostHogIntegration guide

Connecting Elementor to PostHog

Elementor builds the page and the forms inside it, which means the form is a widget rather than a plugin — and its submission behaves differently from every standalone form plugin. 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 Elementor form 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

Elementor forms in PostHog: autocapture counts the attempt

PostHog autocapture counts Elementor AJAX submits even when the server rejects them, so build funnels on a named event from the submission-success callback with form name and popup ID. Call identify with the submitted email only on success. Send qualified outcomes later from your CRM using the same email as distinct_id with an event UUID.

PostHog's autocapture records a form submit when the browser submits, and an Elementor form submits over AJAX whether or not the server accepts it. A required field left blank on the server side or a failed spam check still produces an autocaptured submit. Build funnels on a named event captured from Elementor's submission-success callback, with the form name and popup ID as properties, not on autocapture.

That success callback is also the moment to call identify with the submitted email, so the anonymous distinct_id that browsed your pages merges with the person. Do it only on success, and only if your privacy notice covers it; identifying on a failed submit attaches a mistyped email to a real browsing history, and that merge is hard to undo.

If you self-host PostHog and proxy it through your own domain, the WordPress site and the analytics share infrastructure you control, which is the point of choosing it. Send the qualified outcome later from your CRM with the same email as distinct_id, and set an event UUID so a retried batch does not count twice. For most Elementor brochure sites, the browser event done properly is the whole job.

Elementor → PostHog · what breaks

Why this join usually fails — Elementor → PostHog

  1. 01

    The distinct_id never reaches Elementor

    Popups and multi-step widgets each fire their own events, and the builder's own popup can contain a second form.

  2. 02

    Popup forms nobody instrumented

    A site can have a main contact form that is tracked and three popup forms that are not. The popups produce real leads that appear from nowhere, and the campaigns that generated them get no credit.

  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.

Elementor → PostHog · the fix

What working looks like — Elementor → 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

Elementor → PostHog · architecture

How Elementor and PostHog actually connect

  1. 1

    Elementor holds the truth

    Elementor forms submit over AJAX and stay on the page. Any conversion bound to a thank-you URL will never fire, and this is one of the most common misconfigurations on WordPress.

  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 Elementor form submission.

  4. 4

    The event source decides reliability

    Send qualified outcomes per form, including popup forms which are frequently forgotten.

  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.

Elementor → PostHog · normal or broken

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

Normal, not a fault

  • The distinct_id present on the submission

  • Sent from your CRM record

  • 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

    Popups and multi-step widgets each fire their own events, and the builder's own popup can contain a second form.

  • Sent from the browser

    A site can have a main contact form that is tracked and three popup forms that are not. The popups produce real leads that appear from nowhere, and the campaigns that generated them get no credit.

  • 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

Elementor → PostHog · diagnose

Diagnostic order — Elementor → PostHog

  1. 01

    Count submissions carrying the distinct_id

  2. 02

    Follow one real conversion end to end

  3. 03

    Inventory every Elementor form on the site, including inside popups

    Popups are the usual omission, and they frequently produce a meaningful share of total submissions.

  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.

Elementor → PostHog · prove

How it gets proven — Elementor → PostHog

Source of truth

Your CRM record, joined to the Elementor submission.

  • 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.
  • Qualified outcomes reconciled per form, popups included, against imported conversions.

Elementor → PostHog · free audit

What we check in the free audit

  • Count submissions carrying the distinct_id
  • Follow one real conversion end to end
  • Inventory every Elementor form on the site, including inside popups
  • Check ingestion health and disk before debugging any missing event
  • Read the match rate, not the success message

Checked against

Your CRM record, joined to the Elementor submission.

Get my free conversion tracking audit

Free30 minutesNo obligation

Elementor → PostHog · when not to buy

When you don't need this — Elementor → PostHog

  • Measure identifier coverage yourself first — pull your last hundred submissions and count how many carry the distinct_id.
  • Sites using a dedicated form plugin rather than Elementor's own widget should instrument that plugin instead.
  • 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.

Elementor → PostHog · what we deliver

What gets built — Elementor → PostHog

  • Identifier capture into Elementor

    Bind to Elementor's submission event specifically, and pass the identifier through a hidden field on each form including popups.

  • Event source: your CRM record

    Send qualified outcomes per form, including popup forms which are frequently forgotten.

  • 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

    Disqualified submissions reverse.

Written guarantee

95%+ tracking accuracy

Measured against Your CRM record, joined to the Elementor submission.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Elementor → PostHog questions, answered

Autocapture counts submit attempts, including ones Elementor rejected. Use a custom event fired on Elementor's submission-success event instead.

Free · 30 min

Get Elementor and PostHog joined properly

Free30 minutesNo obligation