Form Pre-Fill Feature Upgrade | Community
Skip to main content
Roxann_McGlump1
Level 5
April 4, 2019

Form Pre-Fill Feature Upgrade

  • April 4, 2019
  • 142 replies
  • 55122 views

With the evolving best practices and awareness around data privacy, Marketo will be upgrading how we handle form pre-fill.

What change is being made?

Starting April 24, 2019, Marketo will only pre-fill form fields if the URL used to navigate to the Marketo landing page contains a valid mkt_tok URL parameter value (which occurs when users click tracked links in Marketo emails). What that means is, any time a person is viewing a Marketo landing page with a form, the URL being used must contain the mkt_tok token in the query string, otherwise the form on that landing page will not be pre-filled. If the URL in the browser window does have a valid mkt_tok tracking token, then the form within the page will pre-fill as expected with data corresponding to the person record associated with that mkt_tok.

Also note that if you are embedding Marketo Landing Pages within other web pages using an <iframe>, the mkt_tok would need to be passed from the parent page to the <iframe> URL if you intend for form prefill to work within the <iframe>

​How did it work before?

Previously, Marketo landing pages would rely on Munchkin tracking cookies to identify known person records, and forms would pre-fill based on that cookie. Form pre-fill did not require being linked to a Marketo landing page from a tracked email link.

Why is this changing?

This upgrade is being made to provide a more consistent and more secure experience with Marketo’s forms. We have identified that, in the past, people have experienced scenarios where data pre-filled into a form didn’t always correspond with the actual person viewing the page. For example, people using a shared computer or those who may have been cookied incorrectly by clicking through a forwarded email, could end up viewing incorrect data associated with a different person.

To provide a more consistent customer experience, and as a security enhancement, Marketo is upgrading the conditions under which the form pre-fill will display known customer information. In short, pre-fill will only work when users clickthrough links in Marketo emails, demonstrating that they have ownership of the email address associated with the known person record. Below is a list of different scenarios and how form pre-fill will work moving forward.

Please note, these changes to form pre-fill will not affect any other functionality of Marketo Forms, including the progressive profiling feature.

ScenarioWill the form pre-fill?Notes
Clicking a tracked link in a Marketo email to a Marketo landing page with a form which has pre-fill enabledYesThe email link must have mkt_tok enabled. Links that are not tracked or that have mkt_tok disabled will not work.
Navigating directly to a Marketo landing page with a form which has pre-fill enabledNoA direct link to the landing page will not have the mkt_tok present in the HTTP request.
Refreshing a Marketo landing page with a form which has pre-fill enabledNoThe mkt_tok is stripped from the URL after Marketo Landing Pages load so refreshing the page will not include the mkt_tok in the URL. As a result, pre-fill will not work.
Clicking a link in a sample email to a Marketo landing page with a form which has pre-fill enabledNoThe sample email will not have a valid mkt_tok attached to the link and so will not pre-fill the form. If you wish to test form pre-fill you will need to use a real email from a Marketo campaign.

Navigating to a non-Marketo page that includes an embedded Marketo form which has pre-fill enabled

NoThis behavior does not change with the upgrade. Pre-fill has never been supported for Marketo forms that are embedded on non-Marketo pages.
Navigating to a non-Marketo page that includes an <iframe> pointing to a Marketo Landing Page that includes a form with pre-fill enabledWith custom implementationThe form within the Marketo Landing Page that is being loaded in the <iframe> will pre-fill if the mkt_tok value from the original HTTP request is passed along to the <iframe> URL
Visiting a Marketo page with a mkt_tok that is not associated with the same person record as an existing Marketo Munchkin cookie currently stored on the browserNoThis will prevent the wrong person’s information from being displayed in cases where a computer is shared, or an email with a mkt_tok tracked link is forwarded to another person that may already be cookied as a known person in your database.
Copying a Marketo tracked link from an email and sharing/pasting it externally (email, blog, chat, social media post, etc.) that enables another individual to click the tracked linkYesThe tracked link in a Marketo email will redirect to a URL with the mkt_tok included, so anyone clicking this link will reach a page and see pre-fill data associated with the known person record from the “to” line of the email.
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

142 replies

Jason_Hamilton1
Level 6
April 10, 2019

@Sanford Whiteman​ has a great solution that I have implemented a couple of times, and it works like a charm.  https://blog.teknkl.com/pre-fill-any-site-any-form/

Raymond_Johnson
Level 3
April 10, 2019

Hi @Sanford Whiteman​, it is the page -> page+form part of the journey that is worry-some. We have forms that display conditional information based of form per-fills, and i'm fairly sure this is going to break that functionality.

SanfordWhiteman
Level 10
April 10, 2019

it is the page -> page+form part of the journey that is worry-some. We have forms that display conditional information based of form per-fills, and i'm fairly sure this is going to break that functionality.

If you're using custom JS to create form behaviors, and the code expects that fields with values in the db will be non-empty, then Yes: that would be affected.

But it all could be worked around, as Jason notes.

Valerie_Blassey
April 10, 2019

Is there a way to append this mkt_tok URL parameter value to all the links from my website to Marketo forms? If yes, where would I find it? Or is is unique to the user?

Ayan_Talukder
Level 4
April 10, 2019

Hi Sanford, do you have a link to your blog or post that discusses the method you used to pre-fill embedded Marketo forms on a non-marketo page?

Ayan_Talukder
Level 4
April 10, 2019

Thanks Jason. I just asked @Sanford Whiteman​ about this haha. Appreciate it!

Ayan_Talukder
Level 4
April 10, 2019

I agree, a "community" post for something that could impact many organizations seems really silly... It's going to mess with a lot of people, and the change is coming so soon.

SanfordWhiteman
Level 10
April 10, 2019

Hi Sanford, do you have a link to your blog or post that discusses the method you used to pre-fill embedded Marketo forms on a non-marketo page?

Form Pre-Fill. External sites. No limits. You're welcome.

SanfordWhiteman
Level 10
April 10, 2019

The mkt_tok is unique to not only the user, but the email that the user received. You cannot generate it yourself, though you can read it from JS when someone has clicked a Marketo email to get to the page.

You could presumably persist it to cookie/local storage and restore it later, but there are far easier approaches.

Valerie_Blassey
April 10, 2019

Thanks for your reply. I see your solution link above.