Connecting WPForms to Salesforce
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. Sending conversions into Salesforce rather than out of it is how marketing data reaches the place sales actually works. The join between them succeeds or fails on one thing: whether the Lead or Contact identity reaches the WPForms entry before the conversion happens, because Salesforce can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
WPForms to Salesforce: map the click IDs, not just name and email
The WPForms Salesforce addon maps form fields to a Salesforce Lead, but add hidden fields for gclid, fbc and the form ID mapped to custom Lead fields, or offline uploads have nothing to match on. Create Leads only from forms that warrant one, set Lead Source per form, and verify values carry through conversion to Contact and Opportunity.
WPForms offers a Salesforce addon on its higher license tiers (confirm what your plan includes), and most setups map name, email, company and message to a Lead and stop there. Add hidden fields for gclid, fbc and the form ID and map them to custom Lead fields, or the Lead reaches sales with no marketing context and offline conversion uploads later have nothing to match on.
Create a Lead only from forms that warrant one. A site where the newsletter, the careers form and the quote request all create Leads gives sales a queue full of job applicants and subscribers, and every Lead-based report becomes meaningless. Use separate mappings per form, and set Lead Source and a form ID field so the origin is visible on the record.
After the first live test, open the Lead in Salesforce and check that each hidden field value is actually there, then convert it and check that the values reach the Contact and Opportunity. Required fields and validation rules on Lead are the usual reason an addon write stops working after someone in the org changes a rule.
WPForms → Salesforce · what breaks
Why this join usually fails — WPForms → Salesforce
- 01
The Lead or Contact identity 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
Writes that succeed and change nothing
Field-level security, validation rules and required-field constraints can reject a write while the API reports success. Open the record and look rather than trusting the response.
- 04
Nothing reconciles afterwards
Check the record in Salesforce itself, not the API response. Then confirm the value survives Lead conversion onto the Contact, Account and Opportunity — the mapping is separate and is usually the thing that was missed.
WPForms → Salesforce · the fix
What working looks like — WPForms → Salesforce
The Lead or Contact identity on every submission
Conversions arriving in Salesforce
The marketing context appears on the record and flows into the opportunity, where sales and reporting can both use it.
Reconciled against the source
WPForms → Salesforce · architecture
How WPForms and Salesforce 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
Salesforce needs a click to match
Salesforce needs a resolvable record and a custom field to write to. Field-level security and validation rules can silently reject writes, which is a Salesforce-specific failure that returns success at the API level and changes nothing.
- 3
The identifier is the bridge
The Lead or Contact identity, 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
Salesforce deduplicates according to whatever matching rules your org has configured, which vary enormously between instances. Duplicate Leads are the standard failure and merging them afterwards is manual work.
WPForms → Salesforce · normal or broken
Working vs. broken, side by side — WPForms → Salesforce
Normal, not a fault
The Lead or Contact identity present on the submission
Sent from your CRM or payment record
Deduplicated correctly
Salesforce deduplicates according to whatever matching rules your org has configured, which vary enormously between instances. Duplicate Leads are the standard failure and merging them afterwards is manual work.
Reconciles with the source
Actually broken
The Lead or Contact identity 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
Field-level security, validation rules and required-field constraints can reject a write while the API reports success. Open the record and look rather than trusting the response.
Nobody has reconciled it
WPForms → Salesforce · diagnose
Diagnostic order — WPForms → Salesforce
- 01
Count submissions carrying the Lead or Contact identity
- 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
Write a test value and open the record in the UI
The API saying it worked and the field actually holding the value are different things in Salesforce more than anywhere else.
- 05
Read the match rate, not the success message
Check the record in Salesforce itself, not the API response. Then confirm the value survives Lead conversion onto the Contact, Account and Opportunity — the mapping is separate and is usually the thing that was missed.
WPForms → Salesforce · prove
How it gets proven — WPForms → Salesforce
Source of truth
Your CRM or payment record, with the form ID recorded on the submission.
- The Lead or Contact identity confirmed present on a live submission.
- A test value confirmed present on the record in the UI, and confirmed to survive Lead conversion.
- Qualified outcomes reconciled per form ID against imported conversions.
WPForms → Salesforce · free audit
What we check in the free audit
- Count submissions carrying the Lead or Contact identity
- Follow one real conversion end to end
- List every form on the site and its real value
- Write a test value and open the record in the UI
- 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 → Salesforce · when not to buy
When you don't need this — WPForms → Salesforce
- Measure identifier coverage yourself first — pull your last hundred submissions and count how many carry the Lead or Contact identity.
- A site with one form needs one conversion action and nothing else.
- If your Salesforce org is administered by a team you cannot get time with, scope their availability before starting — this build is usually blocked on admin access rather than on the work.
WPForms → Salesforce · what we deliver
What gets built — WPForms → Salesforce
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 Salesforce
API writes to the Lead or Contact record, or a platform event, carrying the marketing context as custom field values.
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 → Salesforce questions, answered
WPForms offers a Salesforce addon on higher license tiers; confirm your plan. It maps form fields to Salesforce objects, including hidden fields you can use for click IDs.
Fill a hidden field with the stored gclid, map it to a custom Lead field, and make sure Lead conversion copies it to the Opportunity.
Almost always because the Lead or Contact identity 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.
Salesforce resolves on its own record identity — a Lead, a Contact, or an Account — rather than on a click identifier. What you are doing here is attaching marketing context to a record so the pipeline carries it, which means the click identifier arrives as a custom field value rather than as a matching key. The hazard is duplicates: two Leads for one person means two records with half the history each.
Your CRM or payment record. Send qualified outcomes per form ID, with separate conversion actions for meaningfully different forms.
Check the record in Salesforce itself, not the API response. Then confirm the value survives Lead conversion onto the Contact, Account and Opportunity — the mapping is separate and is usually the thing that was missed.
More on WPForms → Salesforce
- WPForms → Marketing CloudConnecting WPForms to Salesforce Marketing Cloud
- Salesforce → Google AdsConnecting Salesforce to Google Ads
- Salesforce → MetaConnecting Salesforce to Meta Conversions API
RELATED GUIDES
Where WPForms → Salesforce fits in the rest of your tracking
- Typeform → SalesforceConnecting Typeform to Salesforce
- Fluent Forms → SalesforceConnecting Fluent Forms to Salesforce
- Jotform → SalesforceConnecting Jotform to Salesforce
- WPForms → HubSpotConnecting WPForms to HubSpot
- WPForms → MarketoConnecting WPForms to Marketo
- Law firmsConversion tracking for law firms, without sending case details anywhere
- Ninja Forms → SalesforceConnecting Ninja Forms to Salesforce
- Tally → SalesforceConnecting Tally to Salesforce
Free · 30 min
Get WPForms and Salesforce joined properly
Free30 minutesNo obligation
