WordPress.org

Plugin Directory

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

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

描述

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, Global Site Tag (gtag.js), Matomo (formerly Piwik) and Facebook Pixel.
  • Redirect to URL on form submission
  • 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

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 “Customize” tab for each Contact Form 7 form in the WordPress administration area.

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

屏幕截图

  • Google Analytics events associated with form submissions.
  • Facebook Pixel “Contact” event associated with form submission.
  • Controls for Contact Form 7 plugin settings.

安装

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

Alternatively, add it as a Composer dependency:

composer require kasparsd/contact-form-7-extras

常见问题

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.

评价

2020 年 3 月 8 日
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.
2018 年 9 月 17 日
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.
2017 年 12 月 4 日 1 回复
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.
阅读所有13条评价

贡献者及开发者

“Controls for Contact Form 7 (Redirects, Analytics & Tracking)” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

「Controls for Contact Form 7 (Redirects, Analytics & Tracking)」插件已被翻译至 2 种本地化语言。 感谢所有译者为本插件所做的贡献。

将“Controls for Contact Form 7 (Redirects, Analytics & Tracking)”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

See the release notes for the complete changelog.