Skip to content

How to Connect MailerLite to an Elementor Form?

Table Of Content

Want to collect email subscribers in MailerLite straight from your Elementor form?

The Form widget from The Plus Addons for Elementor has a MailerLite action that adds each visitor to a MailerLite group.

To check the complete feature overview documentation of The Plus Addons for Elementor Form widget, click here.

Requirement – This widget is a part of The Plus Addons for Elementor, make sure it’s installed & activated to enjoy all its powers.

Before You Start

  • Edition: Pro — The MailerLite action needs The Plus Addons for Elementor Pro. The free plugin does not list it.
  • Widget to enable: Form, switched on under The Plus Addons > Widgets.
  • A MailerLite account, an API token and the Group ID of an existing group.
  • Name your fields’ Unique ID (field Advance tab) exactly like this: email for the email address. Other fields are not sent.

Get Your MailerLite API Token

Log in to MailerLite, then:

  1. Click Integrations in the left sidebar.
Screenshot: click integrations in the left sidebar
  1. Under MailerLite API, click Use.
Screenshot: under mailerlite api, click use
  1. Click Generate new token, give it a name, accept the terms and click Create token.
Screenshot: click generate new token, give it a name, accept the terms and click create token
  1. Copy the token. MailerLite shows it only once.
Screenshot: copy the token. Mailerlite shows it only once

Find Your MailerLite Group ID

Create a group first if you don’t have one. Then:

  1. Go to Integrations and click Use under MailerLite API again.
Screenshot: go to integrations and click use under mailerlite api again
  1. Scroll to the bottom of the API page and copy the Group ID.
Screenshot: scroll to the bottom of the api page and copy the group id

Connect the Form Widget

  1. Add the Form widget to your page and set up your fields.
  2. In Content > Submit Actions, add MailerLite to Add Action.
  3. Open the MailerLite section and fill in the fields below, then publish.
The mailerlite settings of the form widget in the elementor editor
SettingWhat to enter
API KeyYour MailerLite API token
Group IDThe ID of the group the subscribers should join. Required

How It Behaves

  • Each submission adds the email address as a MailerLite subscriber in the group you entered.

Limitations

  • Only the email address is sent. The first name is currently not passed to MailerLite, even if your form has a first_name field.
  • The Group ID is required: without it the action fails.

Troubleshooting

Visitors see “There was an error in submitting the form.”

The service rejected the request. Re-copy the key and ID without spaces, check the Email field’s Unique ID is email, and test again. While this error shows, a Redirect action does not run.

Related Docs

Related Frequently Asked Questions

Related Docs