Badges
Accepted Solutions
Likes Received
Posts
Discussions
Ideas
Blog Posts
Wow, that is bad. I am using JS API on our website, but this time we do not want to load JS or render Marto form HTML if this is possible. So we are looking for any solution if we can achieve this. This should be my last question:Is any solution if changing to serverside? I used REST API from the s...
I just saw this post: https://nation.marketo.com/t5/Product-Discussions/Form-submission-using-POST-menthod/td-p/40834/page/2now I changed save to save2 and added formVid, my ajax returns the response status correctly!thanks for your help!
Thanks SanfordWhiteman,I saw that solution, the idea works for me. But we do not want to render Markto form(even it is hidden) and load Markto script on the front side.I also tried the REST API(https://github.com/Marketo/REST-Sample-Code/blob/master/php/LeadDatabase/Leads/PushLeadToMarketo.php), but...
const data = {'munchkinId': 'xxx-xxx-xxx','formid':'xxxx', // (formid is included)'LeadSource': $.cookie('XYZutm_source'),'Phone': '888-888-8888','Person Source': 'test',}
Sorry for the confusion. it is not server to sever. Basically, when the user submits a form I will send a lead to markto by using this code:HTML: JS:$('.js-lead-capture').click(function (e) {e.preventDefault();const data = {'munchkinId': 'xxx-xxx-xxx','LeadSource': $.cookie('XYZutm_source'),'Phone':...
Hi,I need to send lead from sever to sever, here is the code when the form is submitted:let data= {'munchkinId': 'xxx-xxx-xxx','formid': xxx,'Email': 'xxxx@xxx.com'}$.ajax({type: 'POST',url: '//xxx.oursite.com/index.php/leadCapture/save',data: data,success: function (data) { console.log('run callb...