MailerLite
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
- In MailerLite, open Integrations → API and generate a new token.
- Paste it in Contact Form → Settings → Integrations → MailerLite and save. The card says Connected when MailerLite takes it.
- Open a form, then its MailerLite tab, and tick the groups.
- 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
| Setting | What it does |
|---|---|
| MailerLite groups | The groups people from this form join. Nothing ticked: this form sends nothing to MailerLite. |
| Add them only if they tick | The checkbox where people agree to get your emails. Always for a newsletter sign-up form. |
| Their email address is in | The first Email field, or the one you pick. |
| Ask them to confirm their email first | On at first. New subscribers come in unconfirmed, and MailerLite emails them a link. |
| Details to save | Pairs 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.
| Hook | What it does |
|---|---|
remaily_mailerlite_subscriber | The subscriber sent: ( $subscriber, $submission ), with email, fields, groups and status. Return an empty array to send nothing. |
Was this article helpful?
Thanks for your feedback!