Am using munchkin.marketo.net/munchkin.js to post lead information to marketo. But for some reason munchkin script is refusing to post the data with the following error:
Missing required field 'Email'
But as you can see we already have the email in the posted url below:
http://{{My-account}}.mktoresp.com/webevents/associateLead?_mchNc=xxxxx_mchKy=xxxxxx&_mchAtsalutation=Ms&_mchAtfirstName=ddd&_mchAtlastName=dd&_mchAtemail=my-address@domain.com&.......
Is there a way to debug such scenario? Thanks.
are you actually calling the munchkin function as per the docs?
Munchkin.munchkinFunction('associateLead', {
'Email': 'my-address@domain.com',
'FirstName': 'ddd',
'LastName': 'dd'
},
'hashedkey'
);
Use the SOAP field names as per the docs - 'Email' not 'email'