Preference Center Unsubscribe From All Selection Is Not Retained For future Visits

DH
Level 2
Level 2

Preference Center Unsubscribe From All Selection Is Not Retained For future Visits

Hello,

 

We're building a preference center where we'd like the selections to remain intact when the user revisits the page. On our test page we have three options, two are custom Salesforce fields and one utilizes the Unsubscribed check box. The custom Salesforce check boxes retain their marks upon subsequent page visits, but the Unsubscribe From All check box is wiped clean when selected and the form is submitted. We'd like to maintain this selection so the user can see their unsubscribed status upon revisiting the page.

 

Additional Information

When revisiting the preference center page after the unsubscribe from all box is checked and the from is submitted, the form initially retains the email address for the user but all of the check boxes are unchecked. By the next day, the email address no longer loads (it's tokened to populate the user's email address upon page load) and the entire form is blank. We have a clean up campaign that runs everyday to remove unsubscribed users from Marketo so it makes sense the email address would no longer populate after 24 hours, however that further complicates the situation because it leaves the form completely blank and filling out that form will not opt a user back into subscribed status. Nor does it allow the user to know their subscription status or if they need to take action depending on their goal.

 

We're planning to add a link to the page that will direct unsubscribed users to a different from that will allow them to resubscribe. The concern is that a blank form will be confusing to the user on: their current subscription status, and which is the correct form to use to resubscribe (the unsubscribe form will not resubscribe them if filled out again).

 

If the Unsubscribed From All check box can be retained (even if the email address is not) the user can know their status and what action to take. Is there a way to retain the check box selection after the form is submitted and the user is wiped from the system? If not, what solution is suggested to solve for this situation?

4 REPLIES 4
dtavangar
Level 2

Re: Preference Center Unsubscribe From All Selection Is Not Retained For future Visits

 
I would get the Unsubscribe status from the Cookies. When the user checks the "Unsubscribed From All" box and submits the form, store this preference in a cookie, so even if/when the user is wiped from the Marketo system, the cookie will retain the status. and then you can check the cookie on page load to ensure the user has not unsubscribed in the past.
 
 

 

SanfordWhiteman
Level 10 - Community Moderator

Re: Preference Center Unsubscribe From All Selection Is Not Retained For future Visits


We have a clean up campaign that runs everyday to remove unsubscribed users from Marketo so it makes sense the email address would no longer populate after 24 hours,

This is an extremely drastic measure and FYI almost nobody else does this.

 

By purging people completely you permanently delete previous engagement data and properties from your system, making it impossible to pick up where you left off. Unless someone has specifically demanded to be purged (i.e. under GDPR) you should not be purging them immediately. Rather, you purge disengaged leads after a period of time, typically at least 90 days.

 

As far as form pre-fill goes, you can use my cross-domain Pre-Fill JS (search for it) to keep the form filled with the lead’s current values. Note you don’t store the values in the browser, because they can be changed from any other device or process.

 

As @dtavangar says you could complement this with another cookie specifically dedicated to their last known Unsubscribed value and have that live on beyond the Munchkin cookie, i.e. even if the person is deleted completely.

DH
Level 2
Level 2

Re: Preference Center Unsubscribe From All Selection Is Not Retained For future Visits

Thank you for your response.

 

I tried searching for "cross-domain Pre-Fill JS" but I didn't find anything related. Can you provide more direction for this resource?

 

We're in the process of adding JS to the page that will wipe the cookie so the correct email address populates in the form. There have been some issues during testing where an email address populated that was not associated with the contact email address in Salesforce. We've tested manually changing the email address but it does not update the intended contact record. 

 

Will the cross-domain Pre-Fill JS be effective with the other JS meant to wipe the cookie clean?

SanfordWhiteman
Level 10 - Community Moderator

Re: Preference Center Unsubscribe From All Selection Is Not Retained For future Visits


I tried searching for "cross-domain Pre-Fill JS" but I didn't find anything related. Can you provide more direction for this resource?contact record. 


Original here and key update here.

 


We're in the process of adding JS to the page that will wipe the cookie so the correct email address populates in the form. There have been some issues during testing where an email address populated that was not associated with the contact email address in Salesforce. We've tested manually changing the email address but it does not update the intended contact record.

Gotta say I don’t understand the scenario you’re describing.

 

Using the native Pre-Fill feature, it’s not possible for the Email field to be pre-filled with any email address other than the address of the original recipient of a tracked link.

 

If a Munchkin cookie is previously associated, but the association is not with the recipient identified by the mkt_tok, pre-fill is disabled. Neither the associated record nor the recipient record is used.

 

Seem like you’re making assumptions and taking technical steps based on an incomplete understanding of how Marketo forms and tracked links work.