Disabling Munchkin Cookie, but maintaining Pre-fill | Community
Skip to main content
AJ_Valles3
Level 2
August 29, 2018
Question

Disabling Munchkin Cookie, but maintaining Pre-fill

  • August 29, 2018
  • 2 replies
  • 3657 views

Hello,

Im designing a events survey for outside sales to send on responses on how their follow-up with certain executives went.

Each rep will get 4 internal email alerts for 4 different customers. What we'd like to accomplish is having one landing page for all 4 of these leads: we'd like our sales rep to be able to click into each email, and have the lead information pre-populated for each of these to avoid any data loss or having to require the sales rep to enter the information manually each time.

Any help?

I tried this: https://blog.teknkl.com/pre-fill-any-site-any-form/ from @Sanford Whiteman​

With no luck, probably the incorrect solution.

2 replies

Grace_Brebner3
Level 10
August 29, 2018

Hey AJ,

Have you tried URL parameters? See: Set a Hidden Form Field Value - Marketo Docs - Product Documentation

I would think that you could just set up URL parameters on the link in the email alerts to populate with lead token values, and these would then populate into the form even if you disabled munchkin tracking/.

SanfordWhiteman
Level 10
August 29, 2018

The external site Pre-Fill code is only necessary for, well, external sites. Marketo-hosted LPs, which I assume this one is, have Pre-Fill built in.

Pre-Fill also doesn't require Munchkin when you click on a Marketo email link -- it *cannot* depend on Munchkin, because the cookie is only set after the page is rendered! Rather, it depends on the cookie *or* on the mkt_tok query param, which uniquely identifies the lead + email.

The problem you're actually facing doesn't have to do with Munchkin, but with the fact that alerts don't populate the mkt_tok for the original lead.

As Grace suggests, you can pass the original lead's values as URL parameters. But you can't natively fill visible fields from URL params, only hidden fields. So this isn't enough on its own; you also need supplementary JS on the page, which I'll supply later.

AJ_Valles3
Level 2
August 29, 2018

Awesome thanks!

I can use the above to fill in UTM and other hidden fields through the URL, but not to populate the visible fields im using correct?

SanfordWhiteman
Level 10
August 29, 2018

What do you mean by "the above"?