Skip to content
This repository has been archived by the owner on Mar 2, 2018. It is now read-only.

feat(unblock): Add support for the unblock SUMO link. #48

Merged
merged 1 commit into from Nov 24, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
15 changes: 15 additions & 0 deletions account-blocked-sumo-link/account-blocked-sumo-link.js
@@ -0,0 +1,15 @@
'use strict';

module.exports = {
name: 'The account blocked SUMO link',
startDate: '2015-01-01',
independentVariables: ['blockedSigninSupportUrl'],
eligibilityFunction: function (subject) {
return true;
},
groupingFunction: function (subject) {
return {
blockedSigninSupportUrl: 'https://support.mozilla.org/kb/accounts-blocked'
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I asked Joni from SUMO whether we need to add any utm_* parameters to the link.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The response in https://bugzilla.mozilla.org/show_bug.cgi?id=1310822#c16 is:

In that case, you can link to an article from a website without the version/OS/Locale/ values. You can link directly to: https://support.mozilla.org/kb/accounts-blocked

};
}
};