Title: Controls for Contact Form 7 (Redirects, Analytics &amp; Tracking)
Author: Kaspars
Published: <strong>Séptembor 13, 2014</strong>
Last modified: Novambor 10, 2026

---

Search plugins

![](https://ps.w.org/contact-form-7-extras/assets/banner-772x250.png?rev=1917847)

![](https://ps.w.org/contact-form-7-extras/assets/icon-256x256.png?rev=1917847)

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

 By [Kaspars](https://profiles.wordpress.org/kasparsd/)

[Download](https://downloads.wordpress.org/plugin/contact-form-7-extras.0.10.2.zip)

[Live Preview](https://rhg.wordpress.org/plugins/contact-form-7-extras/?preview=1)

 * [Details](https://rhg.wordpress.org/plugins/contact-form-7-extras/#description)
 * [Reviews](https://rhg.wordpress.org/plugins/contact-form-7-extras/#reviews)
 *  [Installation](https://rhg.wordpress.org/plugins/contact-form-7-extras/#installation)
 * [Development](https://rhg.wordpress.org/plugins/contact-form-7-extras/#developers)

 [Support](https://wordpress.org/support/plugin/contact-form-7-extras/)

## Description

**NEW:** Subscribe to the [🚀 PRO version](https://formcontrols.com/pro) for advanced
analytics and tracking features, and professional support by the plugin author.

This is an addon for the [Contact Form 7](https://wordpress.org/plugins/contact-form-7/)
plugin with the following features:

 * [Track form submissions, errors and completions](https://formcontrols.com/docs)
   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](https://preseto.com/go/cf7-storage?utm_source=wporg)
   or [TablePress](https://wordpress.org/plugins/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](https://wordpress.org/plugins/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](https://preseto.com/go/cf7-storage?utm_source=wporg)
for capturing the form submissions safely in the WordPres database._

Alternatively, there is also a basic integration with the [TablePress plugin](https://wordpress.org/plugins/tablepress/).
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](https://en.wikipedia.org/wiki/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:

 * [Google Analytics (GA4)](https://support.google.com/analytics/topic/14088998)
   using [Google Tag Manager](https://support.google.com/tagmanager/answer/9442095)
   and [Global Tag (gtag.js)](https://developers.google.com/tag-platform/gtagjs)
   with `ga()`, `_gaq.push()` and `dataLayer.push()` implementations,
 * [Matomo](https://matomo.org/) (formerly Piwik),
 * [Facebook Pixel Conversion Tracking](https://developers.facebook.com/docs/facebook-pixel/implementation/conversion-tracking).

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](https://developers.facebook.com/docs/facebook-pixel/implementation/conversion-tracking#standard-events)
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

 * Report issues and suggest improvements [on GitHub](https://github.com/kasparsd/contact-form-7-extras).
 * Add [a translation to your language](https://translate.wordpress.org/projects/wp-plugins/contact-form-7-extras).

## Screenshots

[⌊Google Analytics events associated with form submissions.⌉⌊Google Analytics events
associated with form submissions.⌉[

Google Analytics events associated with form submissions.

[⌊Facebook Pixel "Contact" event associated with form submission.⌉⌊Facebook Pixel"
Contact" event associated with form submission.⌉[

Facebook Pixel “Contact” event associated with form submission.

[⌊Controls for Contact Form 7 plugin settings.⌉⌊Controls for Contact Form 7 plugin
settings.⌉[

Controls for Contact Form 7 plugin settings.

## Installation

#### 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](https://packagist.org/packages/kasparsd/contact-form-7-extras):

    ```
    composer require kasparsd/contact-form-7-extras
    ```

## FAQ

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

The “[Storage for Contact Form 7](https://preseto.com/go/cf7-storage?utm_source=wporg)”
plugin stores all contact form submissions (including attachments) securely in the
WordPress database. It also provides a CSV export of the form entries.

## Reviews

![](https://secure.gravatar.com/avatar/5606e7cc4739531a572c76ccdf54cd8d05ed9ed062e63fac7ea8dfa0aba585a5?
s=60&d=retro&r=g)

### 󠀁[Perfect!](https://wordpress.org/support/topic/perfect-6962/)󠁿

 [traceyweb](https://profiles.wordpress.org/artisanweb/) Maarec 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.

![](https://secure.gravatar.com/avatar/ee5e2c652ee3d4f56c98e2a311be12ecda64f3b3703c2978c4f3ec68a0aa8575?
s=60&d=retro&r=g)

### 󠀁[Redirection AND saving of data to flamingo WORKS](https://wordpress.org/support/topic/redirection-and-saving-of-data-to-flamingo-works/)󠁿

 [VST](https://profiles.wordpress.org/vstars/) Februari 4, 2019

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

![](https://secure.gravatar.com/avatar/af18d0954c753cd7b844c6bc6d4c12044bbb7e5f805d1918a46bef898e355cda?
s=60&d=retro&r=g)

### 󠀁[Love to see Autocomplete Setting](https://wordpress.org/support/topic/love-to-see-autocomplete-setting/)󠁿

 [kodeo](https://profiles.wordpress.org/kodeo/) Séptembor 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.

![](https://secure.gravatar.com/avatar/31e534764fa15e1cfb33777225c269ad6d7155f60561206ed6c62f1c1ce7d254?
s=60&d=retro&r=g)

### 󠀁[Great addition to CF7](https://wordpress.org/support/topic/great-addition-to-cf7/)󠁿

 [Sandy Janas](https://profiles.wordpress.org/apjanas/) Disambor 4, 2017 1 reply

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.

![](https://secure.gravatar.com/avatar/45ee918348f147e9c1fb7c5728360e236ef6712ab062d5aef79b7f027e938945?
s=60&d=retro&r=g)

### 󠀁[great plugin – simple and what I needed](https://wordpress.org/support/topic/great-plugin-simple-and-what-i-needed/)󠁿

 [daysleeperlv](https://profiles.wordpress.org/daysleeperlv/) Oktubor 15, 2017

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

![](https://secure.gravatar.com/avatar/0072dc0f91fd2a9435f31567294504bed43c0be61b82d21fdc2e702f21ca5fd1?
s=60&d=retro&r=g)

### 󠀁[Must have add-on](https://wordpress.org/support/topic/must-have-add-on-2/)󠁿

 [Innevolution](https://profiles.wordpress.org/innevolution/) Maarec 31, 2017

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

 [ Read all 13 reviews ](https://wordpress.org/support/plugin/contact-form-7-extras/reviews/)

## Contributors & Developers

“Controls for Contact Form 7 (Redirects, Analytics & Tracking)” is open source software.
The following people have contributed to this plugin.

Contributors

 *   [ Kaspars ](https://profiles.wordpress.org/kasparsd/)
 *   [ Neil Murray ](https://profiles.wordpress.org/buzztone/)

“Controls for Contact Form 7 (Redirects, Analytics & Tracking)” has been translated
into 2 locales. Thank you to [the translators](https://translate.wordpress.org/projects/wp-plugins/contact-form-7-extras/contributors)
for their contributions.

[Translate “Controls for Contact Form 7 (Redirects, Analytics & Tracking)” into your language.](https://translate.wordpress.org/projects/wp-plugins/contact-form-7-extras)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/contact-form-7-extras/),
check out the [SVN repository](https://plugins.svn.wordpress.org/contact-form-7-extras/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/contact-form-7-extras/)
by [RSS](https://plugins.trac.wordpress.org/log/contact-form-7-extras/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 0.10.2

 * Security fix: only store the declared form-tag fields and neutralize Shortcode
   brackets in values stored in TablePress, preventing unauthenticated Shortcode
   injection into public table render output. Reported by [kta1kri](https://github.com/kta1kri)
   through responsible disclosure.

#### 0.10.1

 * Replace the Grunt build and deploy stack with `@wpelevator/wp-release`: npm scripts
   plus the Release PR flow (prepare-release, tag-release) and the `wp-release` 
   zips and WordPress.org deploys (deploy.yml). `grunt-wp-deploy` no longer keeps
   wp.org trunk in sync from master; trunk only gets readme updates, and tags are
   built from the release zip.
 * Pass the form error statuses (`validation_failed`, `acceptance_missing`, `spam`,`
   aborted`, `mail_failed`) as analytics event actions during the `wpcf7submit` 
   event, keep the dataLayer defined before pushing events, and rely only on the
   native Contact Form 7 JS event API (the legacy jQuery event support has been 
   removed).

See the [release notes](https://github.com/kasparsd/contact-form-7-extras/releases)
for the complete changelog.

## Meta

 *  Version **0.10.2**
 *  Last updated **3 din ago**
 *  Active installations **10,000+**
 *  WordPress version ** 4.6 or higher **
 *  Tested up to **7.1.4**
 *  Languages
 * [Chinese (Taiwan)](https://tw.wordpress.org/plugins/contact-form-7-extras/), 
   [English (US)](https://wordpress.org/plugins/contact-form-7-extras/), arde [Portuguese (Brazil)](https://br.wordpress.org/plugins/contact-form-7-extras/).
 *  [Translate into your language](https://translate.wordpress.org/projects/wp-plugins/contact-form-7-extras)
 * Tags
 * [analytics](https://rhg.wordpress.org/plugins/tags/analytics/)[contact form 7](https://rhg.wordpress.org/plugins/tags/contact-form-7/)
   [Facebook Pixel](https://rhg.wordpress.org/plugins/tags/facebook-pixel/)[gtm](https://rhg.wordpress.org/plugins/tags/gtm/)
   [matomo](https://rhg.wordpress.org/plugins/tags/matomo/)
 *  [Advanced View](https://rhg.wordpress.org/plugins/contact-form-7-extras/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  13 5-star reviews     ](https://wordpress.org/support/plugin/contact-form-7-extras/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/contact-form-7-extras/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/contact-form-7-extras/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/contact-form-7-extras/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/contact-form-7-extras/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/contact-form-7-extras/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/contact-form-7-extras/reviews/)

## Contributors

 *   [ Kaspars ](https://profiles.wordpress.org/kasparsd/)
 *   [ Neil Murray ](https://profiles.wordpress.org/buzztone/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/contact-form-7-extras/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://formcontrols.com/pro)