0

What's best practice for pre-filling out a form when it's not built on top of a Marketo landing page.

Forms 2.0 doesn't seem to support reading from the cookie, and the Rest API requires you to already have their Marketo ID..

I'm thinking the only way to do this would be to pass the users values through an email, but that doesn't seem like an ideal solution.

2 Answers 2

2

If you don't want to use the REST API for some reason, you can embed a hidden iframe with a Marketo landing page and Marketo form that has the same fields enabled to prefill. Then you can use JS to get these values and post them into the parent frame's Marketo form.

1
1

1) You can use this one :http://developers.marketo.com/documentation/rest/get-multiple-leads-by-filter-type/ to get the ID of the customer by using filterType=cookie

2) Now that you have the ID, you can use this guide: http://developers.marketo.com/blog/external-page-prefill/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.