Re: How to show subscribe checkbox only if previously unsubscribed

Anonymous
Not applicable

I've seen a couple of different ways of dealing with the previously unsubscribed but nothing that works exactly for what we're looking for. In respect to anti spam laws like CAN-Spam we're looking for a resolution that allows us to show the subscription checkbox only if the lead has previously unsubscribed. We don't want to automatically change these unsubscribe field based on form fill because we don't want to have to have the language at the bottom of the form that tells leads submissions will subscribe them to our stream. We also don't want to offer leads who are already subscribed a very obvious way to unsubscribe (it's still included in the footer of our emails).

Has anyone set up anything similar to this? Are we be overcautious? Would love to hear what everyone else is doing to respect can-spam laws and such.

20 REPLIES 20
SanfordWhiteman
Level 10 - Community Moderator

Maybe easier than you're framing it. This sounds like the pattern I call self-hiding field: a field whose own visibility is determined by its current value. So if it is checked, it is hidden; if unchecked, it's visible. Right?

Anonymous
Not applicable

Like Dory said, we don't want any confusion like the boolean field changing to 'true' because the box was left empty so we decided against using the unsubscribe filed and instead have a field called 'Newsletter Registration.' From there we will run a data management campaign to resubscribe anyone who was unsubscribed and checked the box on form submission.

I'm having trouble creating the hiding / showing rules because we're using Newsletter Registration but unsubscribe is determining whether to show the field.

SanfordWhiteman
Level 10 - Community Moderator

pastedImage_0.pngpastedImage_0.png

Lynn_Ray_Pardo
Level 5

Thank you, Sanford!

Anonymous
Not applicable

Sanford, Thanks for the visuals. Will this allow us to continue progressive profiling as well as embed the forms on our webpage (not hosted in Marketo)?

Dory_Viscoglio
Level 10

So for conditional visibility rules, you need to have the unsubscribe field as a hidden field on the form that is prepopulated with their value. Then, for conditional visibility you can reference that value.

Dan_Stevens_
Level 10 - Champion Alumni

We don't like using the unsubscribe field as the conditional value for the following reasons:

  • If unsubscribe is FALSE, that doesn't mean that a user has previously opted-in (both opt-in users and non-opt-in users may have unsubscribe = FALSE. 
  • If unsubscribe is TRUE, then yes, it would be good to re-surface the opt-in option to get them to re-subscribe.

As I mentioned above, the conditional testing only works on Marketo LPs since out-of-the-box form prefill doesn't work on embedded forms.

Anonymous
Not applicable

Thanks, Dan. I see your point on the unsubscribe field but our main focus here is to get leads to opt-in so they re-subscribe.

I'm using embedded forms on our external web page now and they are prefilled. We use a Marketo Plugin from WP and they seem to be working. Same goes for any LPs hosted by our third-party. Are you saying that conditions won't work at all on an embedded form?

SanfordWhiteman
Level 10 - Community Moderator
I'm using embedded forms on our external web page now and they are prefilled. We use a Marketo Plugin from WP and they seem to be working.

At the cost of a glaring Denial of Service vulnerability, no doubt. The problem is there's no WP plugin that's been successfully built to perform PreFill without such a vulnerability. As such we don't consider any of those professional-grade.

Marketo embedded forms don't natively support PreFill. They do however support Progressive Profiling, and (actually contrary to Dan's point in this case) with a boolean field, you can use ProgPro to determine whether the checkbox is checked or not, since a non-empty boolean field in Marketo is true / empty field is false.

