If you are using Mailchimp for managing your mailing lists, our WordPress plugin, WP Google Analytics Events Pro, can help you track signups on your website.
There are two ways to integrate Mailchimp’s sign up forms in WordPress:
1. Embed the supplied form in your theme code / widget
2. Use a plugin
I will show you how to enable tracking sign ups using the embed code and the “MailChimp List Subscribe Form” plugin.
Tracking Mailchimp newsletter sign ups with an embedded form
If you used the embedded code editor and included it in your theme or a widget, the submit code will be:
<input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button">
The Id is set to mc-embedded-subscribe so we will use it to create the event
Using the Mailchimp List Subscribe Form plugin
The plugin submit button looks like this:
<input type="submit" name="mc_signup_submit" id="mc_signup_submit" value="Subscribe" class="button">
Which means that the Id that we need to grab is set to mc_signup_submit
From now on, each signup will trigger an event in Google Analytics. This could be used as a goal completion setting for better funnel tracking.