Connecting Gravity Forms to Salesforce Marketing Cloud
Gravity Forms stores the entry in your own WordPress database, which makes it one of the easier sources to join correctly. Marketing Cloud is a different product from Salesforce CRM with a different identity model, which catches out almost everyone who assumes a contact in one is a contact in the other. The join between them succeeds or fails on one thing: whether the Subscriber Key reaches the Gravity Forms entry before the conversion happens, because Marketing Cloud can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Gravity Forms into Marketing Cloud: the right key, the right DE
A Gravity Forms Lead in Salesforce only starts a Marketing Cloud journey if Marketing Cloud Connect syncs it into the data extension the journey watches. Otherwise insert directly with your org's actual Subscriber Key. Pick one path, not both, and map Consent fields to the field the journey checks. Scheduled entry delays are normal; don't resubmit entries.
Gravity Forms usually reaches Salesforce through a CRM add-on that creates a Lead, and teams then expect a Marketing Cloud journey to start. It does not, unless Marketing Cloud Connect is syncing that object into a synchronized data extension and the journey listens to it, which adds a sync delay and keys the subscriber on the CRM ID. If you send to Marketing Cloud directly instead, insert a row into the journey's data extension with the Subscriber Key your org actually uses.
Pick one path. Running both, a CRM lead that syncs and a direct data extension insert keyed on email, is how one Gravity Forms submission becomes two subscribers in two journeys. Confirm whether your org's Subscriber Key is the email, the CRM contact ID or something else before mapping a single field.
Gravity Forms Consent fields should map to the data extension field the journey's entry criteria or decision split checks, not to a generic opt-in flag nobody reads. Marketing Cloud journeys often evaluate on a schedule, so a row inserted at 2:01 may not enter until the next run; that is expected, and resubmitting the entry to make it go faster is how duplicates are made.
Gravity Forms → Marketing Cloud · what breaks
Why this join usually fails — Gravity Forms → Marketing Cloud
- 01
The Subscriber Key never reaches Gravity Forms
The identifier must be written into a hidden field with dynamic population enabled, and that only works if the parameter is on the URL when the page renders. Page caching serves a cached render to the visitor, so the dynamic population never runs — the same caching problem that breaks WooCommerce.
- 02
Dynamic population fails silently under page caching
The field is configured correctly and still arrives empty, because the visitor was served a cached page rendered for someone else. This is the most common Gravity Forms failure and it looks like nothing is wrong.
- 03
Two identity models treated as one
Marketing Cloud's Subscriber Key and CRM's Contact ID are separate concepts, and Contact Builder's configuration decides whether they relate at all. Getting this wrong does not produce an error — it produces a customer who exists twice, receives everything twice, and appears in reporting as two people.
- 04
Nothing reconciles afterwards
Check the subscriber record and the journey history, not the API response. A successful insert into an unwatched data extension looks identical to a successful one into the right extension.
Gravity Forms → Marketing Cloud · the fix
What working looks like — Gravity Forms → Marketing Cloud
The Subscriber Key on every entry
Conversions arriving in Marketing Cloud
The record lands in the data extension, the journey's entry criteria evaluate on its schedule, and sends follow.
Reconciled against the source
Gravity Forms → Marketing Cloud · architecture
How Gravity Forms and Marketing Cloud actually connect
- 1
Gravity Forms holds the truth
The entry lives in your database with every field value attached. You can query it, back it up and reconcile against it without depending on any third party, which is a real advantage over hosted form tools.
- 2
Salesforce Marketing Cloud needs a click to match
The Subscriber Key, the data extension the journey listens to, and the fields its decision splits reference. An event landing in the wrong data extension will be stored correctly and trigger nothing.
- 3
The identifier is the bridge
The Subscriber Key, captured at the visit and carried into the Gravity Forms entry.
- 4
The event source decides reliability
Fire server-side from the PHP hook. This runs regardless of caching, AJAX submission, or what the confirmation page does.
- 5
Deduplication at the destination
Marketing Cloud does not deduplicate journey entries for you. A record inserted twice can enter a journey twice, and because journeys span email, SMS and push the duplicate reaches the customer more than once.
Gravity Forms → Marketing Cloud · normal or broken
Working vs. broken, side by side — Gravity Forms → Marketing Cloud
Normal, not a fault
The Subscriber Key present on the entry
Sent from the gform_after_submission hook
Deduplicated correctly
Marketing Cloud does not deduplicate journey entries for you. A record inserted twice can enter a journey twice, and because journeys span email, SMS and push the duplicate reaches the customer more than once.
Reconciles with the source
Actually broken
The Subscriber Key missing on most records
The identifier must be written into a hidden field with dynamic population enabled, and that only works if the parameter is on the URL when the page renders. Page caching serves a cached render to the visitor, so the dynamic population never runs — the same caching problem that breaks WooCommerce.
Sent from the browser
The field is configured correctly and still arrives empty, because the visitor was served a cached page rendered for someone else. This is the most common Gravity Forms failure and it looks like nothing is wrong.
Counted twice, or not at all
Marketing Cloud's Subscriber Key and CRM's Contact ID are separate concepts, and Contact Builder's configuration decides whether they relate at all. Getting this wrong does not produce an error — it produces a customer who exists twice, receives everything twice, and appears in reporting as two people.
Nobody has reconciled it
Gravity Forms → Marketing Cloud · diagnose
Diagnostic order — Gravity Forms → Marketing Cloud
- 01
Count entrys carrying the Subscriber Key
- 02
Follow one real conversion end to end
- 03
Submit a test entry through a cached page
Not through a logged-in admin session, which bypasses the cache. If the hidden field is empty on the cached path and populated on the admin path, caching is your cause.
- 04
Confirm what Subscriber Key is actually set to in this org
Before sending anything. It is a configuration decision made once, often years ago, and every integration built afterwards inherits it.
- 05
Read the match rate, not the success message
Check the subscriber record and the journey history, not the API response. A successful insert into an unwatched data extension looks identical to a successful one into the right extension.
Gravity Forms → Marketing Cloud · prove
How it gets proven — Gravity Forms → Marketing Cloud
Source of truth
The Gravity Forms entries list for the same window, or the wp_gf_entry table directly.
- The Subscriber Key confirmed present on a live entry.
- Records confirmed on single subscriber records in the correct data extension, with the triggered journey verified in a non-production business unit first.
- Entry meta confirmed populated on a submission made from a fully cached page as an anonymous visitor.
Gravity Forms → Marketing Cloud · free audit
What we check in the free audit
- Count entrys carrying the Subscriber Key
- Follow one real conversion end to end
- Submit a test entry through a cached page
- Confirm what Subscriber Key is actually set to in this org
- Read the match rate, not the success message
Checked against
The Gravity Forms entries list for the same window, or the wp_gf_entry table directly.
Free30 minutesNo obligation
Gravity Forms → Marketing Cloud · when not to buy
When you don't need this — Gravity Forms → Marketing Cloud
- Measure identifier coverage yourself first — pull your last hundred entrys and count how many carry the Subscriber Key.
- If your site has no caching layer and one form, a developer can wire this in an afternoon. Worth trying before hiring anyone.
- If you are on Salesforce CRM but sending email through a simpler platform, adding Marketing Cloud brings an identity model to reconcile that you currently do not have to think about.
Gravity Forms → Marketing Cloud · what we deliver
What gets built — Gravity Forms → Marketing Cloud
Identifier capture into Gravity Forms
Hidden field with 'allow field to be populated dynamically' enabled and a parameter name set, plus a cookie fallback via a gform filter so the identifier survives a visitor who browsed several pages before converting.
Event source: the gform_after_submission hook
Fire server-side from the PHP hook. This runs regardless of caching, AJAX submission, or what the confirmation page does.
Dispatch to Marketing Cloud
A server-side insert into the data extension the journey is configured against, keyed on Subscriber Key.
Reversals where they exist
Nothing to reverse, though entries marked spam should be excluded from the send.
Written guarantee
95%+ tracking accuracy
Measured against The Gravity Forms entries list for the same window, or the wp_gf_entry table directly.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Gravity Forms → Marketing Cloud questions, answered
Most often the lead went to Salesforce CRM, not to the data extension the journey listens to, or the Subscriber Key did not match. Check which data extension the journey uses.
Choose one path into the journey. Sending to both usually creates two subscribers for one person.
Almost always because the Subscriber Key never reached the Gravity Forms entry. The identifier must be written into a hidden field with dynamic population enabled, and that only works if the parameter is on the URL when the page renders. Page caching serves a cached render to the visitor, so the dynamic population never runs — the same caching problem that breaks WooCommerce. Measure coverage before debugging the dispatch.
Marketing Cloud identifies people by Subscriber Key, which you define. It is not the CRM Contact ID unless somebody deliberately made it so, and in many orgs the two are unrelated. Sending an event keyed on the wrong one creates a second subscriber rather than updating the first, which splits the person across two journeys.
The gform_after_submission hook. Fire server-side from the PHP hook. This runs regardless of caching, AJAX submission, or what the confirmation page does.
Check the subscriber record and the journey history, not the API response. A successful insert into an unwatched data extension looks identical to a successful one into the right extension.
More on Gravity Forms → Marketing Cloud
- Cognito Forms → Marketing CloudConnecting Cognito Forms to Salesforce Marketing Cloud
- Fluent Forms → Marketing CloudConnecting Fluent Forms to Salesforce Marketing Cloud
- Formidable Forms → Marketing CloudConnecting Formidable Forms to Salesforce Marketing Cloud
RELATED GUIDES
Where Gravity Forms → Marketing Cloud fits in the rest of your tracking
- Ninja Forms → Marketing CloudConnecting Ninja Forms to Salesforce Marketing Cloud
- Contact Form 7 → Marketing CloudConnecting Contact Form 7 to Salesforce Marketing Cloud
- Fluent Forms → Marketing CloudConnecting Fluent Forms to Salesforce Marketing Cloud
- Gravity Forms → IterableConnecting Gravity Forms to Iterable
- Gravity Forms → AttentiveConnecting Gravity Forms to Attentive
- Home servicesConversion tracking for home service businesses, measured in completed jobs
- Formidable Forms → Marketing CloudConnecting Formidable Forms to Salesforce Marketing Cloud
- Cognito Forms → Marketing CloudConnecting Cognito Forms to Salesforce Marketing Cloud
Free · 30 min
Get Gravity Forms and Marketing Cloud joined properly
Free30 minutesNo obligation
