How to Track Mailchimp for WordPress For ...

How to Track Mailchimp for WordPress Form Submissions Using Google Tag Manager, GA4 & Goog

Dec 10, 2025

image

If you’re using the Mailchimp for WordPress (MC4WP) plugin to collect leads, there’s one thing you can’t ignore:

👉 If your forms aren’t tracked properly, your marketing decisions are blind.

I see this all the time—businesses running ads, collecting leads, but having zero reliable data in GA4 or Google Ads. The good news? Tracking MC4WP forms isn’t hard. You just need the right event listener + a clean GTM setup.

Today, I’ll walk you through the full process in a simple, practical way.


🚨 Why This Matters

Marketing dies without clean data. If your Facebook Ads, Google Ads, or GA4 aren’t receiving accurate form submission events, your:

  • Optimization suffers

  • CPC goes up

  • Retargeting audiences shrink

  • And your ROI tanks

A simple event listener fixes all of that.


🔧 Why You Need to Track MC4WP Forms

Tracking your Mailchimp for WordPress forms allows you to:

  • Measure real conversions

  • Optimize campaigns with real data

  • Build retargeting audiences

  • Improve lead quality

  • Reduce wasted ad spend

And most importantly—you actually know which campaigns are bringing in results.


Step-by-Step: Track Mailchimp for WordPress Forms in GTM

1️⃣ Add the Event Listener Script in Google Tag Manager

Create a Custom HTML tag in GTM. Paste this script:

<script type="text/javascript">
//fired if form is submitted successfully
mc4wp.forms.on('success', function(form) {
window.dataLayer.push({
"event": "MailchimpFormSuccess",
"formID": form.id,
"formName": form.name
});
});
//fired if form is used to subscribe
mc4wp.forms.on('subscribed', function(form) {
window.dataLayer.push({
"event": "MailchimpFormSubscribed",
"formID": form.id,
"formName": form.name
});
});
//fired if form is submitted with errors
mc4wp.forms.on('error', function(form) {
window.dataLayer.push({
"event": "MailchimpFormError",
"formID": form.id,
"formName": form.name
});
});
//fired if form is used to unsubscribe
mc4wp.forms.on('unsubscribed', function(form) {
window.dataLayer.push({
"event": "MailchimpFormUnsubscribed",
"formID": form.id,
"formName": form.name
});
});
//fired once user starts filling in a form
mc4wp.forms.on('started', function(form) {
window.dataLayer.push({
"event": "MailchimpFormStarted",
"formID": form.id,
"formName": form.name
});
});
</script> 

Set the trigger to:

DOM Ready (recommended) or All PagesThis ensures the listener loads after the page content.


2️⃣ Create Custom Event Triggers in GTM

You’ll create triggers for each event:

  • MailchimpFormSuccess

  • MailchimpFormSubscribed

  • MailchimpFormError

  • MailchimpFormUnsubscribed

  • MailchimpFormStarted

These will be used to fire your marketing tags.


3️⃣ Capture Form Details in GTM

Create Data Layer Variables:

  • formID

  • formName

This helps you send detailed data into GA4, Ads, Meta Pixel, etc.


How to Send Events to Google Analytics 4 (GA4)

Create a GA4 Event tag with:

  • Event name: mailchimp_form_submit

  • Parameters:

Trigger the tag on: 👉 MailchimpFormSuccess

Now your leads show up clearly in GA4.


🎯 How to Send Form Conversions to Google Ads

You need two things:

1. A Google Ads Conversion Action

Create a new conversion in Google Ads: Category: Submit Lead Form

2. GTM Tag

Use the Google Ads Conversion Tracking tag. Add your:

  • Conversion ID

  • Conversion Label

Trigger: 👉 MailchimpFormSuccess

This pushes real-time conversions into Google Ads, improving bidding and CPA.


Why This Setup Matters

After this setup you’ll be able to:

✔ Track every Mailchimp form submission

✔ Know which campaigns bring leads

✔ Optimize Google Ads based on actual conversions

✔ Build stronger remarketing audiences

✔ Improve your ROI without guessing

This is the type of tracking that separates guesswork from strategy.


💼 Want Help Implementing This?

If you want a professional setup for:

  • Mailchimp event tracking

  • GA4 configuration

  • Google Ads conversion tracking

  • GTM setup

  • Server-side tracking

  • Full analytics audit

I can handle the entire process for you.

You can view my work here: jobairmahmud.com

📩 If you want me to fix or set up your tracking, just send me a message. Happy to help you get clean, reliable data.

Enjoy this post?

Buy Jobair Mahmud (GTM,GA4,CAPI Expert) a coffee

More from Jobair Mahmud (GTM,GA4,CAPI Expert)