You will learn
Learn how to use Klaviyo’s Mailchimp integration to migrate your Mailchimp data to Klaviyo.
After you’re completely transitioned to Klaviyo, we recommend you remove your Mailchimp integration.
Klaviyo syncs the following data from Mailchimp:
- Subscriber information (including unsubscribes and cleaned contacts)
- Mailchimp audiences (synced to Klaviyo lists)
- Email receives, clicks, and opens
- Mailchimp ratings
Before you begin
If your Mailchimp account is currently integrated with your Shopify store, and you've already integrated Shopify with Klaviyo, make sure to disconnect Mailchimp from Shopify before integrating Mailchimp with Klaviyo. Failure to disconnect your old integration could result in double opt-in emails sending to your existing subscriber list.
Checklist
Migrating from Mailchimp to Klaviyo requires four key steps:
- Integrate your ecommerce platform with Klaviyo
- Integrate Mailchimp with Klaviyo
- (Optional) Import Mailchimp tags into Klaviyo
- Migrate your email templates from Mailchimp to Klaviyo
- Sunset your Mailchimp account
How to integrate with Mailchimp
Integrating your Mailchimp account with Klaviyo pulls over all of your contact data, including when contacts received, opened, and clicked emails.
- First, you'll need to obtain a Mailchimp API key. We recommend creating a new key specifically for the Klaviyo integration, but you can use an existing key if you would like.
- You can get your Mailchimp API key by logging in to Mailchimp, clicking your profile icon, then navigating to Account & billing > Extras > API keys.
- Click Create a Key.
- Name your key, then click Generate Key.
- Click Copy Key to Clipboard. Then, save it securely.
- Once you've obtained your API key from Mailchimp, head over to Klaviyo. Click your account name in the lower left, then select the Integrations tab.
- Click Add integrations and search for Mailchimp. Click on the Mailchimp card in the integration directory, then click Install.
- On the setup page, paste in the Mailchimp API key in the specified field.
- Click Connect to Mailchimp.
- Once you've pasted in your API key, click to review the Advanced options:
- Collect open and click data for Mailchimp campaigns - check this option to sync Mailchimp engagement.
- Create Klaviyo lists from Mailchimp audiences - check this option to sync all your existing Mailchimp audiences.
-
Only sync contacts from specific audiences - check this option to only sync specific Mailchimp audiences. You'll be prompted to choose which audiences to sync. You must check the previous option to create Klaviyo lists from Mailchimp audiences for this option to work.
- If you select Only sync contacts from specific audiences in Advanced, you'll need to designate all the Audience IDs to which campaigns were previously sent. Even if a different synced audience contains the same contact, if a campaign was not originally sent to that audience, you won't see complete engagement data for that campaign.
- Klaviyo will only sync campaign data for campaigns with the "Sent" status. Data from campaigns with the "Sending" status won't be synced. Note that Klaviyo won't sync entire campaigns; we sync open and click data, and if you wish to re-create Mailchimp campaigns in Klaviyo, you can learn how to export your Mailchimp email templates below.
- After you click Connect to Mailchimp, data will start syncing over within a few minutes.
Sync frequency
When you first integrate Klaviyo and Mailchimp, we will sync all your contacts and the last 90 days of campaign data. This is called a historical sync, and only occurs once.
After the historical sync, Mailchimp data syncs to Klaviyo in an ongoing sync, as follows:
- Existing audiences sync every 30 minutes.
- New audiences and/or campaigns sync every 6 hours.
- Existing campaign activity syncs after campaigns are sent to capture recipient data.
Review your Mailchimp data
Ongoing contact syncOngoing contact sync
As part of the ongoing sync, Klaviyo automatically syncs contacts, along with subscription info, from Mailchimp (unless you select Only sync contacts from specific audiences).
- You’ll see whether contacts are subscribed or unsubscribed, and contacts that have been marked as “cleaned” or have bounced will be added to your suppression list in Klaviyo.
- If you delete a contact in Mailchimp after integrating with Klaviyo, they won't be deleted in Klaviyo.
- If a profile already exists in Klaviyo as an active profile before you add the Mailchimp integration, and it has been cleaned/bounced in Mailchimp, it won’t be suppressed in Klaviyo. To suppress these contacts, you can export them from Mailchimp as a CSV and upload them to your suppression list in Klaviyo.
Lists, engagement data, and Mailchimp ratings
Additionally, our Mailchimp integration:
- Syncs open and click data for past Mailchimp campaigns, if you checked the Collect open and click data for Mailchimp campaigns setting.
- Creates Klaviyo lists from Mailchimp audiences, if you checked the Create Klaviyo lists from Mailchimp audiences setting.
- Syncs Mailchimp ratings if you checked the Create Klaviyo lists from MailChimp audiences setting. If you only sync contacts from specific audiences, your Mailchimp ratings (even for those synced contacts) won't sync to Klaviyo.
- Syncs the following metrics for campaigns that have finished sending, and have sent in the last 90 days (excluding campaigns that were part of an A/B test):
- Clicked Email
- Opened Email
- Received Email
It’s important to note that only names, email addresses, Mailchimp ratings, and locations of contacts will sync; to migrate over custom properties (tags) that may be attached to contact profiles in Mailchimp, see the section below.
Historical contactsHistorical contacts
During the historical sync from Mailchimp, we sync contacts but do not sync subscription status. We recommend manually uploading email consent to Klaviyo:
- Export your email subscribers from Mailchimp.
- Import them into Klaviyo by adding them to your main list.
Import Mailchimp tags into Klaviyo
If you use Mailchimp tags to label and organize your contacts, you can manually export and import these tags into Klaviyo. Klaviyo's built-in Mailchimp integration does not sync any of your tags.
- Start by navigating to Manage contacts > Tags in Mailchimp to view specific tags you want to sync.
- Clicking the dropdown next to View will give you the option to "Export as CSV" to export your segment from Mailchimp. Use Mailchimp's guide for more information on exporting contacts with specific tags.
- Once you've exported your data from Mailchimp you can import it into Klaviyo as custom properties. Custom properties get attached to your Klaviyo profiles, and you can create segments based off of specific properties, or use them to add filters to your flow or dynamically display data inside of your emails.
Migrate your email templates from Mailchimp to Klaviyo
Klaviyo has an intuitive drag-and-drop template builder that you can use to recreate your Mailchimp templates. We recommend using this method to build your templates because it will ensure that they are mobile-optimized, responsive, and easy to edit and iterate on going forward.
However, if you don’t have time to dedicate to recreating your Mailchimp templates using Klaviyo’s template builder, it is possible to export your email templates from Mailchimp and import them into Klaviyo.
This process involves editing and updating the raw HTML of the email template. If you would instead like to use Klaviyo’s drag-and-drop editor to recreate your templates, check out our guide to learn the ropes of using Klaviyo’s template editor.
Export your template from Mailchimp
- In your Mailchimp account, navigate to the template that you would like to migrate to Klaviyo. In the dropdown beside the name of the template, select Export as HTML.
- You will be prompted to confirm your export and an HTML file will save to your computer.
Swap out template tags
Klaviyo and Mailchimp use different template tags to insert dynamic content in your emails. For example, the “first name” tag is different in Mailchimp than it is in Klaviyo, so it’s important that you swap out any Mailchimp-specific tags with the corresponding Klaviyo tags.
The tag that is most important to swap out is the unsubscribe tag.
- Before you import your template into Klaviyo, you will have to add an {% unsubscribe %} tag because Klaviyo does not allow you to upload HTML templates that don't have unsubscribe tags unless they're for transactional emails.
- To edit the tags in your template, open the HTML file in a text editor, like Sublime Text. Below is a table of other common Mailchimp tags and their corresponding Klaviyo tags.
Mailchimp Tag |
Klaviyo Tag |
|
|
|
|
|
|
|
|
|
|
|
|
|
This is the subject line of the email, which is set on a per-email basis in the Klaviyo template editor. |
|
This is the preview text of the email, which is set on a per-email basis in the Klaviyo template editor. |
See the Additional resources below to learn more about Klaviyo's template tags.
Once you've swapped out the tags for Klaviyo tags, you can save your HTML file.
Import your template into KlaviyoImport your template into Klaviyo
- In your Klaviyo account, click the Content dropdown and select the Templates tab, then select Import Template.
- In the Import template modal, select the HTML file from your computer to upload the file you just saved.
- You can see a preview of what your email template will look like in the Preview tab.
- Please note that going forward, you will have to directly edit the HTML in order to change the template.
Sunset your Mailchimp account
If you begin deleting or cleaning contacts in Mailchimp before removing the integration, these contacts will be suppressed in Klaviyo. Once your Mailchimp account is safely sunsetted, be sure to remove the integration before deleting or cleaning contacts in Mailchimp that you don't want suppressed in Klaviyo. Audiences and profiles synced from Mailchimp to Klaviyo won't be removed in Klaviyo if you disable or remove the Mailchimp integration.
After you've moved all your data over to Klaviyo, there are three key steps you can take to ensure that you no longer need your Mailchimp account:
- Ensure that your sign-up forms and list growth tools point to Klaviyo, not Mailchimp
- Recreate your automations as flows in Klaviyo
- Remove the Mailchimp integration
Sign-up forms and list growth tools
If you have any sign-up forms or sign-up form campaigns in your Mailchimp account, you will want to ensure that these are recreated in Klaviyo so that your list continues to grow in Klaviyo rather than Mailchimp. You won't be able to redirect forms created in Mailchimp to Klaviyo. Instead, you can:
- Use the Klaviyo sign-up form builder to re-create your forms from scratch
- Use a third-party list growth tool that integrates with Klaviyo
- Integrate your custom form through your ecommerce platform
If you are using a third-party list growth tool instead of Mailchimp's built-in form builder, make sure that this syncs to Klaviyo. Klaviyo integrates with a number of third-party list growth tools. Scan our list of integrations to find the tool that you're using. If you don't see it listed, consider using Klaviyo's sign-up form builder to create your forms, or switching to a different third-party tool.
Please note that all Klaviyo lists are double opt-in by default. To change a list to single opt-in, head to our guide to the double opt-in process.
If you’re using a custom-coded form, you can ensure that these contacts sync to Klaviyo. To do this, make sure that your custom form syncs new subscribers directly to your ecommerce platform and that your ecommerce store is integrated with your Klaviyo account.
After switching all your sign-up forms to point to Klaviyo, wait a few days and watch your audiences in Mailchimp. If you notice subscribers are still being added to these audiences, there's probably at least one form that still needs to be swapped out.
Next, you'll want to turn off your Mailchimp sign-up forms. To do that, head to the code of the page where you installed the form and remove the code that begins with
<!-- Begin Mailchimp Sign-up Form -->
and ends with
<!--End mc_embed_sign-up-->
Email automations
Klaviyo refers to email automations as flows and allows for much more advanced and targeted sequences. It is important to recreate these in Klaviyo so that you don't need to continue to use Mailchimp to send triggered emails. To learn more, check out our guide to getting started with flows.
Once your Klaviyo flows are live, turn off all of your automations in Mailchimp to ensure that you're not double-emailing people.
- To do this, click Pause and Edit next to the specific campaign.
- Then, click Pause in the pop-up.
Remove the Mailchimp integration
Once you’ve pointed all of your list growth tools to your Klaviyo account, paused your Mailchimp automations, and turned your Klaviyo flows live, you can remove the Mailchimp integration. Before you remove your Mailchimp integration, make sure to double-check that everything is working as expected. Enter a test email into your sign-up form and other list growth tools, abandon a cart, and sign up for your newsletter to trigger a welcome series.
- Click the Audience dropdown and select the Profiles tab in your Klaviyo account to make sure that the information in the profile reflects all of the correct communication.
- If the list you sign up to is double opt-in, be sure to confirm your email first.
- Once you've taken these steps and are fully migrated to Klaviyo, you can go ahead and remove your Mailchimp integration. Click on your account name in the lower left, select the Integrations tab, then find your Mailchimp integration and select View Settings.
- Click the action button to the right of the Mailchimp integration.
- Select Remove integration to remove the integration.
Outcome
You've now migrated from Mailchimp to Klaviyo and learned about best practices for switching your email sending.
Additional resourcesAdditional resources
Klaviyo resourcesKlaviyo resources
- How to migrate from another email service provider to Klaviyo
- Template tags and variable syntax reference