Hi all,
We have finally (finally!) set up Marketo landing pages with a useable subdomain, and I have built an unsubscribe form which sits on an unsubscribe landing page.
In my initial tests, the email address was pulling through when I clicked a link from a live email, but in recent tests it is not.
Questions:
- what's the deal?
- Does email prefill not work even if a lead clicks the link in an email and it goes to a MKTO landing page and MKTO form?
- Can lead.email address token be used in a field in a form? (I'm also searching community forum for that answer)
- Do I still need to add ?mkt_unsubscribe=1&mkt_tok=##MKT_TOK## to the end of the link?
Thanks,
Lucas
Solved! Go to Solution.
Does email prefill not work even if a lead clicks the link in an email and it goes to a MKTO landing page and MKTO form?
That's in fact the one situation in which Pre-Fill works out of the box!
However:
- Can lead.email address token be used in a field in a form? (I'm also searching community forum for that answer)
Technically: No. I wouldn't use it because you can break the form completely if you have certain uncommon characters in the Email Address, and I'm a stickler for adhering to standards and not leaving any weird edge cases out there.
Practically: Yes. In 99.999% of real-world cases you will be fine because of the values expected for the particular field {{Lead.Email Address}},though certainly not for all lead fields.
- Do I still need to add ?mkt_unsubscribe=1&mkt_tok=##MKT_TOK## to the end of the link?
Not if it's a regular tracked link, that'll be added automatically.
One thing to be careful with in testing programs like this is your cookies. If you tested with more than one email address, you are likely to have collected more than one cookie on your device as well. This can cause Marketo to get confused on "who you are" resulting in the form no longer prefilling.
You can prevent this by either clearing your cookies between each test or run each test in an incognito browser session (don't forget to close your incognito windows and reopen a new session for each new test).
Katja is right, the mkt_tok also must correspond to the already-associated lead, if there is one. A conflict will result in Pre-Fill being disabled.
(You could also use my cross-domain Pre-Fill JS library which is not subject to these restrictions.)
Use the string "yes" or string "no" (without the quotes of course).
Does email prefill not work even if a lead clicks the link in an email and it goes to a MKTO landing page and MKTO form?
That's in fact the one situation in which Pre-Fill works out of the box!
However:
- Can lead.email address token be used in a field in a form? (I'm also searching community forum for that answer)
Technically: No. I wouldn't use it because you can break the form completely if you have certain uncommon characters in the Email Address, and I'm a stickler for adhering to standards and not leaving any weird edge cases out there.
Practically: Yes. In 99.999% of real-world cases you will be fine because of the values expected for the particular field {{Lead.Email Address}},though certainly not for all lead fields.
- Do I still need to add ?mkt_unsubscribe=1&mkt_tok=##MKT_TOK## to the end of the link?
Not if it's a regular tracked link, that'll be added automatically.
Thanks Sanford, appreciated.
Hi Sanford,
Newbie question here.
My unsubscribe page is a MKTO form on a MKTO landing page.
In the form, I have a field; email address (prefill enabled, tested successfully), and a field unsubscribed [type=hidden].Prefill is enabled in all fields on the form.
The default value though - what will work for MKTO? Value = Y/Yes/True?
I just ran a test and my record was not unsubscribed.
My test record's activity log is recording the form fill, but reporting:
Email: lucas.metherall+WildlifeSG@gmail.com
Unsubscribed: false
UnsubscribedReason: I don’t remember signing up for them
One thing to be careful with in testing programs like this is your cookies. If you tested with more than one email address, you are likely to have collected more than one cookie on your device as well. This can cause Marketo to get confused on "who you are" resulting in the form no longer prefilling.
You can prevent this by either clearing your cookies between each test or run each test in an incognito browser session (don't forget to close your incognito windows and reopen a new session for each new test).
Katja is right, the mkt_tok also must correspond to the already-associated lead, if there is one. A conflict will result in Pre-Fill being disabled.
(You could also use my cross-domain Pre-Fill JS library which is not subject to these restrictions.)
Thanks Katia, appreciated.