Track succesfull form submissions with Contact Form 7 using DOM events
As of April 2026, Submission DOM tracking for Contact Form 7 is a WordPress form plugin with 500 active installations and a 5/5 rating from 1 reviews. It has been downloaded 12K+ times in total. Requires WordPress 4.0.1+ and PHP 5.5+. Available on WordPress.org since 2017. Recently updated within the last 3 months. Top alternative: MC4WP: Mailchimp for WordPress.
The “on_sent_ok” and its sibling setting “on_submit” of the Contact Form 7 plugin are deprecated and scheduled to be abolished by the end of 2017. The recommended alternative to on_sent_ok is using DOM events (More info: on_sent_ok Is Deprecated). This plugin helps to set these DOM events to track form submissions (Google Analytics event, Google Analytics page view and Facebook pixel).
You can also hide the form after correct submission and deregister the Contact Form 7 styles and JavaScript on pages without forms.
Please note that this plugin does not work with Google Analytics v4.
This plugin tracks succesfull form submissions with Contact Form 7 using DOM events. You can track the form submissions as Google Analytics Event, as G…
| WordPress | 4.0.1+ requiredTested up to 6.9.4 |
| PHP | 5.5+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.