Connect or Disconnect Mailchimp E-Commerce for Drupal

If you use Ubercart or Drupal Commerce, you can connect the Mailchimp eCommerce for Drupal integration to sync your store with Mailchimp. Use purchase data to create targeted automations, measure your ROI, and more.

In this article, you'll learn how to connect Mailchimp eCommerce for Drupal.

Before You Start

  • To connect Mailchimp eCommerce for Drupal, you must have an active Drupal store.
  • Mailchimp eCommerce for Drupal supports both Drupal Commerce and Ubercart for Drupal 7 and Drupal 8.
  • This is an advanced feature recommended for users familiar with installing modules for Drupal 7 and Drupal 8. Contact your Drupal expert or developer if you need assistance.
  • To view the e-commerce features supported by this integration, visit the Drupal Commerce listing in your account.
  • This integration is compatible with our API version 3.0.

About Mailchimp eCommerce for Drupal

The Mailchimp eCommerce for Drupal integration allows you to install two modules in your Drupal 7 or Drupal 8 account and configure them to work with either Ubercart or Drupal Commerce. After you connect the integration, we'll sync your customers and existing product information to a Mailchimp audience. When a customer completes a new order, the completed order and totals are synced as well. You can do a lot with the data you collect, like build segments, send automations, track campaign purchases, and view results.

Sell More Stuff with Mailchimp

Task RoadMap

Here's a brief overview of the multi-step installation process.

Install Modules

  • Download, install, and configure the Mailchimp module and Mailchimp E-Commerce module in your Drupal account. This process varies based on the version of Drupal you use.

Connect and Configure

  • Add a Mailchimp API key to your Drupal account.
  • Create a store and connect it to your Mailchimp account.
  • Sync your Drupal purchase data to your Mailchimp account.

Install Modules

To connect Mailchimp eCommerce for Drupal, you’ll need to first download both the Mailchimp module and Mailchimp E-Commerce module for your version of Drupal and install them in your Drupal account.

After the modules are installed, you’ll configure them to work with either Drupal Commerce or Ubercart and your Mailchimp audience, campaigns, forms, and pages. If you need help with this, take a look at Drupal’s documentation for installing modules in Drupal 7 or Drupal 8. Or, contact your Drupal expert or developer.

Connect and Configure

After you successfully install and configure the modules in Drupal you’ll be automatically redirected to the Global Settings tab in your Drupal account. Here, you'll complete a multi-step process to create a Mailchimp store in Drupal and configure its settings. Then, you'll connect that store to Drupal and sync data between the two apps.

Add a Mailchimp API Key

Before you create and connect a Mailchimp store to Drupal, you'll need to create a Mailchimp API key and add it to your Drupal account.

To add an API key to Drupal, follow these steps.

  1. In the Global Settings tab, input your API key in the Mailchimp API Key field.
  2. Check the box next to Enable connected site.
  3. Check the box next to Batch Processing.
  4. Click the Batch limit drop-down menu to choose the number of entities you want to process.
  5. Click Save configuration.

Create a Mailchimp Store in Drupal

To create a store, follow these steps.

  1. Click the eCommerce tab.
  2. In the Store Name field, input your store name.
  3. Click the Store Currency Code drop-down menu and choose your preferred currency.
  4. Click Save configuration.

Great job! Now that you've created your Mailchimp store, you're ready to sync data between Drupal and Mailchimp.

Sync Your Data

After you create your Mailchimp store, you’ll be ready to sync your existing product data to your Mailchimp account.

To sync your data, follow these steps.

  1. In the eCommerce tab, click Sync existing Commerce products to Drupal.
  2. Check the box next to Sync Products.
  3. Click Sync with Mailchimp.

That's it! Now that your store is connected, we'll start syncing your Drupal customer and order data to Mailchimp.

To verify your store is connected properly, navigate to the Connected Sites page in Mailchimp and make sure your Drupal store appears there.


The Drupal community provides support with module installation for free through their community chat. If you find a bug in a module, you can create a bug report on in the issue queue.

Disconnect Mailchimp eCommerce for Drupal

To disconnect your integration, follow the standard Drupal steps to uninstall a module.

Was this article helpful?

Anything else we can do to improve our site?