Discover, trust, install: FAIR 1.0 is here

Plugin Banner

Controls for Contact Form 7 (Redirects, Analytics & Tracking)

by Kaspars

Version: 0.10.0

Download
Description

NEW: Subscribe to the 🚀 PRO version for advanced analytics and tracking features, and professional support by the plugin author.

This is an addon for the Contact Form 7 plugin with the following features:

  • Track form submissions, errors and completions with Google Analytics (GA4), Google Tag (gtag.js), Google Tag Manager (GTM), Matomo (formerly Piwik) and Facebook Pixel.
  • Redirect to URL on form submission.
  • Enable native WordPress shortcodes in form content.
  • Disable AJAX form submissions.
  • Disable default form CSS.
  • Disable automatic paragraph formatting.
  • Disable HTML5 input field types or enable the HTML5 input type fallback.
  • Specify the Google reCAPTCHA language.
  • Store form submissions in Storage for Contact Form 7 or TablePress.

Please note that some settings work on the per-page level and will apply to all forms on the same page. For example, disabling AJAX form submissions for one form will disable AJAX submissions on all forms on the same page.

Requirements

  • Contact Form 7 version 4.3 or later for features related to submission tracking and redirects.

Usage

The plugin adds a new “Controls” tab for each Contact Form 7 form in the WordPress administration area.

Form Submission Storage

Setup the official companion plugin Storage for Contact Form 7 plugin for capturing the form submissions safely in the WordPres database.

Alternatively, there is also a basic integration with the TablePress plugin. Select the TablePress table where to store the form submissions. The plugin will add any missing columns for each form field, and append the form entries as rows to the table. Additionally, fields cf7_time (submission time as ISO 8601) and cf7_url (URL where the form was submitted) are stored along with the form data.

Analytics Tracking

The plugin automatically triggers analytics events for the following services:

It passes the following data with the event:

  • “Contact Form” as the event category,
  • “Submit”, “Sent”, “Error” or “Spam” as the event action, and
  • the form title as the event title.

Facebook Pixel

The standard Contact event is used for Facebook Pixel with content_category property set to the event type (Submit, Sent, Error, Spam) and content_name set to the form title.

Contribute

From your WordPress dashboard

Search for “Controls for Contact Form 7” under “Plugins” “Add New” in your WordPress administration panel.

Using Composer

Add it as a Composer dependency:

composer require kasparsd/contact-form-7-extras
  1. Google Analytics events associated with form submissions.

    Google Analytics events associated with form submissions.

  2. Facebook Pixel "Contact" event associated with form submission.

    Facebook Pixel "Contact" event associated with form submission.

  3. Controls for Contact Form 7 plugin settings.

    Controls for Contact Form 7 plugin settings.

How to save Contact Form 7 submissions in the WordPress database?

The “Storage for Contact Form 7” plugin stores all contact form submissions (including attachments) securely in the WordPress database. It also provides a CSV export of the form entries.

Perfect!

By traceyweb (artisanweb) on March 8, 2020

I spent ages looking for a solution to add a redirect after submission and then found this plugin. Saves a lot of time and no need to add javascript or edit the functions file.

Redirection AND saving of data to flamingo WORKS

By VST (vstars) on February 4, 2019

Redirection AND saving of data to flamingo WORKS This is amazing. THANK YOU!

Love to see Autocomplete Setting

By kodeo on September 17, 2018

Very useful plugin! I would love to see an Autocomplete Option to turn Autocomplete OFF for ALL forms. By default fields have Autocomplete ON. Although it's possible to change it by field attribute, I'd found it easier to have a global settings to disable Autocomplete for all forms.

Great addition to CF7

By Sandy Janas (apjanas) on December 4, 2017

Following the removal of the on_sent_ok hook from CF7, I've tried several plugins to perform redirection following form submission, and this is the only one I've found that works reliably with all browsers. And it has other useful features. 5 stars.

great plugin - simple and what I needed

By daysleeperlv on October 15, 2017

I needed small adjustments to existing CF7 plugin and I got what I needed, thanks 🙂

Must have add-on

By Innevolution on March 31, 2017

This is a great and easy to use add-on for contact form 7 users!

Fixes the ReCaptcha language issue

By nickvi on March 30, 2017

Works great! Only working solution I could find to properly set the ReCaptcha language (as auto-language detect is generally useless on a multi-language site).

Works Great!!

By dxladner on March 21, 2017

Works Great!!! Having issues with the Contact 7 Form sample code. Found this plugin which creates easy functionality. Thanks for making our lives easier!!

ReCaptcha language

By Vane (vanetreg) on December 11, 2016

I use plugin for setting ReCaptcha language, that works great!

Perfect for multilanguage forms

By terrimorgan on October 2, 2016

Contact form 7 doesn't offer language support for recaptcha. Neither WordPress (forced language setting) nor Polylang detect it. This is the perfect solution. Super-easy to set the language for recaptcha.

See the release notes for the complete changelog.

  • Version:Version: 0.10.0
  • Active installs:Active installs: 10K
  • Last updated:Last updated: 8 months ago
  • Requires:Requires: 4.6
  • Tested:Tested: 6.7.2
Average rating:5 out of 5 stars.
  • Number of ratings: 13 ratings
  • Number of ratings: 0 ratings
  • Number of ratings: 0 ratings
  • Number of ratings: 0 ratings
  • Number of ratings: 0 ratings
Back to top