Marketo Form Pre-fill when arriving from external source, but with authentication | Community
Skip to main content
cagarwal
New Participant
April 22, 2022
Solved

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

  • April 22, 2022
  • 1 reply
  • 1519 views

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Darshil_Shah1

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!

 

1 reply

Darshil_Shah1
Darshil_Shah1Accepted solution
Community Manager
April 22, 2022

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!