Digital Marketing
Now Reading
AJAX Campaign Monitor And Mail Chimp Signup
0

AJAX Campaign Monitor And Mail Chimp Signup

by Adrian RandallJuly 5, 2015

We always have to hook up a Campaign Monitor Signup Form or Mailchimp Signup Form these days and I’m always searching for an easy reference. We used to use forms and send a POST request to an EDM application to sign people up but with everyone expecting rich UI’s we almost always just do it with AJAX.

Here is a quick run down on how to do this:

MailChimp

HTML (you’ll need to get your own action URL from your Campaign Monitor Forms area)

Javascript

CSS

Just add any other CSS you need to style your form and away you go!

 

Campaign Monitor

HTML

Javascript

On the Campaign Monitor signup I’ve also added abit of event tracking using Google Analytics (Universal Analytics) to cature when people sign up and when it fails to track your sites success.

About The Author
Adrian Randall
I'm a digital marketing specialist, love working on digital business and coding on just about anything. I'm the founder of Arcadian Digital and this site shares some of our knowledge and practices.

Leave a Response