Mailchimp inline post hack

Mailchimp is my go-to signup service, but I do hate their default double opt in system and their landing pages which are basically really awkward to bypass unless you build your own forms using their API.

There is a way to ‘hijack’ their standard embed form by changing the form action to GET and send the data using JSON P. This returns you an inline response which you can handle without all their pesky screens and redirects.

<form action="http://yourlist.us6.list-manage.com/subscribe/post-json?u=bbbaafd1d12345c57b712345&id=123456789e">
$("#subscribe-form").submit(function(e){
    e.preventDefault();
    submitSubscribeForm($("#subscribe-form"));
});

Credit: http://pocketproduct.com/2014/a-better-mailchimp-signup/

Leave a Reply

Your email address will not be published. Required fields are marked *