### [How to Create a MailerLite Contact Form in WordPress [Easy Guide]](https://wpforms.com/how-to-create-a-custom-mailerlite-signup-form-in-wordpress/)

**Published:** June 6, 2022
**Author:** Osama Tahir

**Excerpt:** Do you want to create a MailerLite form in WordPress? If you're using MailerLite for your email campaigns, it's a good idea to connect your WordPress forms with your MailerLite account. In this article, we’ll show you how to create a MailerLite contact form in WordPress to easily manage your email subscribers.

**Content:**

Do you want to create a MailerLite contact form in WordPress?

If you’re using MailerLite for your email campaigns, did you know you can connect your WordPress forms with your MailerLite account?

In this article, we’ll show you how to create a MailerLite contact form in WordPress to easily manage your email subscribers.

[Create Your WordPress MailerLite Form Now](https://wpforms.com/pricing/)

### Does MailerLite Have a Contact Form?

Yes, MailerLite has its own WordPress plugin that allows you to create contact forms. It’s limited in functionality, though. To create more functional forms that boost conversions, integrate your MailerLite account with WordPress plugins like WPForms.

Connecting MailerLite to a form builder plugin lets you create more dynamic and sophisticated forms while still collecting leads in your MailerLite account.

## How to Create a MailerLite Contact Form in WordPress

It’s fairly simple to build a MailerLite contact form in WordPress. All you need to do is follow the steps below:

Let’s dive right into it.

***Note:** The tutorial below assumes that you already have a MailerLite account. If not, you can[ get started with MailerLite for free](https://wpforms.com/refer/mailerlite/ "MailerLite").*

### 1. Install a MailerLite-Compatible Form Plugin (WPForms + MailerLite Addon)

First of all, you need a contact form plugin for WordPress that has a native [MailerLite integration](https://wpforms.com/best-mailerlite-integrations-for-wordpress/).

For this tutorial, we’re using WPForms. Though there is a limited free plan, you’ll need a paid plan to connect your forms with MailerLite.

With [WPForms Pro](https://wpforms.com/pricing/), you get tons of features like conditional logic, various marketing integrations, as well as the MailerLite addon. It’s also easy to use, creating a great user experience.

![The WPForms pricing page](https://wpforms.com/wp-content/uploads/2023/02/WPForms-Pricing-Page-Feb-2023.png)

You can see this guide on [installing WPForms](https://wpforms.com/docs/install-wpforms-plugin/#:~:text=Installing%20WPForms%20on%20Your%20Site,-Once%20you've&text=Click%20on%20the%20Choose%20File,the%20installation%20process%20for%20you.) on your site for help.

After the plugin is active on your site, activate the MailerLite addon so that you can connect your accounts.

To do this, navigate to **WPForms » Addons** from your WordPress dashboard.

![WPForms addons](https://wpforms.com/wp-content/uploads/2022/01/wp-forms-addons-n.png)

On this addon page, look for the MailerLite addon. Then click on the **Install** button under it.

![MailerLite addon installation](https://wpforms.com/wp-content/uploads/2022/06/addon-installation-mailerlite.png)

It will only take a few seconds for the MailerLite addon to install and activate on your site (the status will read “Active” when it’s done).

![MailerLite addon active](https://wpforms.com/wp-content/uploads/2022/06/mailerlite-addon-active.png)

Now that you’ve installed WPForms and activated the MailerLite addon, we’ll start setting up the integration.

### 2. Connect WPForms With MailerLite

To integrate MailerLite with WPForms, you’ll need to get your MailerLite API key.

For this MailerLite integration, you’ll need to get your MailerLite API key.

Leaving WordPress open in your current tab, open a new tab or window, and log in to your MailerLite account dashboard. Click on **Integrations**. Under the MailerLite API, click **Use**.

![Getting the API from your MailerLite dashboard](https://wpforms.com/wp-content/uploads/2022/06/mailerlite-dashboard.png)

Press the **Generate New Token** button.

![Generate a new MailerLite token](https://wpforms.com/wp-content/uploads/2022/06/generate-mailerlite-token.png)

A popup modal will ask you for a token name. Enter a name for your token (it can be anything) and press the **Create Token** button.

![Create your MailerLite token](https://wpforms.com/wp-content/uploads/2022/06/create-mailerlite-token.png)

Copy the token.

![Copy MailerLite token](https://wpforms.com/wp-content/uploads/2022/06/copy-mailerlite-token.png)

After copying the API token, return to the WPForms page you left open in another tab or window.

From your WordPress admin area, click on **WPFoms » Settings**. On the horizontal menu, select **Integrations.**

![WPForms integrations](https://wpforms.com/wp-content/uploads/2017/05/wpforms-integrations.png)

Find MailerLite and click on it to expand the options. Then click on **Add New Account**.

![MailerLite add new account](https://wpforms.com/wp-content/uploads/2022/05/mailerlite-add-new-account.png)

Insert the API token in the MailerLite API key field. Your connection will also need a nickname, which can be any name you’d like to give it.

Press **Connect to MailerLite** when you’re done.

![MailerLite connection](https://wpforms.com/wp-content/uploads/2022/06/mailerlite-connect-in-wpforms-1.png-1-1_censored.jpg)

You should now see a green **Connected** status appear.

![MailerLite connected](https://wpforms.com/wp-content/uploads/2022/06/MailerLite-connection-.png)

With this, we can begin creating WordPress forms that communicate with your MailerLite account.

### 3. Build Your Form & Configure Field Settings

Now for the fun part: building your form! From your WordPress dashboard, navigate to **WPForms » Add New.**

![Add a new form in WPForms](https://wpforms.com/wp-content/uploads/2021/11/add-new-form.png)

Name your form, then pick a template from WPForms’ [2,100+ form templates](https://wpforms.com/templates/).

We’ll use the Simple Contact Form template for this tutorial.

![Select the Simple Contact Form template](https://wpforms.com/wp-content/uploads/2022/06/Select-a-Template.png)

After selecting a template, the WPForms form builder screen will open. You can use the drag-and-drop editor to customize your form and add new fields.

![Customize your MailerLite contact form in the form builder](https://wpforms.com/wp-content/uploads/2022/06/MailerLite-Contact-Form-Creation.png "MailerLite contact form")

To connect MailerLite with this form, click on the **Marketing** option in the left sidebar. Select MailerLite and press the **Add New Connection** button.

![Add mailerlite connection](https://wpforms.com/wp-content/uploads/2022/06/add-mailerlite-connection.png)

Enter a connection nickname and then click **OK.**

![Enter mailerlite connection nickname](https://wpforms.com/wp-content/uploads/2022/06/enter-connection-nickname-e1653922970981.png)

Now, use the dropdowns to configure your MailerLite connection with WPForms. Here are the main settings you’ll find:

![MailerLite mappings](https://wpforms.com/wp-content/uploads/2022/06/mailer-lite-mappings.png)

***Note:** Fields marked by an asterisk (\*) are mandatory.*

- **Select Account\*:** Use this dropdown to select your MailerLite account by its nickname
- **Action To Perform\*:** Choose the action you want to automate when a lead submits your form (Subscribe, Unsubscribe, or Delete)
- **Email\***: This allows you to choose the email field from your WordPress form so you can match it correctly with the email field in your MailerLite subscriber area
- **Type\***: Choose which list you’d like new contacts to be added to (Active, Unsubscribed, or Unconfirmed)
- **Group**: Assign contacts to different interest groups you’ve already created in MailerLite.

These basic settings are enough to get your WPForms and MailerLite connection working. However, this MailerLite addon provides further options you can take advantage of, such as mapping custom MailerLite fields to WordPress.

#### Pro Tip: Map Custom MailerLite Fields to WordPress Form Fields

MailerLite gives you a lot of flexibility when it comes to subscriber management.

If you’d like to collect more detailed information from each contact, you can create additional fields in WPForms and map these to custom fields in the subscriber management area of your MailerLite account.

Simply use the dropdowns to match your MailerLite custom field names with the form fields you’ve created in WPForms.

For example, we’ve mapped the name fields from WPForms to MailerLite.

![Custom fields](https://wpforms.com/wp-content/uploads/2022/05/custom-fields.png)

You can add more field mappings by pressing the blue plus (+) button.

![Add more custom fields](https://wpforms.com/wp-content/uploads/2022/06/custom-fields-.png)

Now let’s look at how conditional logic helps give you more control over which contacts get sent to your MailerLite subscriber list.

### 4. Define Rules for Sending Contacts to MailerLite (Optional)

Sometimes a contact’s preferences can determine whether you want to add them to your mailing list. WPForms includes a powerful conditional logic feature that lets you change the integration behavior based on user responses.

For example, you can add a **Checkboxes** field to your contact form and use it to determine if a lead wishes to receive your newsletter. This means you don’t need a separate signup form, so it simplifies the process for everyone.

![Add checkboxes field](https://wpforms.com/wp-content/uploads/2022/01/add-checkboxes-field.gif)

You can add a double opt if you want. We’ve only added a single choice for the **Checkboxes** field for this example, which we can use as an opt-in to determine if a user wishes to join our newsletter.

![Checkboxes field choice label ](https://wpforms.com/wp-content/uploads/2022/01/checkboxes-field-choice-label.png)

Now, go to **Marketing » MailerLite** in the form builder’s left sidebar and toggle on the **Enable Conditional Logic** option.

![MailerLite conditional rules](https://wpforms.com/wp-content/uploads/2022/06/MailerLite-conditional-rules-.png)

Here, we’re going to set a rule which requires that a connection should only be processed if the **Newsletter Signup** option is checked. This is extremely simple to do using dropdowns, as shown below.

![Conditional logic example](https://wpforms.com/wp-content/uploads/2022/01/conditional-logic-example.png)

Don’t forget to press **Save** on the top-right of the form builder before proceeding.

Now it’s time to embed the form on your website or landing page!

### 5. Embed Your MailerLite Form in WordPress

Ready to publish your form? Click on the **Embed** button on the top-right of the form builder screen.

![Embed form button](https://wpforms.com/wp-content/uploads/2022/01/embed-form-button.png)

WPForms will now ask you if you’d like to add your new MailerLite form to a new page or within an existing page. For this example, we’ll go with the **Create New Page** option.

![Embed in new page](https://wpforms.com/wp-content/uploads/2017/12/Create-new-page-embed.png)

Then, give your new page a name and click the **Let’s Go** button.

![Embed in page let's go button](https://wpforms.com/wp-content/uploads/2022/06/lets-go-1.png)

When you press the button, you’ll be redirected to your WordPress block editor for a new page. On the page, you’ll see your form already embedded.

You can edit any other page elements like you normally do in WordPress. Once you’re happy with how the page looks, press the **Publish** button.

![MailerLite test form publish](https://wpforms.com/wp-content/uploads/2022/06/Mailerlite-test-form-publish.png)

#### Run a Test

It’s a good idea to test if the integration is working properly. You can [send a test entry](https://wpforms.com/form-testing-checklist/) to yourself before and after a form is published and see if the data is sending correctly from your WordPress form to your MailerLite account.

![MailerLite test entry](https://wpforms.com/wp-content/uploads/2022/06/mailerlite-test-entry.png)

After completing the form submission test, open your MailerLite account and check if you’ve received the data from WPForms.

![Subscriber added to MailerLite](https://wpforms.com/wp-content/uploads/2022/05/subscriber-added-.png)

And that’s it! Now you know how to create a MailerLite form in WordPress.

### Next, Explore Email Plugins for WordPress

Behind every successful WordPress website, multiple email plugins are enabling you to reach your marketing goals.

We’ve carefully selected a [list of the top email plugins ](https://wpforms.com/best-email-plugins-for-wordpress/)that can help grow your email list, improve deliverability, and send notifications to help you stay on top of everything.

And if you’re wondering how much it would cost to get started with an email marketing campaign, here’s our [comprehensive guide to the costs of email marketing](https://wpforms.com/how-much-does-an-email-marketing-campaign-cost/).

Also, if you’d like to learn about all the many things you can do with WPForms, you might like to check out our guide on [creating emoji rating scales in WordPress](https://wpforms.com/how-to-create-an-emoji-rating-scale-in-wordpress-step-by-step/) to gather customer feedback in a fun, interactive way!

[Create Your WordPress MailerLite Form Now](https://wpforms.com/pricing/)

Ready to build your form? Get started today with the easiest WordPress form builder plugin. [WPForms Pro](https://wpforms.com/pricing) includes lots of free templates and offers a 14-day money-back guarantee.

If this article helped you out, please follow us on [Facebook](https://facebook.com/wpforms) and [Twitter](https://twitter.com/easywpforms) for more free WordPress tutorials and guides.

**Categories:** Integrations

**Tags:** email marketing, mailerlite integrations, marketing automation

---

