Connecting Contact Form 7 to The Trade Desk
Contact Form 7 is free, everywhere, and stores nothing by default — which is the whole problem. The Trade Desk buys across the open internet rather than inside a walled garden, which means it cannot rely on a logged-in graph and has to work with identity you help it construct. The join between them succeeds or fails on one thing: whether Unified ID 2.0, derived from a hashed email reaches the Contact Form 7 submission before the conversion happens, because The Trade Desk 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 The Trade Desk: one email, one UID2 match
The Trade Desk matches Contact Form 7 leads through UID2, built from a hashed email. Send conversions from stored submissions with the hashed email and a timestamp, applying UID2's published normalization rules, and optionally run the universal pixel on wpcf7mailsent. Expect small, mostly view-through volume, and split it from click-through before reporting.
The Trade Desk matches conversions through UID2, built from a hashed email, and a Contact Form 7 lead always has an email. That makes the inquiry form one of the few places an open-web campaign can match anything at all. Send the conversion from stored submissions with the hashed email and a timestamp, and run TTD's universal pixel on the wpcf7mailsent DOM event if you also want browser-side matching.
UID2 has its own normalization rules before hashing, including special handling of gmail.com addresses, so lowercasing and trimming is not always enough. Apply the published rules or let TTD's tooling do it, because an email normalized differently from the way the advertiser's impressions were keyed will not match. Check that the form's privacy notice covers sharing hashed emails for ad measurement and that opt-outs are excluded.
Expect volume to be small and mostly view-through. A B2B site might take a few dozen CF7 inquiries a month, and many will be people who saw a display impression and arrived later from search. Split click-through from view-through before reporting, and do not let TTD's view-through leads be added to the same leads already claimed by search in a blended cost-per-lead.
Contact Form 7 → The Trade Desk · what breaks
Why this join usually fails — Contact Form 7 → The Trade Desk
- 01
Unified ID 2.0, derived from a hashed email 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
View-through conversions on the open internet
A large share of what a DSP claims is view-through: the person saw a display impression and later converted without clicking. Some of that is real influence and some of it is coincidence, and no post-click reporting can separate them. Treat the click-attributed number as the floor and prove the rest with a holdout.
- 04
Nothing reconciles afterwards
The Trade Desk reports match rates on uploaded conversions. Read the match rate — a low one means your authenticated share is the constraint, and no amount of pipeline work will change that.
Contact Form 7 → The Trade Desk · the fix
What working looks like — Contact Form 7 → The Trade Desk
Unified ID 2.0, derived from a hashed email on every submission
Conversions arriving in The Trade Desk
The conversion is matched to an impression or click where identity resolves, and feeds the bidding models.
Reconciled against the source
Contact Form 7 → The Trade Desk · architecture
How Contact Form 7 and The Trade Desk 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
The Trade Desk needs a click to match
The Trade Desk needs the conversion with a UID2 or a hashed email it can resolve, plus the value and timestamp. Conversions from anonymous visitors cannot be matched at all.
- 3
The identifier is the bridge
Unified ID 2.0, derived from a hashed email, 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
Deduplication is on your conversion identifier. Because open-internet buying frequently runs alongside search and social, the more consequential deduplication is across platforms rather than within this one.
Contact Form 7 → The Trade Desk · normal or broken
Working vs. broken, side by side — Contact Form 7 → The Trade Desk
Normal, not a fault
Unified ID 2.0, derived from a hashed email present on the submission
Sent from the wpcf7_mail_sent hook
Deduplicated correctly
Deduplication is on your conversion identifier. Because open-internet buying frequently runs alongside search and social, the more consequential deduplication is across platforms rather than within this one.
Reconciles with the source
Actually broken
Unified ID 2.0, derived from a hashed email 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 large share of what a DSP claims is view-through: the person saw a display impression and later converted without clicking. Some of that is real influence and some of it is coincidence, and no post-click reporting can separate them. Treat the click-attributed number as the floor and prove the rest with a holdout.
Nobody has reconciled it
Contact Form 7 → The Trade Desk · diagnose
Diagnostic order — Contact Form 7 → The Trade Desk
- 01
Count submissions carrying Unified ID 2.0, derived from a hashed email
- 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
Split reported conversions into click-through and view-through
If the great majority are view-through, the honest next step is an incrementality test rather than a bid adjustment.
- 05
Read the match rate, not the success message
The Trade Desk reports match rates on uploaded conversions. Read the match rate — a low one means your authenticated share is the constraint, and no amount of pipeline work will change that.
Contact Form 7 → The Trade Desk · prove
How it gets proven — Contact Form 7 → The Trade Desk
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.
- Unified ID 2.0, derived from a hashed email confirmed present on a live submission.
- Matched conversions reconciled against your own order records, with the click-through and view-through split stated.
- Stored submissions confirmed to match the email record for the same period, before any attribution claim is made.
Contact Form 7 → The Trade Desk · free audit
What we check in the free audit
- Count submissions carrying Unified ID 2.0, derived from a hashed email
- Follow one real conversion end to end
- Confirm submissions are being stored at all
- Split reported conversions into click-through and view-through
- 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 → The Trade Desk · when not to buy
When you don't need this — Contact Form 7 → The Trade Desk
- Measure identifier coverage yourself first — pull your last hundred submissions and count how many carry Unified ID 2.0, derived from a hashed email.
- 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 cannot collect email addresses from a meaningful share of your buyers, UID2 has little to work with and the open internet is not yet an addressable channel for you.
Contact Form 7 → The Trade Desk · what we deliver
What gets built — Contact Form 7 → The Trade Desk
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 The Trade Desk
Server-side conversion upload with the hashed identity and value, from your order system.
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 → The Trade Desk questions, answered
Yes. The email on each submission gives a UID2 match key; send conversions with properly normalized, hashed emails from stored submissions or fire the universal pixel on wpcf7mailsent.
Most DSP-reported leads are view-through, so the same person also clicked a search ad. Report click-through separately and deduplicate across platforms on your stored submission IDs.
Almost always because Unified ID 2.0, derived from a hashed email 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.
UID2 is built from a hashed and salted email address rather than from a cookie, which is the point: it is designed to survive third-party cookie deprecation. It also means the identifier only exists for people who gave you an email, so your addressable share is capped by your own authenticated traffic, not by the platform.
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.
The Trade Desk reports match rates on uploaded conversions. Read the match rate — a low one means your authenticated share is the constraint, and no amount of pipeline work will change that.
More on Contact Form 7 → The Trade Desk
- 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 → The Trade Desk fits in the rest of your tracking
- Paperform → The Trade DeskConnecting Paperform to The Trade Desk
- WPForms → The Trade DeskConnecting WPForms to The Trade Desk
- Gravity Forms → The Trade DeskConnecting Gravity Forms to The Trade Desk
- Contact Form 7 → OutbrainConnecting Contact Form 7 to Outbrain
- Contact Form 7 → DV360Connecting Contact Form 7 to Display & Video 360
- Law firmsConversion tracking for law firms, without sending case details anywhere
- Cognito Forms → The Trade DeskConnecting Cognito Forms to The Trade Desk
- Typeform → The Trade DeskConnecting Typeform to The Trade Desk
Free · 30 min
Get Contact Form 7 and The Trade Desk joined properly
Free30 minutesNo obligation
