Skip to main content
Contact Form 7 → CriteoIntegration guide

Connecting Contact Form 7 to Criteo

Contact Form 7 is free, everywhere, and stores nothing by default — which is the whole problem. Criteo is a retargeting and commerce media network built on product-level data, which means its feed matters as much as its conversion events. The join between them succeeds or fails on one thing: whether the Criteo user identifier and product IDs reaches the Contact Form 7 submission before the conversion happens, because Criteo can only match a conversion it can tie back to a click it recognizes.

Free30 minutesNo obligation

Specific to this pair

Contact Form 7 and Criteo: a lead form has no product ID

Criteo needs catalog product IDs, and a general Contact Form 7 lead has none, so it's a poor fit for lead generation. Catalog sites with product quote forms can pass the item's feed SKU in a hidden field and send a server event from wpcf7_mail_sent, if Criteo accepts lead events. Keep general contact forms out entirely.

Criteo's matching and value reporting are built on product IDs that agree with your catalog feed. A Contact Form 7 submission has no product, no cart and usually no price, so a conversion sent from it gives Criteo nothing to resolve against. For a pure lead-generation site this pair is a poor fit and the honest recommendation is to spend retargeting budget on a platform that optimizes to leads.

The exception is a catalog site where the form is a quote or availability request for a specific item: furniture, equipment, trade parts. There the form can carry the product's SKU in a hidden field populated from the page, exactly as it appears in the Criteo feed, and the server event fired from wpcf7_mail_sent can reference that ID. Confirm in your Criteo account whether a lead-type event is accepted for your setup and how it is valued before building it.

Watch the view-through problem in particular. A visitor who saw a Criteo banner and later filled in a general contact form can be credited to Criteo even though the form had nothing to do with retargeting. If you do send form events, send only the product-specific forms, and keep the general contact form out of Criteo entirely.

Contact Form 7 → Criteo · what breaks

Why this join usually fails — Contact Form 7 → Criteo

  1. 01

    The Criteo user identifier and product IDs 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

    Product IDs that do not match the feed

    Criteo resolves conversions against your catalogue. If the IDs in your purchase events differ from the IDs in your feed — a common outcome when the feed is generated by a different system — the conversion resolves poorly and the reported value is wrong.

  4. 04

    Nothing reconciles afterwards

    Criteo reports conversions on its own attribution windows, which include view-through. Reconcile against your own order records and be explicit that view-through credit is included — otherwise the comparison will never balance.

Contact Form 7 → Criteo · the fix

What working looks like — Contact Form 7 → Criteo

  • The Criteo user identifier and product IDs on every submission

  • Conversions arriving in Criteo

    Conversions appear in Criteo's reporting attributed to its own view- and click-through windows, which are worth understanding before comparing anything.

  • Reconciled against the source

Contact Form 7 → Criteo · architecture

How Contact Form 7 and Criteo 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

    Criteo needs a click to match

    Criteo needs the transaction with its product IDs, quantities and values, matched to your catalogue feed. Identity resolution is Criteo's side of the problem; feed consistency is yours.

  3. 3

    The identifier is the bridge

    The Criteo user identifier and product IDs, 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

    Criteo deduplicates on the transaction identifier. Sending the same order from both a tag and a server integration without a shared ID counts it twice, and on a retargeting network that inflates the metric the whole channel is judged on.

Contact Form 7 → Criteo · normal or broken

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

Normal, not a fault

  • The Criteo user identifier and product IDs present on the submission

  • Sent from the wpcf7_mail_sent hook

  • Deduplicated correctly

    Criteo deduplicates on the transaction identifier. Sending the same order from both a tag and a server integration without a shared ID counts it twice, and on a retargeting network that inflates the metric the whole channel is judged on.

  • Reconciles with the source

Actually broken

  • The Criteo user identifier and product IDs 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

    Criteo resolves conversions against your catalogue. If the IDs in your purchase events differ from the IDs in your feed — a common outcome when the feed is generated by a different system — the conversion resolves poorly and the reported value is wrong.

  • Nobody has reconciled it

Contact Form 7 → Criteo · diagnose

Diagnostic order — Contact Form 7 → Criteo

  1. 01

    Count submissions carrying the Criteo user identifier and product IDs

  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

    Compare product IDs in a real conversion against the catalogue feed

    They must match exactly. This single check explains most Criteo value discrepancies.

  5. 05

    Read the match rate, not the success message

    Criteo reports conversions on its own attribution windows, which include view-through. Reconcile against your own order records and be explicit that view-through credit is included — otherwise the comparison will never balance.

Contact Form 7 → Criteo · prove

How it gets proven — Contact Form 7 → Criteo

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 Criteo user identifier and product IDs confirmed present on a live submission.
  • Product IDs in a live conversion confirmed to match the catalogue feed exactly.
  • Stored submissions confirmed to match the email record for the same period, before any attribution claim is made.

Contact Form 7 → Criteo · free audit

What we check in the free audit

  • Count submissions carrying the Criteo user identifier and product IDs
  • Follow one real conversion end to end
  • Confirm submissions are being stored at all
  • Compare product IDs in a real conversion against the catalogue feed
  • 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 → Criteo · when not to buy

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

  • Measure identifier coverage yourself first — pull your last hundred submissions and count how many carry the Criteo user identifier and product IDs.
  • 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 do not sell products with a catalogue, Criteo's model does not fit and the effort is misdirected.

Contact Form 7 → Criteo · what we deliver

What gets built — Contact Form 7 → Criteo

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

    Server-side transaction events with product IDs matching the catalogue feed, plus the feed itself kept in sync.

  • 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 → Criteo questions, answered

Only meaningfully when the form is tied to a specific catalog product whose ID matches your Criteo feed. A general contact form has no product data for Criteo to resolve, so it adds little and invites view-through over-crediting.

Free · 30 min

Get Contact Form 7 and Criteo joined properly

Free30 minutesNo obligation