How to Track WooCommerce Forms data in Google Analytics Tracking?

Turning on Form Tracking sends a Form  event to GA4 whenever a visitor submits a form on your site, so you can see how many form submissions you're getting and which form they came from.

The plugin automatically recognizes forms built with Contact Form 7, WPForms, Formidable Forms, Mailchimp for WP, Gravity Forms, Caldera Forms, and Ninja Forms. For any other form, you can label it manually with a hidden field.

Benefits

Enabling Form Tracking can help:

  • See how many leads or inquiries your contact forms are actually generating
  • Tell which form plugin or form a submission came from, without checking each plugin's own reports
  • Label your own custom forms so they show up clearly in GA4 too

How It Works

The plugin listens for clicks on a form's submit button. Based on the form's markup, it identifies which plugin built it, Contact Form 7, WPForms, Formidable Forms, Mailchimp for WP, Gravity Forms, or Caldera Forms, and sends a Form  event labeled with that plugin name and form ID. Ninja Forms works a little differently: it tracks the actual submission response rather than the button click.

A few things worth knowing:

  • WooCommerce's own forms are excluded. Cart, checkout, shipping calculator, coupon, login, register, password reset, search, and comment forms aren't tracked here, they already have their own dedicated events elsewhere in the plugin (like begin_checkout , sign_in , sign_up , or comment tracking).
  • This tracks the submit click, not a confirmed successful submission, except for Ninja Forms, which tracks the actual submission response.

How to Enable Form Tracking

Step 1: Open Additional Tracking

Go to Ecommerce Tracking → Tracking Configuration and open the Additional Tracking section under Tracking Configuration.

Step 2: Turn on Form Tracking

Turn on Form Tracking.

Step 3: Label custom forms (optional)

For forms not built with one of the recognized plugins, add this hidden field inside the form so the plugin can label it clearly in GA4:

<input type="hidden" name="aet_form" value="Enter your form name"/>

Step 4: Save your settings

Save your changes. Submissions on recognized and labeled forms are tracked automatically from this point on.

Viewing This Data in GA4

Go to GA4 → Reports → Engagement → Events and look for Form. Click into it to see submissions broken out by form (via the event category, e.g., "Contact Form 7 : Form ID - 123") and the page they were submitted from.

Example Use Cases

Measuring lead generation: If your contact page uses Contact Form 7 or WPForms, enable this to see submission volume alongside the rest of your GA4 data.

Tracking a custom-built form: If your theme or a custom plugin renders its own form, add the aet_form  hidden field so it's identified clearly instead of showing up unlabeled.

Conclusion

Form Tracking gives you visibility into form activity across your most popular form plugins, without needing each plugin's own reporting. Turn it on, label any custom forms with the aet_form  field, and submissions start showing up in GA4 as Form  events.

FAQs

1. Which form plugins are recognized automatically?

Contact Form 7, WPForms, Formidable Forms, Mailchimp for WP, Gravity Forms, Caldera Forms, and Ninja Forms.

2. Are WooCommerce's own forms tracked here, like checkout or login?

No. Those already have their own dedicated tracking events (checkout, sign-in, sign-up, search, comments) and are intentionally excluded from Form Tracking to avoid duplicate events.

3. How do I track a form that isn't from a recognized plugin?

Add <input type="hidden" name="aet_form" value="Enter your form name"/>  inside the form so it's picked up and labeled correctly.

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.