What is he best way to pre-populate the email address in unsubscribe page? | Community
Skip to main content
Sant_Singh_Rath
Adobe Champion
Adobe Champion
May 10, 2019
Solved

What is he best way to pre-populate the email address in unsubscribe page?

  • May 10, 2019
  • 1 reply
  • 8776 views

Hi All,

I am trying to figure out the best way to pre-populate the email address in the unsubscribe page. So basically, in our unsubscribe page, we want to show the email address to the person who clicked on link but they should not be able to edit the email address. 

I used default value (email address token) for the email address field but default value will get the data from stored cookie and it might differ in some cases.

Is there any way, we can get the email address picked from email?

Any help will be appreciated.

Thanks,

Sant

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 SanfordWhiteman

Just what the title of the post is; "What is he best way to pre-populate the email address in unsubscribe page?"  The most basic common courtesy of any email marketing campaign.


Enable Pre-Fill for the field, as with any field.

If the field isn't on the form, use a token.

1 reply

Level 2
May 10, 2019

I think you achieve this by blocking field updates in admin on the email address field.  I haven't tried it but I anticipate it would work. 

SanfordWhiteman
Level 10
May 10, 2019

Nope, blocking field updates isn't related to the need here. That doesn't have anything to do with the way the field value or form field is displayed on an LP.

What Sant wants is either static HTML text or a read-only form <input> w/the Email Address value linked to the lead that clicked a Marketo-tracked link (which is not necessarily the Email Address of the lead associated with the current Munchkin session).

Unfortunately -- perhaps surprisingly -- this would take some tricky JS to accomplish because of the possible disparity between the associated lead and currently-visiting lead.

Jignesh_Bhate
Level 3
May 11, 2019

Hi Sanford

I have some doubts on the unsubscribe functionality - please help

  • I don't see the HTML code which says something like this 'This email was sent to ji***b*h@g**il.com (I suppose this is picked up from {{lead.Email Address}} - please correct if I am wrong). So, where does this code gets picked up from and then made available in the email that gets delivered to the user?
  • Where do you see the code for the default unsubscribe page? How to override it?
  • If the above is available in HTML format, would it not be possible to pick up the email address from the HTML DOM and pre-populate it. I had seen several marketing emails which has this field pre-populated on the unsubscribe page. The default unsubscribe page template in Marketo asks the user to fill the email address in the field and then unsubscribe.

I am new to Marketo and getting to learn. Please pardon my ignorance.

Thanks,

Jignesh