Connecting WPForms to Mixpanel
WPForms is the most widely installed form plugin on WordPress, which means the same plugin sits behind contact forms, order forms and payment forms on the same site with completely different values. Mixpanel is a product analytics tool, not an ad platform, which means it has no attribution model of its own and will faithfully report whatever event schema you give it — including a bad one. The join between them succeeds or fails on one thing: whether the distinct_id reaches the WPForms entry before the conversion happens, because Mixpanel can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
WPForms to Mixpanel: carry distinct_id in a hidden field
Track WPForms submissions in Mixpanel on wpformsAjaxSubmitSuccess, or server-side from wpforms_process_complete with the distinct_id stored in a hidden field at page load. Use one event name with form_id and form name properties, the entry ID or a generated ID as $insert_id, and identify with a CRM ID only for sign-up forms.
Mixpanel needs the submission on the same distinct_id as the visitor who filled it in. A browser-side track call on wpformsAjaxSubmitSuccess does that automatically. A server-side call from the wpforms_process_complete hook does not, unless the form carried the distinct_id in a hidden field populated when the page loaded; without it, every server-sent submission becomes a new, empty profile.
When the form collects an email and you treat it as a sign-up, call identify with your own user ID, ideally a CRM or account ID rather than the raw email, so the anonymous browsing before the form merges into the known user. Contact forms that do not create an account should not call identify at all, or a visitor who sends two inquiries from two devices becomes two users on purpose.
Use the entry ID for $insert_id where entries are stored, and something you generate where they are not (Lite does not store entries). Send form_id and form name as properties on one event name. Downstream, the event that matters is the CRM's qualified status, sent back on the same distinct_id when the lead is reviewed.
WPForms → Mixpanel · what breaks
Why this join usually fails — WPForms → Mixpanel
- 01
The distinct_id never reaches WPForms
Forms submit over AJAX without a page navigation, so a conversion bound to a thank-you page URL never fires.
- 02
Every form on the site counted as one conversion
A newsletter signup and a request for a quote are not the same event. Pooling them means bidding optimises toward whichever is easiest to get, which is always the newsletter.
- 03
One event schema, two teams, no agreement
Marketing names an event Purchase, the product team names it purchase_completed, and both are sent. Mixpanel treats them as unrelated, every funnel silently splits, and two teams spend a quarter arguing about which number is right when both are.
- 04
Nothing reconciles afterwards
Mixpanel shows events in the live view within moments. Check that the distinct_id matches the signed-in user rather than a lingering anonymous ID, because that is the failure that quietly breaks every cross-signup funnel.
WPForms → Mixpanel · the fix
What working looks like — WPForms → Mixpanel
The distinct_id on every submission
Conversions arriving in Mixpanel
The event lands on the user profile and becomes available in funnels, retention and cohort analysis.
Reconciled against the source
WPForms → Mixpanel · architecture
How WPForms and Mixpanel actually connect
- 1
WPForms holds the truth
The form ID is the only thing separating a newsletter signup from a quote request from a paid order. Without it, every submission is one undifferentiated conversion.
- 2
Mixpanel needs a click to match
Mixpanel needs a distinct_id, an event name and its properties. Events without a distinct_id are rejected; events with the wrong one land on a stranger's profile.
- 3
The identifier is the bridge
The distinct_id, captured at the visit and carried into the WPForms entry.
- 4
The event source decides reliability
Send qualified outcomes per form ID, with separate conversion actions for meaningfully different forms.
- 5
Deduplication at the destination
Mixpanel deduplicates on $insert_id within a time window. Without it, a retried server request creates a second event, and because Mixpanel is where product decisions get made, that inflation ends up in a roadmap rather than in an ad report.
WPForms → Mixpanel · normal or broken
Working vs. broken, side by side — WPForms → Mixpanel
Normal, not a fault
The distinct_id present on the submission
Sent from your CRM or payment record
Deduplicated correctly
Mixpanel deduplicates on $insert_id within a time window. Without it, a retried server request creates a second event, and because Mixpanel is where product decisions get made, that inflation ends up in a roadmap rather than in an ad report.
Reconciles with the source
Actually broken
The distinct_id missing on most records
Forms submit over AJAX without a page navigation, so a conversion bound to a thank-you page URL never fires.
Sent from the browser
A newsletter signup and a request for a quote are not the same event. Pooling them means bidding optimises toward whichever is easiest to get, which is always the newsletter.
Counted twice, or not at all
Marketing names an event Purchase, the product team names it purchase_completed, and both are sent. Mixpanel treats them as unrelated, every funnel silently splits, and two teams spend a quarter arguing about which number is right when both are.
Nobody has reconciled it
WPForms → Mixpanel · diagnose
Diagnostic order — WPForms → Mixpanel
- 01
Count submissions carrying the distinct_id
- 02
Follow one real conversion end to end
- 03
List every form on the site and its real value
Usually the first time anyone has, and it is normally the whole fix.
- 04
List every event name in the project and look for near-duplicates
Case differences, tense differences and synonyms are the usual finding, and they are cheap to fix before a year of data is built on them.
- 05
Read the match rate, not the success message
Mixpanel shows events in the live view within moments. Check that the distinct_id matches the signed-in user rather than a lingering anonymous ID, because that is the failure that quietly breaks every cross-signup funnel.
WPForms → Mixpanel · prove
How it gets proven — WPForms → Mixpanel
Source of truth
Your CRM or payment record, with the form ID recorded on the submission.
- The distinct_id confirmed present on a live submission.
- Purchase events reconciled per transaction against your billing system, with identity aliasing verified across the signup boundary.
- Qualified outcomes reconciled per form ID against imported conversions.
WPForms → Mixpanel · free audit
What we check in the free audit
- Count submissions carrying the distinct_id
- Follow one real conversion end to end
- List every form on the site and its real value
- List every event name in the project and look for near-duplicates
- Read the match rate, not the success message
Checked against
Your CRM or payment record, with the form ID recorded on the submission.
Free30 minutesNo obligation
WPForms → Mixpanel · when not to buy
When you don't need this — WPForms → Mixpanel
- Measure identifier coverage yourself first — pull your last hundred submissions and count how many carry the distinct_id.
- A site with one form needs one conversion action and nothing else.
- If you already have the same events in a warehouse and nobody is running product analysis on them, adding Mixpanel adds a second source of truth rather than an answer.
WPForms → Mixpanel · what we deliver
What gets built — WPForms → Mixpanel
Identifier capture into WPForms
Bind to the plugin's own submission event rather than to a page load, and pass the identifier through a hidden field.
Event source: your CRM or payment record
Send qualified outcomes per form ID, with separate conversion actions for meaningfully different forms.
Dispatch to Mixpanel
The Mixpanel ingestion API, posted server-side from your backend with the distinct_id and event properties.
Reversals where they exist
Disqualified submissions reverse.
Written guarantee
95%+ tracking accuracy
Measured against Your CRM or payment record, with the form ID recorded on the submission.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
WPForms → Mixpanel questions, answered
Use the wpforms_process_complete hook and read the distinct_id from a hidden field populated on page load, then send with form_id as a property and a stable $insert_id.
Only if the submission creates a real account or CRM record with a stable ID. Plain inquiries should stay on the visitor's distinct_id.
Almost always because the distinct_id never reached the WPForms entry. Forms submit over AJAX without a page navigation, so a conversion bound to a thank-you page URL never fires. Measure coverage before debugging the dispatch.
Mixpanel identifies people by distinct_id, which starts as an anonymous device value and should be aliased to your own user ID at signup. Getting that alias wrong is the single most common Mixpanel implementation failure: the anonymous pre-signup activity and the identified user become two separate people, and every funnel that crosses signup is broken.
Your CRM or payment record. Send qualified outcomes per form ID, with separate conversion actions for meaningfully different forms.
Mixpanel shows events in the live view within moments. Check that the distinct_id matches the signed-in user rather than a lingering anonymous ID, because that is the failure that quietly breaks every cross-signup funnel.
More on WPForms → Mixpanel
- Stripe → MixpanelConnecting Stripe to Mixpanel
- PayPal → MixpanelConnecting PayPal to Mixpanel
- Shopify → MixpanelConnecting Shopify to Mixpanel
RELATED GUIDES
Where WPForms → Mixpanel fits in the rest of your tracking
- Tally → MixpanelConnecting Tally to Mixpanel
- Contact Form 7 → MixpanelConnecting Contact Form 7 to Mixpanel
- Cognito Forms → MixpanelConnecting Cognito Forms to Mixpanel
- WPForms → GA4Connecting WPForms to GA4
- WPForms → MatomoConnecting WPForms to Matomo
- Home servicesConversion tracking for home service businesses, measured in completed jobs
- Ninja Forms → MixpanelConnecting Ninja Forms to Mixpanel
- Formidable Forms → MixpanelConnecting Formidable Forms to Mixpanel
Free · 30 min
Get WPForms and Mixpanel joined properly
Free30 minutesNo obligation
