How To Add Embed Code From Mailerlite To WordPress

How To Articles

Integrating the MailerLite embed code into your WordPress website can greatly improve your email marketing strategies. As a content creator, I have experienced the advantages of this integration in expanding my email subscriber list and engaging with my followers. This article will walk you through the process of adding the MailerLite embed code to your WordPress website, while also sharing some of my personal tips and experiences.

What is MailerLite?

Before we dive into the technicalities, let me introduce you to MailerLite. It is an email marketing tool that allows you to create and send beautiful newsletters, automate your email campaigns, and track your subscriber’s behavior. With a user-friendly interface and powerful features, MailerLite is a popular choice among bloggers and businesses alike.

Step 1: Generate the Embed Code

The first step is to log in to your MailerLite account and navigate to the “Forms” section. Here, you can create a new form or edit an existing one to generate the embed code. MailerLite offers various form types like pop-ups, embedded, and landing pages, so choose the one that suits your needs best.

Once you’ve customized your form with the desired fields and design, click on the “Embed” tab. Copy the embed code provided by MailerLite. This code contains the necessary scripts and styling to display your form on your WordPress website.

Step 2: Install the Insert Headers and Footers Plugin

In order to add the MailerLite embed code to your WordPress website, you’ll need to install a plugin called “Insert Headers and Footers”. This plugin allows you to easily add code snippets to the header or footer section of your website, without modifying your theme files.

To install the plugin, go to your WordPress dashboard and click on “Plugins” > “Add New”. Search for “Insert Headers and Footers” and click on “Install Now”. Once the installation is complete, activate the plugin.

Step 3: Add the Embed Code to Your Website

Now that you have the plugin installed, go to “Settings” > “Insert Headers and Footers” in your WordPress dashboard. In the “Scripts in Header” section, paste the MailerLite embed code you copied earlier. Click on the “Save” button to apply the changes.

After adding the code, you can preview your website to see the MailerLite form in action. Make sure to check different pages and devices to ensure a consistent user experience.

Personal Tip: Customizing the Form

To make the MailerLite form blend seamlessly with your website design, you can customize its appearance. MailerLite offers a range of customization options, allowing you to change the colors, fonts, and layout of your form. Explore these options to create a form that matches the look and feel of your website, enhancing the overall user experience.


Integrating MailerLite with your WordPress website can significantly enhance your email marketing efforts. By following the steps outlined in this article, you can easily add the MailerLite embed code and start capturing valuable leads directly from your website. Remember to personalize your form and ensure it aligns with your website’s branding for a seamless user experience. Start leveraging the power of MailerLite today and watch your email list grow!