Search code examples
marketo

Pre-fill marketo forms


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.


Solution

  • 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/