We created a Marketo Preference Center that is hosted on a Marketo Landing Page and has Pre-fill enabled. When customers arrive at this page via a Marketo email, everything works perfectly and their existing preferences are pre-filled.
However, we'd like to give our clients the option of accessing this page also from their externally hosted client account, where they've already signed in. Is there a way to bring them to this Marketo LP, authenticate them in some way on the backend, and pre-fill their preferences?
Solved! Go to Solution.
For the cookied logged-in users, you can check out this article from Sandy's blog that essentially allows you to prefill forms. For the anonymous users, you can pull off form prefilling by making GET calls to the leads API endpoint using the email address (assuming you would have the email address for the logged-in user) - but this puts you at risk of exposing your API creds (secret key/id) to the world and is not recommended!
For the cookied logged-in users, you can check out this article from Sandy's blog that essentially allows you to prefill forms. For the anonymous users, you can pull off form prefilling by making GET calls to the leads API endpoint using the email address (assuming you would have the email address for the logged-in user) - but this puts you at risk of exposing your API creds (secret key/id) to the world and is not recommended!