Docs

Contact Form 7 Integration

2 min readUpdated April 20, 2026

Contact Form 7 is one of the most widely installed WordPress form plugins, known for its simplicity and flexibility. WP Smart Consent integrates with Contact Form 7 to add an opt-in checkbox to any CF7 form on your site, with per-form configuration for both Newsletter and Contact modes.

How It Works#

In Contact mode, WP Smart Consent injects the checkbox via the wpcf7_form_elements filter, placing it directly above the CF7 submit button. In Newsletter mode, no checkbox is shown and every submission is forwarded automatically.

Configuring Per Form#

Contact Form 7 settings are configured individually for each form using a native WP Smart Consent panel inside the CF7 form editor. To access it, open the form in the CF7 editor and look for the WP Smart Consent tab alongside the standard CF7 editor tabs. From there you can set the mode and control how submissions from that form are handled.

This means different forms on the same site can behave differently — a general contact form can run in Contact mode while a dedicated newsletter signup runs in Newsletter mode.

Enabling the Integration#

In the WP Smart Consent dashboard, go to Integrations and toggle Contact Form 7 on. This activates the integration globally — per-form behavior is then controlled from within each form’s settings as described above.

Works Alongside Other Integrations#

Enabling the Contact Form 7 integration doesn’t affect any of your other active integrations. Each source is independent — opt-ins captured through Contact Form 7 are forwarded to the same CRM and ESP destinations as any other source, and are logged with cf7 as the source for easy filtering.

This website uses cookies to enhance your browsing experience and ensure the site functions properly. By continuing to use this site, you acknowledge and accept our use of cookies.

Accept All Accept Required Only