Skip to main content
October 13, 2014
Question

How to save the data

  • October 13, 2014
  • 1 reply
  • 683 views
Hi,

How to save the data in lead database from an external form using jqery or javascript. ?

Thanks
Jay
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

October 13, 2014
You can't do it in pure JS. You need at least a PHP layer for authentication. Assuming that works for you, you can either use the REST API or the Javascript Munchkin API, both outlined here: http://developers.marketo.com/

You want the http://developers.marketo.com/documentation/rest/createupdate-leads/ for REST and this for the JS API http://developers.marketo.com/documentation/websites/lead-tracking-munchkin-js/ (scroll down to Associate Lead)