The Mailchimp Site Tracking Pixel lets Mailchimp track visits to your WordPress site. When enabled in Mailchimp for WordPress, the plugin loads Mailchimp’s tracking script on your public site. It also identifies subscribers after they successfully sign up through one of your forms.
You can use this data in Mailchimp for automations, segmentation, and activity-based targeting.
Requirements
Before enabling Site Tracking, make sure you have:
- Mailchimp for WordPress version 4.12.2 or newer.
- A valid Mailchimp API key configured under MC4WP > Mailchimp.
- A Mailchimp account with access to Site Tracking / Connected Sites.
Enable Site Tracking
To enable the Mailchimp Site Tracking Pixel:
- In your WordPress admin, go to MC4WP > Other.
- Find the Site Tracking Pixel section.
- Enable Site Tracking.
- Save the settings.
When you save the setting, the plugin will try to find an existing Mailchimp Connected Site for your current domain. If it cannot find one, it will register your site in Mailchimp.
After a successful connection, the settings page will show a Connected Site ID.
What the plugin adds to your site
When Site Tracking is enabled, the plugin loads Mailchimp’s tracking script on all frontend pages of your WordPress site. The script is loaded from Mailchimp’s chimpstatic.com domain and is enqueued with WordPress’ deferred script loading strategy.
The plugin only loads the script when both of these are stored in the plugin settings:
- A Connected Site ID.
- The tracking script URL returned by Mailchimp.
If either value is missing, the tracking script is not loaded.
Subscriber identification
The plugin also identifies subscribers to Mailchimp after a successful form sign-up.
When someone subscribes through a Mailchimp for WordPress form, the plugin captures the submitted email address during the same request. In the page footer, it then calls Mailchimp’s pixel API with that email address.
This only happens after a successful form subscription. The plugin does not output the identify call on regular page views where no subscription happened.
Reconnect the tracking pixel
If your domain changed, your Mailchimp Connected Site was removed, or the stored site data no longer works, you can reconnect the pixel.
Go to MC4WP > Other and click Re-connect next to the Connected Site ID. The plugin will run the connection process again and store the new Connected Site ID and script URL.
Disable Site Tracking
To disable Site Tracking:
- Go to MC4WP > Other.
- Disable Site Tracking.
- Save the settings.
When disabled, the plugin clears the stored Connected Site ID and script URL. It will no longer load Mailchimp’s tracking script or identify subscribers through the pixel.
Troubleshooting
If the setting does not stay enabled, the plugin was not able to connect your site to Mailchimp. Check the following:
- Your Mailchimp API key is configured under MC4WP > Mailchimp.
- Your server can connect to the Mailchimp API.
- Your Mailchimp account has access to Connected Sites.
- The plugin debug log does not show a Mailchimp API error.
For general API connection issues, see solving connectivity issues with Mailchimp.