sandywp / plugins / mailchimp

Mailchimp List Subscribe Form

2.6 out of 5 stars. 2.6 77 reviews

Add a Mailchimp signup form block, widget, or shortcode to your WordPress site.

Launch a sandbox with this plugin → No signup.
Ready in seconds.

v2.1.0 60,000+ installs WP 6.6+ PHP 7.4+

your-sandbox.sandywp.com/wp-admin
Mailchimp List Subscribe Form running inside a SandyWP sandbox

What you get inside

8 screens
  • Mailchimp List Subscribe Form block within the block inserter.

  • Mailchimp Block default state.

  • Mailchimp List Subscribe Form block previewing sign up form headers, fields, and button.

  • Connecting your Mailchimp account to WordPress via OAuth.

  • Logged in to your Mailchimp account and selecting a list to connect to.

  • Configuring extra fields on your Signup Form (optional).

  • Creating a new Mailchimp account.

  • Configuring user synchronization settings.

About this plugin

Use the Mailchimp List Subscribe plugin to quickly add a Mailchimp signup form block, widget, or shortcode to your WordPress site.

After installation, if you already have a Mailchimp account, you’ll log in with that account and then proceed to configure settings.

If you don’t have an account, you can create one directly in the plugin. After entering in all your personal details, you’ll need to activate your account via an email that will be sent to you. Once done, you’ll proceed to configure settings.

On the settings screen, you’ll select your Mailchimp list, choose merge fields and groups, and configure other options. Once done, you can now add the block, widget, or shortcode ([mailchimpsf_form]) to your site. Typically, installation and setup will take about 5-10 minutes, and absolutely everything can be done via the WordPress Setting GUI, with no file editing at all.

WordPress.com compatibility is limited to Business tier users only. How to add a signup form if you have a WordPress.com site.

Access Token Encryption

Starting in version 1.6.0, authentication has changed to use OAuth. As part of this process, we retrieve an access token that can be used to make API requests. To provide a high-level of security, this access token is encrypted before being stored in the WordPress database. In order to ensure this access token can be decrypted when used, the plugin relies on certain security constants that should remain unchanged.

With no additional configuration, we use the standard LOGGED_IN_KEY and LOGGED_IN_SALT constants that are normally set in your site’s wp-config.php file. Some sites make use of security plugins that rotate these constants on a periodic basis. When this happens, we won’t be able to decrypt the access token and you’ll need to reconnect your Mailchimp account to generate a new access token.

To prevent such issues, it is recommended to define two additional constants in your site’s wp-config.php file: MAILCHIMP_SF_ENCRYPTION_KEY and MAILCHIMP_SF_ENCRYPTION_SALT. These constants should consist of a combination of characters, preferably at least 32 characters long. Once set, these values should not be changed. For strong values, you can copy some of the values from here and use them. You’ll end up with additional code like the following in your wp-config.php file:

define( 'MAILCHIMP_SF_ENCRYPTION_KEY', 'put your unique phrase here' );
define( 'MAILCHIMP_SF_ENCRYPTION_SALT', 'put your unique phrase here' );

If these constants are added after you’ve already authenticated with Mailchimp, you will need to reconnect your account. To avoid this, you can copy the values from LOGGED_IN_KEY and LOGGED_IN_SALT (if they exist) to MAILCHIMP_SF_ENCRYPTION_KEY and MAILCHIMP_SF_ENCRYPTION_SALT respectively.

Upgrading

If you are upgrading to version 1.2.1 and you used the widget in your sidebar previously, all you need to do is drag the Mailchimp Widget back into the sidebar, visit the Mailchimp settings page (which will have maintained your prior settings), click the “Update List” button, and you’re done!

Questions

Why am I not seeing all my fields in my form?

You need to ensure that the fields are enabled both in your Mailchimp account (Audience > Signup forms) and in the settings of this plugin. Once the fields are enabled in both places, then they’ll appear in the editor and frontend of your site.

How can I translate “MailChimp List Subscribe Form”?

Internationalization (i18n) is available on GlotPress at https://translate.wordpress.org/projects/wp-plugins/mailchimp/. Any assistance translating the plugin is greatly appreciated!

2.6

77 reviews

  • 5 ★ 18
  • 4 ★ 11
  • 3 ★ 6
  • 2 ★ 10
  • 1 ★ 32

Ratings come from WordPress.org. SandyWP does not collect its own reviews.

sandywp / also on the shelf

Try another plugin

Spin up a real WordPress site in seconds.

Test plugins, build a demo, hand a client a link — then squash it and start again. No local setup, no Docker.