Page MenuHomePhabricator

Enable 90 day snooze: Comms Preferences Centre update
Open, Needs TriagePublic

Description

We'd like to add/enable snooze functionality on our existing communications preference centre, so that supporters can choose to pause receipt of communications (specifically email for now) for a pre-determined period, as an alternate option to unsubscribing.

More context below


Following up from these Phabs:

T354586: Determine if we need to have 1-click unsubscribes on our thank you etc emails
T354231: One click unsubscribe - by Feb!
T354587: Add/ fix page to support 1-click-ubsubscribe

We have determined that our path forward is to offer supporters/subscribers a "manage your preferences" link in our transactional email footers in lieu of "1-click unsubscribe" functionality as described by Google in these documents.

This link will take them to a donor preferences page "https://donorprefernces.wikimedia.org/xxxxxxx" that will enable them to select and save their subscription preference. We'd like to add the ability for supporters to snooze/pause communications from us for a period of 90 days on this page.

mock-up below; please note we do not want to enable supporters to choose different kinds of communications from WMF right now, but will want to do so in the near future.

image.png (598×866 px, 88 KB)

Event Timeline

From slack, we need to make unsubscribe success message is not confusing for this 90 days snooze donor: sorry to see you go, you're unsubscribed OR thanks for updating your preferences, you will not receive emails to this address for 90 days.

Flagging that the functionality we are working towards is to enable supporters to also select comms preferences in the form:
https://docs.google.com/presentation/d/11stR8HNHRm2AVYKk5JY8wmhQGqdd1EIad_Mneqk1FP4/edit#slide=id.g1f20a8326f1_2_36

Noting that the confirmation page copy (after a subscriber submits their preferences) should be as follows:

Header: Email Preferences Updated
Main Copy: Your email settings have been successfully updated. We appreciate your continued support. If you have any questions or need further assistance, please don't hesitate to email us at donate@wikimedia.org

Change #1025388 had a related patch set uploaded (by Ejegg; author: Ejegg):

[mediawiki/extensions/DonationInterface@master] WIP add snooze option to Email Preferences form

https://gerrit.wikimedia.org/r/1025388

From slack, we need to make unsubscribe success message is not confusing for this 90 days snooze donor: sorry to see you go, you're unsubscribed OR thanks for updating your preferences, you will not receive emails to this address for 90 days.

Just saw this comment. I've made a new Phab to track that work: T363717: Update text on email preferences success page

Some questions to clarify the desired functionality:

  1. Should we show the snooze option when a donor is already opted out?

1.1) If we show the snooze option for opted-out donors, does selecting it opt them back IN after the snooze period ends?

  1. Do we need to show when a donor is already snoozed (assuming it's known to Civi)?

2.1) If so, do we need to show until when the donor is snoozed?
2.2) If a donor is already snoozed, should choosing the opt-in option cancel the snooze? (we need to check if this is possible via the Acoustic API)

Change #1025418 had a related patch set uploaded (by Ejegg; author: Ejegg):

[wikimedia/fundraising/crm@master] Add snooze date to getPreferences output

https://gerrit.wikimedia.org/r/1025418

Change #1025435 had a related patch set uploaded (by Ejegg; author: Ejegg):

[wikimedia/fundraising/crm@master] WIP set snooze_date from email preferences consumer

https://gerrit.wikimedia.org/r/1025435

@MSuijkerbuijk_WMF adding you to this task so we can discuss these questions!

Change #1025418 merged by jenkins-bot:

[wikimedia/fundraising/crm@master] Add snooze date to getPreferences output

https://gerrit.wikimedia.org/r/1025418

@MSuijkerbuijk_WMF and @AKanji-WMF for an initial version, I'm thinking of deciding the questions this way to simplify things:

  1. When a donor is opted out, we do not show the snooze option
  2. When a donor is snoozed, we show the snooze option as selected but do not add any text saying until when they are snoozed.
  3. If they are snoozed and submit the form again with the snooze option selected, we extend the snooze period to 90 days from the date of form submission.

Does that sound good?

@Ejegg I'm talking to Anil in detail next week, but just thinking about these options, number 3 might not be too clear for donors, they might not be aware that they are re-snoozing themselves again (unless we tell them). That is my view, but open to see what is doable and the reasoning behind this.

Change #1026125 had a related patch set uploaded (by Ejegg; author: Ejegg):

[mediawiki/extensions/DonationInterface@master] Hide snooze for opted out donors

https://gerrit.wikimedia.org/r/1026125

Change #1025388 merged by jenkins-bot:

[mediawiki/extensions/DonationInterface@master] Add snooze option to Email Preferences form

https://gerrit.wikimedia.org/r/1025388

Change #1026125 merged by jenkins-bot:

[mediawiki/extensions/DonationInterface@master] Hide snooze for opted out donors

https://gerrit.wikimedia.org/r/1026125

Change #1026948 had a related patch set uploaded (by Ejegg; author: Ejegg):

[mediawiki/extensions/DonationInterface@master] Fix prefs display when contact snoozed

https://gerrit.wikimedia.org/r/1026948

Change #1025435 merged by jenkins-bot:

[wikimedia/fundraising/crm@master] Set snooze_date from email preferences consumer

https://gerrit.wikimedia.org/r/1025435

Change #1026948 merged by jenkins-bot:

[mediawiki/extensions/DonationInterface@master] Fix prefs display when contact snoozed

https://gerrit.wikimedia.org/r/1026948

@MSuijkerbuijk_WMF @AKanji-WMF we've got an MVP of this deployed. It's available by clicking on the Email preferences links on the Civi contact summary (that link may be down near the bottom of the right side now, not sure why).

The job to get the request into Civi runs every 5 minutes, so submitting a snooze request and reloading your prefs center link after that amount of time should show the snooze option as selected. It might take a few more minutes to get that snooze status into Acoustic.

Thanks @Ejegg - looking good.

I tested and when reloading the link I saw the snooze option selected. Is that how we expect it to work? Did we talk about adding DR wording in there to clarify to the donor that it's selected? Apologies is this is already discussed, just asking for my information.

Looking at the MVP, does the change email also work? And one small design issue (see attached) there's a weird line break with the bracket caused by extra spaces between brackets that should be removed.

Screenshot 2024-05-15 at 12.17.46 PM.png (242×636 px, 19 KB)

good catch on that linebreak @MSuijkerbuijk_WMF . I've got a small style change that should fix it.

As far as the extra text goes, that's still totally an option. I just wanted to get something functional out as a first step.

Email change should be working, BTW.

Change #1031945 had a related patch set uploaded (by Ejegg; author: Ejegg):

[mediawiki/extensions/DonationInterface@master] Don't wrap text in 'change email' link

https://gerrit.wikimedia.org/r/1031945