Dan_Stevens_
Level 10 - Champion Alumni
They do however support Progressive Profiling, and (actually contrary to Dan's point in this case) with a boolean field, you can use ProgPro to determine whether the checkbox is checked or not, since a non-empty boolean field in Marketo is true / empty field is false.

The point I was trying to make is to be careful with boolean fields in Marketo since Marketo considers the field having a value in both cases (true and false).  And that if you did show the field to an already opted-in user - and that user didn't check the field - he/she's opt-in value would revert back to false.  In otherwords an UPDATE to that field is taking place even when no value - or so it appears - exists.

SanfordWhiteman
Level 10 - Community Moderator

... In other words an UPDATE to that field is taking place even when no value - or so it appears - exists.

That's true by default, but Forms 2.0 API + JS can be used to make sure the field is not sent with the form.

In a Progressive Profiling context, a false boolean field is considered to be not-filled-in.  Because of this, even when PreFill is not supported directly (i.e. embeds) you can still determine whether the field was orginally false.

Carrie_Chandle1
Level 6

In a Progressive Profiling context, a false boolean field is considered to be not-filled-in. Because of this, even when PreFill is not supported directly (i.e. embeds) you can still determine whether the field was orginally false.

I'm trying to accomplish something similar to OP and this was the exact answer I needed, and way more simple than I thought this process would be. Setting the field as progressive takes care of it!

SanfordWhiteman
Level 10 - Community Moderator

Glad it helped!

Anonymous
Not applicable

So we tried hiding the newsletter reg field based on the unsub value and came across a couple of problems:

  • If the field is a part of ProgPro, it will not show if a known visitor unsubscribes
  • If the field is outside of the ProgPro, it looks awkward above the ProgPro fields

hideifunsubtrue.JPG

I set the visibility to:

hideifunsubtrue.JPG

Is there a workaround we can use with ProgPro so that we only show the resub field if the unsub field is set to false? I need it to show up even if a known visitor unsubscribes so maybe it's best to house it outside of the ProgPro fieldset like Sanford suggested. Any ideas?

Anonymous
Not applicable

So what's your best suggestion in this instance? We have a pretty low download rate but as we seek to improve those rates I'm not trying to increase our risk DoS.

It sounds like we can accomplish what we want -- to only show the registration field if unsubcribe=false -- only if we use prefill. Not super experienced with custom coding so you'll have to explain what ProgPro is to this rookie.

SanfordWhiteman
Level 10 - Community Moderator

So what's your best suggestion in this instance? We have a pretty low download rate but as we seek to improve those rates I'm not trying to increase our risk DoS.

DoS isn't about legitimate use, it's about legitimate plus malicious use of the form. Any form that uses one API call (or more) in response to end-user actions is a sitting duck for a junior hacker.

It sounds like we can accomplish what we want -- to only show the registration field if unsubcribe=false -- only if we use prefill. Not super experienced with custom coding so you'll have to explain what ProgPro is to this rookie.

ProgPro is Progressive Profiling -- see here: Configure Form Progressive Profiling - Marketo Docs - Product Docs

Anonymous
Not applicable

So if we have a form embedded on our WP site and it triggers a campaign that has multiple flow steps that change statuses and another campaign that delivers the content in an email we're at risk for malicious use negatively affecting us?

Dan_Stevens_
Level 10 - Champion Alumni

You can read how we do it in this thread: Re: Opt-in field checkbox on Form

Dory_Viscoglio
Level 10

In the past I've had success with only showing the subscription preferences on our forms if a person was not already subscribed to something. This way there wouldn't be any confusion with a person not checking the box and does that equal an unsubscribe or not (personally, I don't consider leaving an unchecked box an unsubscribe, but have seen people who do).

An email preference center/unsubscribe page is really where a person should be opting out of email lists that they're on.

Dan_Stevens_
Level 10 - Champion Alumni

The approach that Dory suggests was our intent as well.  But we ran up against the following challenge:

  • When the forms are embedded on our website (non Marketo LPs), the out-of-the-box pre-fill doesn't work.  Originally, we used a hidden form field ("opt-in date") to see if a value already existed; and if so, we hid the opt-in checkbox/language.

And of course the reason why we wanted to hide the field is because Marketo considers boolean fields - even when the value is empty - as having a value ("false") - rather than NULL.  So if someone who was already opted-in, didn't check the opt-in checkbox, Marketo would overwrite the TRUE value with FALSE.

Thus the reason for our complex process discussed in the thread below.