Skip to main content
Contact Form 7 → KlaviyoIntegration guide

Connecting Contact Form 7 to Klaviyo

Contact Form 7 is free, everywhere, and stores nothing by default — which is the whole problem. Klaviyo drives the flows, so an event it never receives is a flow that never triggers and revenue that never happens. The join between them succeeds or fails on one thing: whether the profile identity — email or phone reaches the Contact Form 7 submission before the conversion happens, because Klaviyo 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 Klaviyo: events, profiles and the consent step

Sending a Contact Form 7 event to Klaviyo subscribes nobody. Add an optional acceptance checkbox and call Klaviyo's subscription endpoint only when ticked, and send the inquiry as a custom event with form name and page either way, from the server-side hook after the spam check. Normalize CF7's free-text tel field to international format.

Contact Form 7 sites send leads to Klaviyo for one of two reasons: a newsletter or waitlist signup, or an inquiry that should start a nurture flow. Either way the profile resolves on the email field, and either way sending an event subscribes nobody. Klaviyo treats marketing consent as a separate subscription step, so an inquiry posted only as an event creates a profile you cannot send marketing email to.

Add an optional [acceptance] checkbox for marketing consent and call Klaviyo's subscription endpoint only when it is ticked; send the inquiry itself as a custom event either way, with form name and page as properties so flows can branch. Both calls belong in the server-side hook after the spam check, not in the wpcf7mailsent browser event.

Check third-party plugins that connect Contact Form 7 to Klaviyo before writing your own, but read what they send: some post only a list subscribe with no event, which leaves flows nothing to trigger on. The break particular to this pair is the phone field. Contact Form 7's tel field accepts whatever people type, while Klaviyo expects phone numbers in full international format, so unformatted US numbers can fail validation and the profile never becomes SMS-eligible.

Contact Form 7 → Klaviyo · what breaks

Why this join usually fails — Contact Form 7 → Klaviyo

  1. 01

    The profile identity — email or phone 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

    Duplicate events trigger duplicate emails

    Unlike an ad platform, a duplicate here is visible to your customer. Two order confirmations for one order is a support ticket, not a reporting discrepancy.

  4. 04

    Nothing reconciles afterwards

    Klaviyo shows the event on the profile's activity feed within moments. Check the profile, not the API response — and specifically check whether the same metric is arriving twice from two sources.

Contact Form 7 → Klaviyo · the fix

What working looks like — Contact Form 7 → Klaviyo

  • The profile identity — email or phone on every submission

  • Conversions arriving in Klaviyo

    The event lands on the profile, triggers the flows that depend on it, and becomes available for segmentation.

  • Reconciled against the source

Contact Form 7 → Klaviyo · architecture

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

    Klaviyo needs a click to match

    Klaviyo needs to resolve the event to a profile. Given an email it will create or update; given nothing it discards the event.

  3. 3

    The identifier is the bridge

    The profile identity — email or phone, 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

    Klaviyo does not deduplicate events for you. Sending the same purchase from both the store integration and your own server produces two events, two flow triggers and potentially two emails to a customer who bought once.

Contact Form 7 → Klaviyo · normal or broken

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

Normal, not a fault

  • The profile identity — email or phone present on the submission

  • Sent from the wpcf7_mail_sent hook

  • Deduplicated correctly

    Klaviyo does not deduplicate events for you. Sending the same purchase from both the store integration and your own server produces two events, two flow triggers and potentially two emails to a customer who bought once.

  • Reconciles with the source

Actually broken

  • The profile identity — email or phone 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

    Unlike an ad platform, a duplicate here is visible to your customer. Two order confirmations for one order is a support ticket, not a reporting discrepancy.

  • Nobody has reconciled it

Contact Form 7 → Klaviyo · diagnose

Diagnostic order — Contact Form 7 → Klaviyo

  1. 01

    Count submissions carrying the profile identity — email or phone

  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

    Open the profile's activity feed after a test event

    One event or two? Check whether the native store integration is already sending the same metric before you add a second source.

  5. 05

    Read the match rate, not the success message

    Klaviyo shows the event on the profile's activity feed within moments. Check the profile, not the API response — and specifically check whether the same metric is arriving twice from two sources.

Contact Form 7 → Klaviyo · prove

How it gets proven — Contact Form 7 → Klaviyo

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 profile identity — email or phone confirmed present on a live submission.
  • The profile activity feed confirmed to show one event per conversion, with no overlap against the native integration.
  • Stored submissions confirmed to match the email record for the same period, before any attribution claim is made.

Contact Form 7 → Klaviyo · free audit

What we check in the free audit

  • Count submissions carrying the profile identity — email or phone
  • Follow one real conversion end to end
  • Confirm submissions are being stored at all
  • Open the profile's activity feed after a test event
  • 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 → Klaviyo · when not to buy

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

  • Measure identifier coverage yourself first — pull your last hundred submissions and count how many carry the profile identity — email or phone.
  • 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 Klaviyo's native store integration already sends the events your flows need, adding a second source creates duplicates rather than value.

Contact Form 7 → Klaviyo · what we deliver

What gets built — Contact Form 7 → Klaviyo

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

    The Klaviyo Events API with the profile identifiers and the event properties, sent server-side.

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

Contact Form 7's built-in integrations do not include Klaviyo as far as we know. Use a connector plugin you have checked, or a server-side hook that calls Klaviyo's API.

Free · 30 min

Get Contact Form 7 and Klaviyo joined properly

Free30 minutesNo obligation