🔥 Just Launched! Werra Premium Template for HyväSee it in Action

How to Add a MailChimp Popup to Shopify?

By Sanjay JethvaUpdated on Feb 27, 2025 3 min read

MailChimp is the easiest way to collect email and leverage your email marketing efforts. 

Using MailChimp, you can show an email popup on your desired pages on Shopify and later start engaging with interested customers. 

In this blog, I will show you how to add a MailChimp popup to Shopify.

Steps to Add a MailChimp Popup to Shopify

Step 1: Add Your Popup URL

Log in to your MailChimp account and head to the “Connected Sites” page. 

Then, click on “Custom Website” and add the website URL in the “Enter Site URL” field.

Enter your site URL

Step 2:  Copy the Code

Now, select the audience to connect and click on “Get Code.” Copy the code and head to your Shopify admin panel.

Copy the code

Step 3: Add the Code to Shopify

From your Shopify admin panel, head to Online Store > Themes >  Edit Code.

Now, in the head to the {/}header.liquid section and paste the code. Remember to paste the code before closing the < /header> tag.

Head to Shopify panel

Step 4: Check the Connection

Now, for the last step, go back to your Mailchimp account, navigate to the “Connect Sites” page, and click on “Check Connection.”

Check connection

After the verification is complete, you will get a confirmation message. By this, you have successfully added a MailChimp popup to Shopify. 

MailChimp Popup Not Showing on Shopify: Solution 

There can be quite a few reasons why the MailChimp popup is not showing on Shopify.

  • You have not placed the code properly in the theme.liquid file.
  • You will need to clear the browser cache settings
  • Make sure the popup is activated

Check for these issues and fix them.

Start Collecting Interested Leads in Your Store

Adding a MailChimp popup can help you leverage your email marketing efforts and grow your email lists.

You can capture interested leads and send them personalized campaigns when you are running any discounts or a sale.

It is important for you to clear a simple yet attractive popup for users to subscribe directly. If you have too many CTAs, it might confuse the visitors, and they might leave without taking any action.

Now, try this method and easy include a popup in your Shopify store.

Sanjay Jethva Full Image
Article bySanjay Jethva

Sanjay is the co-founder and CTO of Meetanshi with hands-on expertise with Magento since 2011. He specializes in complex development, integrations, extensions, and customizations. Sanjay is one the top 50 contributor to the Magento community and is recognized by Adobe. His passion for Magento 2 and Shopify solutions has made him a trusted source for businesses seeking to optimize their online stores. He loves sharing technical solutions related to Magento 2 & Shopify.