Struggling to embed Mailerlite Newsletter Signup into Shopify

Topic summary

Users are attempting to integrate MailerLite email signup forms into their Shopify stores to offer discount codes and trigger automated email sequences.

Main Challenge:

  • The original poster has MailerLite embed code (URL, JavaScript, and HTML) but doesn’t know where to place it in Shopify’s backend.
  • Multiple users specifically want to replace Shopify’s default newsletter form in the footer with a MailerLite embedded form but are unsure which code to modify in the newsletter.liquid file.

Partial Solution Found:

  • One user successfully embedded a MailerLite popup by pasting the code into theme.liquid after the </head> tag (specifically after the <body class> line).
  • This popup solution works, but the footer embedding issue remains unresolved.

Current Status:

  • The discussion remains open with no definitive solution for footer integration.
  • Some users have temporarily embedded forms on separate pages as a workaround.
  • The thread includes off-topic spam comments at the end.
Summarized with AI on October 31. AI used: claude-sonnet-4-5-20250929.

Hi all,

I’m struggling with a pretty simple issue and hope someone out there might take a moment to offer advice!

I’m trying to embed an email signup form on my site that works like this: when a shopper enters their email address into the form they receive a discount code, either in a pop up that appears immediately, or via email, the idea being that now they have now also signed up to receive a series of automated emails from me via Mailerlite.

I am trying to integrate a Mailerlite form into my shopify store - for which I have a URL, Javascript, and code as seen in the attached photo, yet I can’t figure out where or how to implement onto my shopify store; all information I have been able to find online regarding this seems vague or incomplete. I don’t have a great deal of experience with back end/coding, but still seems like this should be a pretty simple thing to do.

Any help or advice would be greatly appreciated!!

Did you ever resolve your issue? I’ve been able to add a MailerLite pop up. However, I would like to be able to add an embedded form into the footer to replace the Shopify one that I have on my minimal theme. But I haven’t yet been able to figure out exactly what code to delete/replace on the newsletter.liquid file to add the MailerLite embedded code. Currently, I’ve just created a page and embedded the MailerLite form there but would really prefer to have one in my footer.

Where did you embed the Mailerlite popup?

I figured out where to paste that code. You are going to paste it into the theme.liquid section after the tag. I actually pasted it after the line, which is just below the tag. It seems to be working just fine for me.

I figured out where to embed the MailerLite pop up, but now I want to add an embedded form into the footer to replace the Shopify one. Did you ever figure it out?

I’ve successfully added a MailerLite popup, but I need help embedding a MailerLite form into the footer to replace the current Shopify form in my minimal theme. I’m unsure which code to delete or replace in the newsletter.liquid file to achieve this. At the moment, I’ve embedded the MailerLite form on a separate page, but I’d prefer it to be in the footer. Any advice or guidance would be greatly appreciated. Also visit walk ons feast.

1 Like

Get inspired with the best male cat names from English, Japanese, and more!