SOLVED

Marketo Form Pre-fill when arriving from external source, but with authentication

Go to solution
cagarwal
Level 3

Marketo Form Pre-fill when arriving from external source, but with authentication

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?

CA
1 ACCEPTED SOLUTION

Accepted Solutions
Darshil_Shah1
Level 10 - Community Advisor + Adobe Champion

Re: Marketo Form Pre-fill when arriving from external source, but with authentication

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!

 

View solution in original post

1 REPLY 1
Darshil_Shah1
Level 10 - Community Advisor + Adobe Champion

Re: Marketo Form Pre-fill when arriving from external source, but with authentication

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!