Skip to main content

How to connect Shopify to MailerLite

Written by Rugilė

MailerLite’s Shopify integration syncs subscriber data in both directions and sends products and revenue information from Shopify to MailerLite.

Use it to set up e-commerce automations, track e-commerce revenue data associated with campaigns, subscribers, and automations, and use e-commerce blocks in your campaigns and sites.

How to set up the MailerLite integration for Shopify

To set up the MailerLite integration for Shopify:

  1. Navigate to Integrations and click Use next to Shopify.

2. Click Connect.

3. Enter your Shopify store URL and click Connect. It must end in .myshopify.com (you’ll find it in your Shopify admin under Settings → Domains.)

If you don’t have a store yet, click Get started and set it up before continuing.

4. Log in to your Shopify account and click Grant access.

Once that’s done, your categories, products, and subscribers will be synced.

How to connect another store?

You can have multiple Shopify stores connected to the same MailerLite account. To connect another store:

  1. Click the downward arrow next to your store name.

  2. Select Connect another store from the dropdown.

3. Enter your Shopify store URL and click Connect.

4. Log in to your Shopify account and click Grant access.

Once connected, use the same drop-down menu to select which store you’d like to review.

💡 Alternatively, you can connect stores from Shopify as well. Find MailerLite Email Automation in the Shopify App Store and click Install. You’ll be taken back to MailerLite to Grant access.

Shopify integration settings

Note: Shopify integration settings were revamped on November 9, 2026. Stores connected before the release:

  • Keep their current settings: the same subscriber group and field selection.

  • Tags as groups sync stays off, and additional fields are unselected.

  • Two-way sync stays on if the required Shopify permission was already granted.

Once your Shopify store gets connected to MailerLite, review the integration settings.

General settings

  • Connected store - Click the downward arrow next to your store name to select or connect another Shopify store.

  • Additional settings under …:
    - Re-sync - Re-sync your subscribers, products, and categories. Re-syncing will not create duplicates or re-trigger automations.
    - Open in Shopify - Access the MailerLite app in Shopify.
    - Disconnect store - Disconnect your Shopify store from your MailerLite account. If you pay for your MailerLite plan through Shopify, you need to cancel the subscription first.

How buyers subscribe

  • Newsletter checkbox at checkout - Enable the subscription checkbox at the checkout of your store to allow your customers to subscribe.
    ​
    Click Manage in Shopify and make sure Don’t show is NOT selected under your Email marketing settings. Choose Checkout and Sign-in or one of the other options.
    ​

  • Pop-ups - Enable pop-up forms in your Shopify store by toggling Allow pop-ups on this store. Pop-ups will appear once they’re active and their visibility settings include the store's address.
    ​
    To learn more about pop-up forms, see How to create a pop-up form. If you’d like to add an embedded form instead, check out How to add a form to your website.

Who else becomes a subscriber

  • Sync all buyers - Automatically sync all customers as active subscribers, even if they leave the newsletter checkbox unticked. Once enabled, you can choose whether to resync past customers who didn’t tick the newsletter checkbox as well.

⚠️ Important

Only customers who agree to receive marketing emails can trigger e-commerce automations. According to the MailerLite Terms of Use and Anti-spam policy, it is not permitted to send marketing emails to customers who don’t provide explicit consent to receive marketing communication.

Where subscribers land

  • Shopify dedicated group - Select or create a group your Shopify subscribers will be added to. By default, they will be added to a new Shopify group.

  • Sync Shopify customer tags as groups - Enable Shopify tag syncing as groups. Tags will sync automatically whenever they are added or removed from Shopify customers.

What subscriber data comes across

  • Shopify and MailerLite fields - Select which Shopify fields should be synced to MailerLite. Map only the fields that are needed for email marketing.

Note: All changes made to field mapping will be applied to data synced from that moment on. To fill in data for already synced subscribers, re-sync your store.

Additionally, order-related fields will be added by default:

  • Shopify Store Orders count - The number of orders that the subscriber has made

  • Shopify Store Total spent - The total amount of money that the subscriber has spent on your Shopify store

  • Shopify Store Total accepts marketing - Indication of whether the customer has subscribed to your newsletters (0 - no, 1 - yes).

What goes back to Shopify

  • Update customers in Shopify - Enable syncing name, email, and subscription status changes from MailerLite back to Shopify. Click Create new customers in Shopify if you’d like to add new MailerLite subscribers as Shopify customers with zero order history.

