Skip to main content
Contact Form 7 → Adobe AnalyticsIntegration guide

Connecting Contact Form 7 to Adobe Analytics

Contact Form 7 is free, everywhere, and stores nothing by default — which is the whole problem. Adobe Analytics processes data on the way in through rules you configure, which means the same event can be recorded differently by two report suites and both will look authoritative. The join between them succeeds or fails on one thing: whether the Experience Cloud ID, plus whatever eVar you designate reaches the Contact Form 7 submission before the conversion happens, because Adobe Analytics can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Contact Form 7 in Adobe Analytics: a lead event with no page load

Contact Form 7 swaps in a message over AJAX, so no thank-you page fires. Use an Adobe Tags rule on the wpcf7mailsent DOM event, never wpcf7submit, setting a success event and an eVar with the form ID. Server hits from wpcf7_mail_sent need the ECID in a hidden field, and event serialization needs a stored submission ID.

Adobe implementations usually count form completions with a Tags rule on a thank-you page view. Contact Form 7 posts over AJAX and swaps the form for a message in place, so that page view never happens and the success event never fires. The standard patch is a Tags rule listening for the wpcf7mailsent DOM event that sets a success event plus an eVar holding the CF7 form ID. Do not listen for wpcf7submit: it fires on invalid and spam submissions too, and Adobe will count every failed attempt.

A server-side hit from the wpcf7_mail_sent hook through the Data Insertion or Edge API only joins the visit if the ECID was captured into a [hidden] field before submit, read from the Visitor API or Web SDK on the page. Without it the server hit starts a new visitor and the lead arrives with no campaign eVar attached, which looks like a direct-traffic lead in every attribution report. Also record the form ID and page URL, because most WordPress sites run several CF7 forms and Adobe will otherwise merge them into one event.

Adobe's purchase ID protection covers orders, not leads. For a lead success event, check whether event serialization is enabled in the report suite and pass a stable serial: the Flamingo message ID or your own table's row ID. That stops a browser rule and a server hit, or a double-clicked submit, from recording twice. Without stored submissions there is no ID to serialize on.

Contact Form 7 → Adobe Analytics · what breaks

Why this join usually fails — Contact Form 7 → Adobe Analytics

  1. 01

    The Experience Cloud ID, plus whatever eVar you designate 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.

  2. 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.

  3. 03

    Processing rules rewriting data before anyone sees it

    Rules run before storage and are frequently configured years earlier by someone who has left. A campaign variable can be overwritten, defaulted or dropped on the way in, and the reports will look consistent and be wrong.

  4. 04

    Nothing reconciles afterwards

    Use a raw data feed or Data Debugger to see what actually arrived, not the processed report. Those are different things and only one of them shows the truth.

Contact Form 7 → Adobe Analytics · the fix

What working looks like — Contact Form 7 → Adobe Analytics

  • The Experience Cloud ID, plus whatever eVar you designate on every submission

  • Conversions arriving in Adobe Analytics

    The hit is processed through VISTA and processing rules, lands in the report suite, and becomes available under whatever allocation the eVar specifies.

  • Reconciled against the source

Contact Form 7 → Adobe Analytics · architecture

How Contact Form 7 and Adobe Analytics actually connect

  1. 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. 2

    Adobe Analytics needs a click to match

    An eVar with the right persistence and allocation, an event configured in the report suite, and processing rules that do not quietly rewrite what arrived.

  3. 3

    The identifier is the bridge

    The Experience Cloud ID, plus whatever eVar you designate, captured at the visit and carried into the Contact Form 7 submission.

  4. 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. 5

    Deduplication at the destination

    Adobe deduplicates on purchase ID for orders. Omit it and a customer refreshing a confirmation page records the order again, which is the single most common inflation in Adobe implementations.

Contact Form 7 → Adobe Analytics · normal or broken

Working vs. broken, side by side — Contact Form 7 → Adobe Analytics

Normal, not a fault

  • The Experience Cloud ID, plus whatever eVar you designate present on the submission

  • Sent from the wpcf7_mail_sent hook

  • Deduplicated correctly

    Adobe deduplicates on purchase ID for orders. Omit it and a customer refreshing a confirmation page records the order again, which is the single most common inflation in Adobe implementations.

  • Reconciles with the source

Actually broken

  • The Experience Cloud ID, plus whatever eVar you designate 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

    Rules run before storage and are frequently configured years earlier by someone who has left. A campaign variable can be overwritten, defaulted or dropped on the way in, and the reports will look consistent and be wrong.

  • Nobody has reconciled it

Contact Form 7 → Adobe Analytics · diagnose

Diagnostic order — Contact Form 7 → Adobe Analytics

  1. 01

    Count submissions carrying the Experience Cloud ID, plus whatever eVar you designate

  2. 02

    Follow one real conversion end to end

  3. 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.

  4. 04

    Read the processing rules and the eVar allocation settings

    Before debugging the tag. On mature Adobe implementations the explanation is upstream of the browser far more often than in it.

  5. 05

    Read the match rate, not the success message

    Use a raw data feed or Data Debugger to see what actually arrived, not the processed report. Those are different things and only one of them shows the truth.

Contact Form 7 → Adobe Analytics · prove

How it gets proven — Contact Form 7 → Adobe Analytics

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 Experience Cloud ID, plus whatever eVar you designate confirmed present on a live submission.
  • Orders reconciled against the raw feed with purchase ID deduplication verified, then against the processed report suite.
  • Stored submissions confirmed to match the email record for the same period, before any attribution claim is made.

Contact Form 7 → Adobe Analytics · free audit

What we check in the free audit

  • Count submissions carrying the Experience Cloud ID, plus whatever eVar you designate
  • Follow one real conversion end to end
  • Confirm submissions are being stored at all
  • Read the processing rules and the eVar allocation settings
  • 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.

Get my free conversion tracking audit

Free30 minutesNo obligation

Contact Form 7 → Adobe Analytics · when not to buy

When you don't need this — Contact Form 7 → Adobe Analytics

  • Measure identifier coverage yourself first — pull your last hundred submissions and count how many carry the Experience Cloud ID, plus whatever eVar you designate.
  • 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 are already on GA4 and not obliged to use Adobe, running both means two versions of every number and a standing argument about which is right.

Contact Form 7 → Adobe Analytics · what we deliver

What gets built — Contact Form 7 → Adobe Analytics

  • 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 Adobe Analytics

    Server-side via the Data Insertion or Edge API, with the ECID and the configured variables.

  • 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.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Contact Form 7 → Adobe Analytics questions, answered

Add a Tags rule on the wpcf7mailsent DOM event, since CF7 never loads a confirmation page, and set a success event plus an eVar for the form ID. For coverage that does not depend on the browser, send the same hit server-side from the wpcf7_mail_sent hook with the ECID captured in a hidden field.

Free · 30 min

Get Contact Form 7 and Adobe Analytics joined properly

Free30 minutesNo obligation