Ajax subscription form, no proxy, could be possible using jsonp

The recent article about using an ajax subscription form is great, but you actually could create an ajax version with no need for a proxy using jsonp.

jsonp uses the script tag to request a javascript file on an external site. Variables can be sent in the url, so an email address etc could be included.

Data can then be sent back by firing a defined function.

So there you go. Ajax subscription with no proxy as soon as Campaign Monitor add support for jsonp


[edit] forgot the link to the article mentioned above - http://www.campaignmonitor.com/downloads/ajax-subscription-form/

Mathew Mathew, 8 years ago

Thanks for the heads up Harry. We'll definitely take a look at this, and potentially consider it for a future update.

Get in touch with us on Twitter: http://twitter.com/campaignmonitor
We're also on Facebook: http://facebook.com/campaignmonitor
harrybailey, 8 years ago

As an addition Mathew (one M, not seen that for a while),

It would obviously not be possible to use the current api key method. A different system for authentication would be needed to prevent anyone having access to your api key and therefore api methods for your account.


200,000 companies around the world can't be wrong.

From Australia to Zimbabwe, and everywhere in between, companies count on 
Campaign Monitor for email campaigns that drive real business results.

Get started for free