Note: Name and Email fields sync both ways between MailerLite and Shopify. Other fields are only synced from Shopify to MailerLite. Edits made in MailerLite aren’t written back.

Recent data

Review your synced subscribers, orders, products, abandoned checkouts, and carts. Products update every hour; other data is synced in real time.

Historical data

Re-sync your subscribers, products, and/or categories. Re-syncing will not create duplicates or re-trigger automations.

You’ll be able to see the progress of the re-sync in the progress bar. Re-syncing runs in the background, so you can safely leave the integration settings page. If another re-sync is needed, wait until the current one is completed.

💡 When should I re-sync?

MailerLite detects missing data and prompts you to re-sync. Additionally, re-sync to fill in data for already synced subscribers after changing field mapping, and to bring existing tags across after turning on tags as groups sync.

Revenue tracking

Check if e-commerce revenue tracking is enabled on your campaigns and automations. To make changes, click Manage revenue tracking.

Feedback

  • Enjoying this plugin? - Click Leave a review to rate the integration in the Shopify App Store.

  • Something not working? - If you need assistance, click Contact support or access our Setup guide.

Product blocks in your newsletter

Our Products element in the Drag & drop editor allows you to add your product directly into your MailerLite campaigns.

This will automatically import images, descriptions, and prices of your products and link directly to your Shopify store.

To add a product to your newsletters:

  1. Open your campaign in the Drag & drop editor.

  2. Under the Products section, you will find Import from stores. Simply drag and drop the element into your email.

3. Click into the block to open the settings on the right. Use the Add products from your store button to add products from Shopify.

4. If your account has multiple stores connected, be sure to select your Shopify store from the drop-down list.

5. You can choose to display one product or multiple. Once the product is selected, click Add products.

6. Click into the block to open the Settings on the right. From here, you can adjust elements like image positioning, alignment, and choose which details, such as Price and Description, are displayed.

7. Click Save settings to save your edits.

8. When you are done editing your campaign, click Done editing.

9. On the Campaign details page, fill out the Subject line, Preheader, and choose the Recipients to send your campaign.

⚠️ Important: To make sure that any Shopify products through your campaign are tracked in MailerLite, toggle ON the option to Track links.

When a subscriber purchases your Shopify product through the newsletter and completes the transaction, the order will be tracked in the campaign’s report in the Orders tab.

Note: You may find that the Total revenue does not match the number in your Shopify total spent field.

This is because Total revenue only refers to the revenue generated from your MailerLite campaigns. Any orders placed in your shop within 30 days of a link to your shop clicked from any of your campaigns or automations will be considered email revenue.

Our Shopify total spent field includes all purchases, including those not made through MailerLite.

Add Shopify products to a landing page

To promote your Shopify products on a landing page:

  1. In the landing page editor under Elements, check the Special category to locate the Products element.

2. Or, under Sections, you can find Multiple product sections in the Pricing & Purchase category.

3. Drag and drop either of these elements into your landing page to add your Shopify products.

4. Click the Settings icon to open the panel on the right.

5. Choose Add products from your store to select the products to add to this site.

6. If you have multiple e-commerce stores connected to your MailerLite account, choose your Shopify store.

Once you have selected your Shopify products, click Add products.

7. Once you have added your products, click the Settings button to open the configurations on the right. Here, you can edit the Product and Success view, as well as choose Layout, Content, and Button settings.

8. When a subscriber purchases your Shopify product via the landing page and completes the transaction, the order will be tracked in the site’s report in the Orders tab.

E-commerce automation triggers

When you install the MailerLite integration for Shopify, you will find additional e-commerce triggers available in your workflow editor.

These triggers include:

  • Abandoned cart

  • Abandoned checkout

  • Purchases any product

  • Purchases specific product

  • Purchases from category

  • Purchase frequency

🔔 Important

  • Abandoned cart workflows only trigger for recognized shoppers who subscribed via a MailerLite form on your Shopify store or clicked a link in a MailerLite email. Anonymous visitors are not tracked, and clearing cookies or switching devices/browsers will reset recognition until they subscribe or click an email again.

  • Abandoned checkout workflows only trigger for returning customers who have placed at least one previous order. Shopify’s system limits guest and first-time buyers from entering these automations.

In order to trigger an automation that uses an e-commerce trigger, customers of your store must also be newsletter subscribers and agree to receive marketing from you. This can be by completing any of your sign-up forms, or by checking the box to accept marketing at checkout.

💡 Curious how these triggers work?

Learn how to use them in our E-commerce automation triggers article.

Did this answer your question?