Bussarin / stock.adobe.com
Mailchimp is a marketing campaign tool that allows users to manage their email subscribers easily. Mailchimp’s marketing functionality is for more than just emails, though, and integrating it with your WordPress site can result in streamlined marketing for your business.
If you’ve been paying attention to the WP Buffs blog, then you’ve seen MailChimp for WordPress (MC4WP) mentioned as one of our top WordPress email plugins. We will walk you through how to use Mailchimp with WordPress using the Mailchimp for WordPress Plugin and traditional code.
MC4WP: MailChimp for WordPress
Mailchimp for WordPress is a plugin that can be added to your WordPress website to connect with Mailchimp, better manage your marketing campaigns, and add users from your websites straight to Mailchimp’s lists.
MC4WP allows users to add forms and custom signup methods for Mailchimp to your WordPress site. Users will need controlling access to a Mailchimp account to get started.
Set Up a Mailchimp Account
To use Mailchimp for WordPress, you must sign up for a Mailchimp account. New users can register on the Mailchimp website, opting for a free or paid version.
If you’ve already got a Mailchimp account confirmed and ready to go, you can log in and skip ahead to the next section.
Before Signing Up for Mailchimp
What you will need for the signup process:
- A browser that meets minimum requirements for Mailchimp to work correctly.
- An email address to be used as the primary communication method with your account.
- A unique Mailchimp username.
- A physical mailing address to be in all emails (can be a P.O. Box).
- Though not required to sign up, a credit card is the only payment accepted for subscription plans and add-ons.
Using Mailchimp to spam end users is against their regulations, and suspicion of spam activities will result in account suspension.
Sign Up for a Mailchimp Account
Creating a Mailchimp account is very simple:
- Visit Mailchimp to sign up for an account.
- Enter your email, a unique username, and password, and then click “Sign Up.”
Note: Emails that start with role-based names like “admin” or “security” get automatically blocked from signing up with Mailchimp.
- Successful registration will display a confirmation message and send an activation email to the email you entered.
- Check your email for the account activation message from Mailchimp.
Note: check your spam folder and review Mailchimp’s activation email troubleshooting tips for more ideas.
Confirm Your Mailchimp Account
Before Mailchimp allows you to use all its features, you must confirm your email address and complete account activation.
- Locate the account activation email from Mailchimp and open it
- Click the “Activate Account” link in the email and allow it to open your browser
- Mailchimp will require you to prove your humanity with a button click to complete the setup.
Suppose you use the Mailchimp application or integrate with WordPress without confirming your email. In that case, you may run into functionality issues that are not explained clearly, including the inability to connect Mailchimp for WordPress to your Mailchimp account.
Mailchimp Account Setup
The first time logging in to Mailchimp, a prompt will have you answer basic questions to complete the setup. The information Mailchimp requires includes:
- Name (for your profile that can access multiple Mailchimp accounts)
- Email Address to contact you at
- Company or Organization Details for content assistance (and targeted ads)
- Website URL
- A physical address is legally necessary for any email sent (can be a P.O. Box)
Take a peek at their signup process to learn more about how Mailchimp uses your information.
Confirm Your Mailchimp Plan
Mailchimp automatically starts everyone off on the Free version, and a free plan is all you need to connect your Mailchimp account to your Mailchimp for WordPress Plugin. If you seek a specific functionality from Mailchimp not available in the Free option, you may need to consider a Mailchimp paid plan.
Create an Email List in Mailchimp
If you did not create or import an email list during setup, you need to create new email lists for your marketing campaigns.
How to Use MailChimp with WordPress Plugin
Before you can use the MC4WP plugin, it needs to connect to your Mailchimp account. Like many plugins, a connection to an external application like Mailchimp uses an API key.
An admin account can set up a Mailchimp account with your WordPress site several ways, but every method requires the use of a Mailchimp API Key.
Create a Mailchimp API Key
You will need to log in to your Mailchimp account to access the area where you create and manage your API Keys.
- With a successful log-in, go to Account > Extras > API Keys.
- Create a New API Key or copy an existing API Key.
- Copy the API Key for your WordPress site or keep this information handy.
Once connected, the API Keys area of Mailchimp will also be where you confirm your connection status to your WordPress site. You can also toggle off the API Key or create other types of Keys for development.
Use the API Key to Connect Mailchimp to WordPress
There are two ways to add the Mailchimp API Key to your WordPress website. If you are not a developer or still getting comfortable with editing code, it is easier to use the Mailchimp for WordPress plugin to set the API.
Add the Mailchimp API Key to the Mailchimp for WordPress Plugin
To configure the plugin on your website to communicate with Mailchimp, you must access the WordPress admin control panel.
- Log in to your WordPress admin dashboard.
- If you haven’t already done so, add the Mailchimp for WordPress plugin MC4WP and activate it.
- Open MC4WP and enter your API key in the input field.
Adding the Mailchimp API Key add a PHP Constant
If you are comfortable altering the code of your website, you also have the option to define a Mailchimp API through the definition of the MC4WP_API_KEY PHP Constant.
define(‘MC4WP_API_KEY’, ‘your-api-key-here’);
The PHP Constant needs defining in a loaded area like your functions.php file. If you’re unfamiliar with editing a functions.php file, see our Beginner’s Guide on how to Edit Functions.php in WordPress.
Create or Add Signup Forms to Your WordPress Website
There are essentially three types of Mailchimp signups to create and add to your WordPress site, and those include a popup, an inline-block, and sidebar signup. The signup form style best for your site will depend on your marketing and user experience goals.
Without a paid subscription, you get limited to using the Mailchimp block or custom code. Code Snippets can be accessed using HTML blocks in the visual builder. Mailchimp offers the opportunity to create a form on their site and copy and paste the form code into your WordPress blocks for use.
Mailchimp Forms
Before you can sign users up for marketing communications, a form is required to collect their information. Mailchimp comes with some mobile-optimized default forms, and admins can update form fields to match your preferred labels.
Mailchimp forms are single opt-in by default. People who subscribe using your forms get immediately added to the Mailchimp list.
Double opt-in signup through Mailchimp requires email verification before users get automatically added to a list. The double opt-in is especially handy for websites with many unsubscribes, complaints, or bounces.
Add a Mailchimp Signup in a Popup
Mailchimp has the functionality to be used in a popup window. If you want your guests to get a popup invitation related to a Mailchimp campaign,
Where to Paste MailChimp Popup Code
Mailchimp offers additional functionality through the use of code snippets. For code snippets to work correctly, they will need to be in a file that gets loaded, like a theme’s functions.php file or a specified code block.
Add an Inline Mailchimp Signup
WordPress.com offers a free Mailchimp block in the default visual block editor. You can add the Mailchimp block to any post or page by selecting it from the list of available blocks.
Some plugins also have a built-in Mailchimp visual block, such as Jetpack version 7.1 or higher. Any plugin that offers integration with Mailchimp through WordPress is accessing your Mailchimp API Key to help build your pages and run your campaigns.
Add a Mailchimp Sidebar or Footer Signup
The sidebar and footer can house various widgets for custom work in a standard WordPress theme. To use a custom Mailchimp signup in one of these areas, create a dedicated “Mailchimp for WP Form” widget.
A developer can build a custom widget using the Mailchimp API Key created, or developers can save time using the “Mailchimp for WordPress” plugin.
- Log in to your WordPress Admin dashboard and ensure the MC4WP plugin is active.
- Navigate to Appearance > Widgets and select Mailchimp for WP Form widget.
- Drag the widget into the desired widget area.
- Select the form you would like to use from your Mailchimp options and give it a unique Title.
- Save your changes
Your form should be visible in the sidebar where it is present. If you want to customize or create a unique format, you can edit the signup forms in the MailChimp For WordPress form settings.
Creating Custom Style for Mailchimp Signup Forms
If you want to customize your Mailchimp forms in WordPress, Mailchimp provides a reference table of CSS Selectors to call. If your visual builder has issues overwriting the form code, you may need to add custom code to your site that calls the CSS Hooks.
If there is an absolute need to use custom style code, it may be best to code your forms from scratch or have a professional from WP Buffs do it for you.
MailChimp WordPress Plugins
In addition to Mailchimp integrating with WordPress directly, several plugins are available to automate your marketing with your website.
The MC4WP plugin has base forms available for use, but WordPress also allows the environment to integrate with the following plugins:
- Default WordPress Forms
- Contact Form 7
- WooCommerce
- Gravity Forms
- Ninja Forms 3
- WPForms
- BuddyPress
- MemberPress
- Events Manager
- Easy Digital Downloads
- Give
- UltimateMember
It also offers the following add-ons and integrations:
- Google reCAPTCHA
- WPBruiser anti-spam
- Mailchimp for WordPress Premium
- Mailchimp Top Bar
- Mailchimp ACtivity
- Boxzilla Pop-ups
More on Managing Email Campaigns from WP Buffs
Mailchimp can go even further with automation programs like Zapier or in the hands of a quality WordPress developer. Access to an API Key will give a good developer the ability to automate a large portion of your marketing campaigns.
Developers and programs can access that API to integrate your favorite plugins and programs.
If you would like to hear more from our experts about email deliverability, open rates, and personalization from the WP Buffs, listen to our Podcast with special guest Rene Morozowich to do just that. You can also subscribe to our newsletter to keep updated on the latest from WP Buggs.
If WP Buffs has caught your attention and you’re interested in finding out more about our WordPress services, contact us. Our team of skilled professionals can decrease the stress around growing your online presence.
Frequently Asked Questions
How Do I Use MailChimp in WordPress?
If you are struggling with how to use mailchimp with wordpress, all you need is a Mailchimp account and WordPress website. With a successful Mailchimp account creation, you can connect it to your WordPress site using the Mailchimp API Key, the WordPress admin dashboard, and some development or the Mailchimp for WordPress plugin (MC4WP).
Can You Connect WordPress to MailChimp?
WordPress connects to Mailchimp using a Mailchimp API Key created using Mailchimp. Even after you install Mailchimp for WordPress or make use of built-in Mailchimp blocks, it requires a unique API Key created from your Mailchimp account to work.
Is MailChimp free with WordPress?
Mailchimp and WordPress are separate companies that control unique products. Mailchimp’s starter account is at no cost to everyone, as is the use of the WordPress web development platform. The Mailchimp for WordPress (MC4WP) plugin is free and can easily connect the Mailchimp services to your WordPress website.
Is MailChimp a plugin for WordPress?
Mailchimp is a marketing software used with WordPress to streamline your website marketing campaigns. Mailchimp can be connected with WordPress using a variety of plugins, but the most popular option is to use Mailchimp for WordPress (MC4WP). MC4WP is a free WordPress plugin that makes connecting your Mailchimp account and your WordPress websites quick and easy.