Notification opt-in
Notification requests that arrive unasked are refused, and browsers then silence the site.
The answer
Ask for notifications only when people act to turn them on, never when they arrive. As strong as the weakest rule behind it: strong.
-
Don’t ask for notifications when people arrive. Unprompted requests are rarely accepted.
A peer-reviewed study of over 300 million browser clients: about 12% of desktop and 23% of phone prompts were granted per client, and 80% and 70% of clients never granted one. A second vendor reports about 99% of prompts unaccepted. Both vendors' own data, in peer-reviewed or first-party publications, agree.
- Applies when
- A site wants to send notifications.
- Based on
- Research
- Principle
- Keep people in control
- Common mistake
- A notification prompt on landing.
- ExperimentsExperiment: "Shhh...be quiet!" Reducing the Unwanted Interruptions of Notification Permission Prompts on ChromeIgor Bilogrevic and others, 2021
- Experiment: Permissions request chipChrome team, 2022
- Field dataField data: Websites Need Your Permission Too: User Sentiment and Decision Making on Web Permission Prompts in Desktop ChromeMarian Harbach, 2024
- Field data: Restricting Notification Permission Prompts in FirefoxMozilla, 2019
-
Ask only when people do something on purpose, such as pressing a button that says it turns notifications on.
Notification prompts were allowed 19.9% of the time after a recent interaction against 10.4% without in one vendor's telemetry; another vendor reports 52 to 56% acceptance for first prompts that follow a user action, on a different population. Two browsers require a user action and a third quiets prompts without one. Observational, consistent across vendors.
- Applies when
- Deciding what triggers the prompt.
- Based on
- Research
- Principle
- Keep people in control
- Common mistake
- An overlay asking to "allow notifications" before any content.
- Field dataField data: Websites Need Your Permission Too: User Sentiment and Decision Making on Web Permission Prompts in Desktop ChromeMarian Harbach, 2024
- Field data: Restricting Notification Permission Prompts in FirefoxMozilla, 2019
- Field data: Adding notification permission data to the Chrome User Experience ReportChrome team, 2020
- GuidanceGuidance: Web Push for Web Apps on iOS and iPadOSWebKit blog, 2023
The other rules
-
Wait until people have seen what the notifications are for.
Vendor guidance; the claim that asking in context improves outcomes is given without data.
- Applies when
- Choosing the moment to offer notifications.
- Based on
- Practitioner research
- Principle
- Recognition over recall
- Field dataField data: Adding notification permission data to the Chrome User Experience ReportChrome team, 2020
- GuidanceGuidance: Introducing quieter permission UI for notificationsPJ McLachlan, 2020
- Guidance: Web permissions best practicesweb.dev, 2024
-
Watch how often people accept and block. Low acceptance makes the browser hide your request.
One browser quiets prompts from sites with high deny rates and publishes per-site rates. In its randomized test the quiet prompt cut denials (56.1% to 38.5% on phones) while grants fell about one point.
- Applies when
- Running a site that prompts.
- Based on
- Research
- Principle
- Keep people informed
- ExperimentExperiment: "Shhh...be quiet!" Reducing the Unwanted Interruptions of Notification Permission Prompts on ChromeIgor Bilogrevic and others, 2021
- Field dataField data: Don't Interrupt Me: A Large-Scale Study of On-Device Permission Prompt Quieting in ChromeMarian Harbach and others, 2024
- GuidanceGuidance: Introducing quieter permission UI for notificationsPJ McLachlan, 2020
-
After a refusal, don’t ask again.
One vendor made refusal permanent by default; another warns of automatic blocking. No study of re-asking.
- Applies when
- The person refused.
- Based on
- Practitioner research
- Principle
- Keep people in control
- Common mistake
- Re-prompting after a refusal.
- ExperimentExperiment: Permissions request chipChrome team, 2022
- Field dataField data: Restricting Notification Permission Prompts in FirefoxMozilla, 2019
-
Give people a place to turn notifications on later, since a hidden or dismissed request is easy to miss.
A survey of 13,109 people found 51% had not noticed the quiet prompt and only 40% knew how to override it.
- Applies when
- People may have missed or dismissed the prompt.
- Based on
- Research
- Principle
- Keep people in control
- Field dataField data: Don't Interrupt Me: A Large-Scale Study of On-Device Permission Prompt Quieting in ChromeMarian Harbach and others, 2024
- Field data: Adding notification permission data to the Chrome User Experience ReportChrome team, 2020
Accessibility
- No source we read covers assistive technology and notification prompts.
Open questions
- OpenWhat acceptance rate does a well-timed prompt reach? Vendor figures come from different populations and cannot be compared.
- OpenDoes asking in context improve what people do afterwards? Asserted, not shown.
- OpenRe-asking after denial: no peer-reviewed study found.
Dark patterns
Sources
- ExperimentsExperiment: "Shhh...be quiet!" Reducing the Unwanted Interruptions of Notification Permission Prompts on ChromeIgor Bilogrevic and others, 2021
- Experiment: Permissions request chipChrome team, 2022
- Field dataField data: Websites Need Your Permission Too: User Sentiment and Decision Making on Web Permission Prompts in Desktop ChromeMarian Harbach, 2024
- Field data: Restricting Notification Permission Prompts in FirefoxMozilla, 2019
- Field data: Adding notification permission data to the Chrome User Experience ReportChrome team, 2020
- Field data: Don't Interrupt Me: A Large-Scale Study of On-Device Permission Prompt Quieting in ChromeMarian Harbach and others, 2024
- GuidanceGuidance: Web Push for Web Apps on iOS and iPadOSWebKit blog, 2023
- Guidance: Introducing quieter permission UI for notificationsPJ McLachlan, 2020
- Guidance: Web permissions best practicesweb.dev, 2024
Related
- Browser permission promptsAsk for a permission only when people use the feature that needs it, and say why first.Answer: moderate.
- Email preferencesLeave marketing boxes unchecked, and word the choice positively.Answer: moderate.
- Toasts and notificationsUse messages that vanish by themselves only for things people can afford to miss.Answer: moderate.