I’m trying to set this up, too. I’ve had to use Zapier in the past to hook it up, but that’s not ideal. I hope there is an easy way to do this like what can be done with the Action URL with Mailchimp. Anyone have any ideas?
To tack onto this, I’ve been in communication with the Mailerlite folks and I at least was able to get the form to submit and the test email is added to my list, but it still redirects to the MailerLite confirmation page. I’ll keep you posted if I find anything else out!
Here’s the overview video I sent to them, by the way:
— — —
In case it helps someone else get a viable answer, here’s what the ML folks said:
Seems like, there should be some area where you should add “hidden” value, so that subscriber stays on your page and isn’t redirected to our embed form.
Zapier actually worked great for me integrating it with MailerLite on Webflow for another client, but for this project specifically, I’m just trying to avoid paying their $20/month fee since this side hustle project has a lot of traffic, but doesn’t make a lot of moolah yet.
However, I have been able to link up my MailerLite webhooks into a Webflow form and it submits the email properly, but it just forwards to the mailerlite confirmation page, which isn’t ideal (I’d prefer it just stays on the webflow page the form is on), but a workable workaround for now if that’s the only way it can be done.
Here’s how I did it. Hope it helps you!
Use Mailerlite’s action URL — //app.mailerlite.com/webforms/submit/xxxxxxxx — as the overall form’s action URL, then set the method to POST
Name your email input field fields[email]
Put in an HTML embed inside the form and add <input type="hidden" name="ml-submit" value="1"> to it.
go into mailerlite’s form settings and edit the confirmation page accordingly (I just put a thank you and then a link to go back to the homepage)
@rchatterton why did you use Zapier instead of @adiggy 's method? Whas there any limitations to it? I’m planning on moving with MailerLite also using Webflow forms.
It seems to work when I fill in the form - a new subscriber is added - but it redirects me to that URL (which is a blank page with “{“success”:true}”). Not sure how to fix that.