WPThumbs
Themes Plugins By purpose By industry Best-of lists Fix it guides
Free Plugin by Kuba Serafinowski v1.1.1

Tracking for Divi

Track successful Divi contact form submissions with dataLayer events, Google Analytics, and Google Ads conversions.

Tracking for Divi

The facts

Active installs
100+
Price
Free
Last updated
4 Mar 2026
Added
Mar 2026
Requires WP
5.3
Tested up to
WP 6.9.7
Requires PHP
7.4
Downloads
816

Our analysis

AI-assisted

Tracking for Divi is a WordPress plugin designed to enhance tracking capabilities for the built-in contact form in the Divi theme. It addresses the limitation where form submission events are triggered even with validation errors or server issues, providing a more accurate way to track successful submissions.

The plugin listens to network communication and offers three tracking options: a dataLayer event, a Google Analytics 4 event, and a Google Ads conversion. Users can customize event names and dataLayer variables, allowing for tailored tracking according to their needs.

Best for: This plugin suits users of the Divi theme who want to accurately track contact form submissions.

What it does well

  • Enhances tracking for Divi's contact form
  • Offers multiple tracking options including Google Analytics and Google Ads
  • Customizable dataLayer variable and event names
  • Addresses issues with inflated event counts

Where it falls short

  • Limited information available on plugin performance and user feedback

Verdict

Tracking for Divi provides a solution for more precise tracking of form submissions, making it useful for Divi users focused on analytics.

From the developer

Kuba Serafinowski's own description of Tracking for Divi, lightly tidied.

Ever wanted to track the built-in contact form from Divi? If you tried using Google Tag Manager’s built-in form submit events to do it you probably noticed an inflated number of events flowing.

This is because the form submission event is triggered even if there are form validation errors or the server returns another error.

Since Divi doesn’t provide any JavaScript events to hook into there is no straightforward way to find out if a message has actually been sent.

To get around this, this plugin listens to the network communication that is happening underneath. It’s based on the same mechanism Divi itself uses.

There are three options now:

  1. a dataLayer event
  2. a Google Analytics 4 event (using gtag.js)
  3. a Google Ads conversion (also using gtag.js)

You can use either one of them or event all of them together.

You’ll be able to customize the dataLayer variable if you’re not using the standard naming, and the event names, separately for dataLayer and gtag.

Data layer reporting

The structure of the object pushed to the dataLayer is the following, with the default naming:

{
  event: "contact_form_submit",
  formId: string,
  postId: number,
  formData: {
    name: string,
    email: string,
    message: string,
  },
  allFormData?: Record<string, unknown>, // when "Include all form data" is enabled
}

It’s up to you to use or discard the form data.

Google Analytics 4 reporting

The Google Analytics event is sent with flattened parameters:

gtag(
  "event",
  "contact_form_submit",
  {
    form_id: "divi/contact-form-0",
    name: "John",
    email: "john@example.com",
    message: "Hello",
    // additional fields when "Include all form data" is enabled
  }
);

Form data (name, email, message) is included by default. When “Include all form data” is enabled, all form fields are flattened into the event parameters.

Read the full description on the official page →

Tagged as

Alternatives

Other plugins for measuring traffic.

Under Construction

Easy to use Under Construction Page &amp; Coming Soon Page. Enable Under Construction Mode in seconds &amp; sh...

Free 600k+ installs 4.8★ (1,285)
Ad Inserter

Manage Google AdSense ads, banners, ad rotation, sticky widgets, AMP ads, ads.txt, tracking, header and footer...

Free 300k+ installs 4.9★ (2,428)
MonsterInsights

The best free Google Analytics plugin for WordPress. See how visitors find and use your website so you can gro...

Free 2M+ installs 4.5★ (3,148)
Maintenance

Great looking maintenance, coming soon &amp; under construction pages. Put your site under maintenance in minu...

Free 1M+ installs 4.4★ (860)
Header Footer Code Manager

Easily add tracking code snippets, conversion pixels, or other scripts required by third party services for an...

Free 600k+ installs 4.9★ (309)
GA Google Analytics

Adds Google Analytics tracking code to your WordPress site. Supports many tracking features.

Free 400k+ installs 4.9★ (158)