Re is out: see what's new Lifetime updates on every purchase Support replies within 24 hours Secure checkout via Gumroad 8,500+ sales since 2016

MailerLite

Updated 2 min read 0 views

The MailerLite add-on adds the people who write to you to your MailerLite groups, with their details as MailerLite fields and MailerLite’s own double opt-in.

Set it up

  1. In MailerLite, open Integrations → API and generate a new token.
  2. Paste it in Contact Form → Settings → Integrations → MailerLite and save. The card says Connected when MailerLite takes it.
  3. Open a form, then its MailerLite tab, and tick the groups.
  4. For double opt-in, also turn on Double opt-in for API and integrations in MailerLite’s Subscribe settings. Without it, MailerLite sends no confirmation email.

The form’s MailerLite tab

SettingWhat it does
MailerLite groupsThe groups people from this form join. Nothing ticked: this form sends nothing to MailerLite.
Add them only if they tickThe checkbox where people agree to get your emails. Always for a newsletter sign-up form.
Their email address is inThe first Email field, or the one you pick.
Ask them to confirm their email firstOn at first. New subscribers come in unconfirmed, and MailerLite emails them a link.
Details to savePairs of a MailerLite field (name, last_name, phone or your own) and the form field it comes from. Nothing added: name and last_name come from a field called name, first name or last name, phone from a Phone field.

Someone already subscribed

Anyone can type anyone’s email into a form, so a subscriber MailerLite already has keeps their details and their status: they only join the form’s groups. A field your account doesn’t have would make MailerLite turn the whole subscriber away; the add-on then adds them without the details.

For developers

Nothing is sent while the form is in Test mode.

HookWhat it does
remaily_mailerlite_subscriberThe subscriber sent: ( $subscriber, $submission ), with email, fields, groups and status. Return an empty array to send nothing.
Was this article helpful?