Connecting Contact Form 7 to Braze
Contact Form 7 is free, everywhere, and stores nothing by default — which is the whole problem. Braze is mobile-first lifecycle messaging, which means it resolves to a user rather than to a click and its most valuable channels — push and in-app — exist nowhere near a browser. The join between them succeeds or fails on one thing: whether the Braze external user ID reaches the Contact Form 7 submission before the conversion happens, because Braze can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Contact Form 7 to Braze: an email with no external ID
Contact Form 7 leads have only a typed email, not Braze's external_id, so decide whether web leads are identified by email or user alias and how they merge later. Send the inquiry as an event with form ID and subject, set email subscribed only when an acceptance box was ticked, and deduplicate on the stored submission ID.
Braze keys users on external_id, normally your app's own user ID. A Contact Form 7 form on a WordPress marketing site has no login and no user ID, only a typed email. Send a lead under that email alone and you either create a profile that never merges with the app account the same person opens next month, or you update the wrong one. Decide first whether your workspace identifies web leads by email or by a user alias, and confirm how those merge when the app later assigns an external_id.
Then decide what the lead is for in Braze. If Braze mainly runs push and in-app messaging for an app, a CF7 inquiry from someone with no app usually belongs in the CRM, and Braze only needs it once that person signs up. If you use Braze email for nurture, create the profile with the inquiry as an event carrying form ID and subject, so a canvas can branch on what was asked.
A contact form is not an email marketing opt-in. Set the email subscription state to subscribed only when a separate [acceptance] box was ticked. Watch for double sends too: a visitor double-clicking submit while CF7's AJAX spinner runs can produce two hook calls and two welcome emails, so deduplicate on the stored submission ID before calling Braze.
Contact Form 7 → Braze · what breaks
Why this join usually fails — Contact Form 7 → Braze
- 01
The Braze external user ID never reaches Contact Form 7
There is no entries table to write to, so the identifier has to be captured into a hidden field and persisted by whatever you add for storage. Contact Form 7 submits over AJAX, so the page does not reload and anything expecting a navigation event never fires.
- 02
AJAX submission means no page load to hook
Setups that fire a conversion on thank-you-page load simply never fire. Setups that listen for the DOM event miss anyone whose script execution was blocked or deferred.
- 03
Duplicate events sending duplicate push notifications
A duplicate here is visible to your customer on their lock screen, twice, and the second one is the reason they turn push off permanently. This is a more expensive mistake than a double-counted conversion in an ad platform, because the damage is not recoverable.
- 04
Nothing reconciles afterwards
Braze shows events on the user profile within moments. Check the profile, not the API response, and specifically check whether an anonymous device profile has been created alongside the real one.
Contact Form 7 → Braze · the fix
What working looks like — Contact Form 7 → Braze
The Braze external user ID on every submission
Conversions arriving in Braze
The event lands on the user profile, triggers whatever campaigns depend on it, and becomes available for segmentation across push, email and in-app.
Reconciled against the source
Contact Form 7 → Braze · architecture
How Contact Form 7 and Braze actually connect
- 1
Contact Form 7 holds the truth
Out of the box Contact Form 7 emails the submission and keeps no record. Before any attribution work is meaningful, submissions have to be stored somewhere queryable. That is step one and it is not optional.
- 2
Braze needs a click to match
Braze needs the external user ID and a well-named event with its properties. An event with no external ID lands on an anonymous device profile that may never merge with the real user.
- 3
The identifier is the bridge
The Braze external user ID, captured at the visit and carried into the Contact Form 7 submission.
- 4
The event source decides reliability
Fire server-side from PHP. The browser-side wpcf7mailsent DOM event exists and is commonly used, but it depends on the visitor's browser executing correctly and on the AJAX response arriving — the server hook does not.
- 5
Deduplication at the destination
Braze does not deduplicate for you. A purchase sent from both your app SDK and your server produces two events, two campaign triggers and potentially two push notifications to a customer who bought once.
Contact Form 7 → Braze · normal or broken
Working vs. broken, side by side — Contact Form 7 → Braze
Normal, not a fault
The Braze external user ID present on the submission
Sent from the wpcf7_mail_sent hook
Deduplicated correctly
Braze does not deduplicate for you. A purchase sent from both your app SDK and your server produces two events, two campaign triggers and potentially two push notifications to a customer who bought once.
Reconciles with the source
Actually broken
The Braze external user ID missing on most records
There is no entries table to write to, so the identifier has to be captured into a hidden field and persisted by whatever you add for storage. Contact Form 7 submits over AJAX, so the page does not reload and anything expecting a navigation event never fires.
Sent from the browser
Setups that fire a conversion on thank-you-page load simply never fire. Setups that listen for the DOM event miss anyone whose script execution was blocked or deferred.
Counted twice, or not at all
A duplicate here is visible to your customer on their lock screen, twice, and the second one is the reason they turn push off permanently. This is a more expensive mistake than a double-counted conversion in an ad platform, because the damage is not recoverable.
Nobody has reconciled it
Contact Form 7 → Braze · diagnose
Diagnostic order — Contact Form 7 → Braze
- 01
Count submissions carrying the Braze external user ID
- 02
Follow one real conversion end to end
- 03
Confirm submissions are being stored at all
If the only record is an email inbox, there is nothing to reconcile and no way to prove any number. Fix storage before touching attribution.
- 04
Send a test purchase and read the user profile's event stream
One event or two? Check whether the SDK is already sending the same event before adding a server source, and check that the external ID matches the signed-in user rather than creating a new profile.
- 05
Read the match rate, not the success message
Braze shows events on the user profile within moments. Check the profile, not the API response, and specifically check whether an anonymous device profile has been created alongside the real one.
Contact Form 7 → Braze · prove
How it gets proven — Contact Form 7 → Braze
Source of truth
Whatever you configure to persist submissions — an entries plugin, or your own database table. By default there is nothing to reconcile against.
- The Braze external user ID confirmed present on a live submission.
- The user profile confirmed to show one event per conversion, with device and user profiles correctly merged.
- Stored submissions confirmed to match the email record for the same period, before any attribution claim is made.
Contact Form 7 → Braze · free audit
What we check in the free audit
- Count submissions carrying the Braze external user ID
- Follow one real conversion end to end
- Confirm submissions are being stored at all
- Send a test purchase and read the user profile's event stream
- Read the match rate, not the success message
Checked against
Whatever you configure to persist submissions — an entries plugin, or your own database table. By default there is nothing to reconcile against.
Free30 minutesNo obligation
Contact Form 7 → Braze · when not to buy
When you don't need this — Contact Form 7 → Braze
- Measure identifier coverage yourself first — pull your last hundred submissions and count how many carry the Braze external user ID.
- If you are on Contact Form 7 and serious about attribution, moving to a form plugin that stores entries is often cheaper than working around the one that does not. We will say so rather than bill for the workaround.
- If you have no mobile app and no push channel, Braze is a large piece of infrastructure for a job an email platform already does.
Contact Form 7 → Braze · what we deliver
What gets built — Contact Form 7 → Braze
Identifier capture into Contact Form 7
Hidden field populated from a first-party cookie, plus a storage layer so the submission and its identifier survive past the email. The wpcf7_before_send_mail hook is where both happen.
Event source: the wpcf7_mail_sent hook
Fire server-side from PHP. The browser-side wpcf7mailsent DOM event exists and is commonly used, but it depends on the visitor's browser executing correctly and on the AJAX response arriving — the server hook does not.
Dispatch to Braze
The Braze user track endpoint, posted server-side from your order or billing system with the external user ID and event properties.
Reversals where they exist
Nothing to reverse. Spam filtering before the send is the equivalent concern.
Written guarantee
95%+ tracking accuracy
Measured against Whatever you configure to persist submissions — an entries plugin, or your own database table. By default there is nothing to reconcile against.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Contact Form 7 → Braze questions, answered
From the wpcf7_mail_sent hook, post to Braze's user track endpoint with the identifier your workspace uses for web leads, and set subscription state only from an explicit consent checkbox.
The form knows an email but not the external_id your app assigns later. Unless web leads are created in a way that merges on signup, one person ends up with two profiles.
Almost always because the Braze external user ID never reached the Contact Form 7 submission. There is no entries table to write to, so the identifier has to be captured into a hidden field and persisted by whatever you add for storage. Contact Form 7 submits over AJAX, so the page does not reload and anything expecting a navigation event never fires. Measure coverage before debugging the dispatch.
Braze identifies people by an external_id you assign, usually your own user ID, with anonymous device profiles merged in once a user signs in. There is no click identifier at all. Getting the external ID right is the entire integration; getting it wrong fragments one customer into several profiles who each receive the same campaign.
The wpcf7_mail_sent hook. Fire server-side from PHP. The browser-side wpcf7mailsent DOM event exists and is commonly used, but it depends on the visitor's browser executing correctly and on the AJAX response arriving — the server hook does not.
Braze shows events on the user profile within moments. Check the profile, not the API response, and specifically check whether an anonymous device profile has been created alongside the real one.
More on Contact Form 7 → Braze
- Contact Form 7 → GA4Connecting Contact Form 7 to GA4
- Contact Form 7 → Google AdsConnecting Contact Form 7 to Google Ads
- Contact Form 7 → MetaConnecting Contact Form 7 to Meta Conversions API
RELATED GUIDES
Where Contact Form 7 → Braze fits in the rest of your tracking
- Jotform → BrazeConnecting Jotform to Braze
- Formstack → BrazeConnecting Formstack to Braze
- Typeform → BrazeConnecting Typeform to Braze
- Contact Form 7 → Marketing CloudConnecting Contact Form 7 to Salesforce Marketing Cloud
- Contact Form 7 → AttentiveConnecting Contact Form 7 to Attentive
- Local servicesConversion tracking for local businesses, where most conversions bypass the website
- Formidable Forms → BrazeConnecting Formidable Forms to Braze
- Tally → BrazeConnecting Tally to Braze
Free · 30 min
Get Contact Form 7 and Braze joined properly
Free30 minutesNo obligation
