Push notifications in apps and browsers: consent, frequency and scenarios
Push notifications are short messages an app or website sends to a phone or computer screen, even when it is closed. They only work once the user has given permission, so the main question is about product, not technology: when to ask for consent and what to send so that people do not withdraw it. The most useful notifications are ones people are waiting for: an order status, a booking reminder, a reply from support. Promotional messages are acceptable but should be rare, with topic choices in settings and respect for time zones. The server sends them, and each one opens the right screen.
Open the software development page
Types of notifications
The word push often covers several different channels. They are worth telling apart, because each has its own rules and limits:
| Channel | Where it appears | Specifics |
|---|---|---|
| Mobile app push | On the phone screen and in the notification centre | Delivered through Apple and Google services; permission required |
| Web push | In the browser on a computer or phone | Works through the browser; on iPhone only for a web app on the home screen |
| In-app notification | A banner or feed while the user is in the product | No permission needed, but visible only inside the app |
| Email, SMS, messenger | Mail, messages, Telegram | A backup channel for important events if push is turned off |
A good notification system picks the channel by importance: a payment confirmation is worth duplicating by email, while news about a discount can simply be shown inside the app.
How push notifications work technically
Once permission is granted, the app receives a unique device address, called a token, from the system and sends it to the server. When there is something to report, the server sends the message through the Apple, Google or browser delivery service, which delivers it to the device. For web push, the site registers a background script that receives messages even when the tab is closed.
- Tokens change and expire. The server must refresh them and remove invalid ones, or messages will go nowhere.
- Delivery is not guaranteed: the phone may be off, in power-saving mode or offline. Critical messages are duplicated through another channel.
- Sending is best done through a queue, so a mass mailing does not overload the main server and a retry does not arrive twice.
- One user may have several devices. Decide whether a notification goes to all of them or only to the most recently active one.
The server side, queues and token storage are covered in app backend development.
When and how to ask for permission
The system permission dialog can only be shown a limited number of times, and after a refusal the user can only re-enable notifications in settings. So the moment has to be chosen deliberately.
- Do not ask on first launch. The person does not yet understand why the product needs notifications.
- Ask when the benefit is obvious: after an order is placed (shall we tell you when the courier leaves?) or after a booking (remind you the day before?).
- First show your own screen with an explanation and Yes and Later buttons, and show the system dialog only after Yes.
- If the user chose Later, do not repeat the question on the next few visits.
- Offer settings by topic: orders, reminders, news and offers. People are more likely to switch off one topic than all notifications at once.
Recent Android versions also ask for permission explicitly, as iPhone does, so a consent flow is needed on both platforms. If the user refuses, the product must keep working: they will see important events inside the app, by email or in a message, and the profile should keep a clear hint on how to turn notifications on later.
Scenarios that deliver value
Notifications pay off when they save the user time or help them not miss something important:
- Transactional: order accepted, paid, handed to the courier, delivered; payment failed.
- Reminders: a booking tomorrow at a given time, a subscription ending, bonus points about to expire.
- Replies and events: a support reply, a new message, a document signed, a request approved.
- Personal hints: a wanted product is back in stock, the price of a saved item has dropped.
- Win-back: the person has not visited for a while and has an unfinished action, sent rarely and only when relevant.
Think separately about notifications for staff: a new request, an overdue task, an approval needed. For internal scenarios Telegram is often more convenient than a separate app. How notifications work in loyalty programmes is covered in loyalty program development.
Frequency, timing and copy
The main reason people turn notifications off is that there are too many of them and they are not relevant. Every unnecessary message lowers the chance that the next, genuinely important one will be read. A few rules we follow:
- Cap the number of marketing notifications per user per week and count it on the server.
- Respect time zones and quiet hours: a promotional message at night almost always leads to notifications being switched off.
- Group similar events: three new messages is better than three separate notifications.
- Be specific: what happened and what to do. The title carries the point, the body carries the details.
- Do not show sensitive information on the lock screen: amounts, diagnoses, codes, the contents of documents.
- Every notification opens the right screen, such as the order, booking or chat, not the home page.
How to measure the effect of notifications
Notifications have their own metrics: the share of users who granted permission, the share delivered, the share opened and the number of opt-outs after a send. Look at them per scenario: transactional messages are opened readily, promotional ones less often, and promotional ones are the main cause of opt-outs.
What matters more than opens is the action that follows: a payment, a repeat booking, a return to the product. For this, every notification needs a scenario tag that reaches product analytics. A new scenario is worth testing on part of the audience: one group receives the notification and the other does not. The difference in actions shows whether it brings value or only noise. Which events to track and how to build funnels is covered in product analytics for apps.
Push notifications in PWAs and on websites
Web push lets you send notifications without a mobile app: to computers, to Android and, on iPhone, if the web app has been added to the home screen. The consent rules are the same, and pushy requests on websites are even more irritating: most people close an Allow notifications dialog that appears the moment a page opens.
For a website people visit once a month, web push is rarely needed. For a service where the user waits for a status or a reply, it is useful. Installing a web app on the home screen and the iPhone limitations are covered in progressive web apps.
Common mistakes
- Asking for permission on first launch without an explanation.
- Sending everyone the same thing regardless of interests and actions.
- Not recording which notifications have already gone out, and sending duplicates after a failure.
- Sending the notification to the home screen instead of the relevant item.
- Not letting people switch off individual topics, so they switch off everything.
- Relying on push alone in an important scenario, such as a failed payment.
How we build notifications at JEEKSSHIRE 24
We start with a list of scenarios: which events matter to users and staff, which channel to use for each and what to do if push is turned off. Then we design the consent screen, topic settings and copy, and on the server a sending queue, token management, duplicate protection and analytics tags. Notification texts can be prepared in several languages from the start.
We build notifications as part of mobile apps and web applications, and tuning and developing scenarios after launch can be handed over to software support. All services are on the page custom software development.
Frequently asked questions
What is a push notification?
A short message from an app or website that appears on the device screen even when the product is closed. It requires the user's permission.
How is push different from an in-app notification?
Push reaches the device screen at any time. An in-app notification is visible only while the user is in the product and needs no permission.
When is the best time to ask for notification permission?
When the benefit is obvious, such as after an order or a booking. Show your own explanation first and the system request after the user agrees.
How often can promotional push be sent?
Rarely and with a per-user cap. The right frequency depends on the product, so it is checked against the number of opt-outs.
Why do push notifications not arrive?
The device may be offline or in power-saving mode, the token may be out of date, or the user may have turned notifications off. Important messages are duplicated by email or message.
Can a website send push without an app?
Yes, through web push after permission is granted in the browser. On iPhone this works for a web app added to the home screen.
What should never go in a push notification?
Access codes, passwords, amounts and personal details visible on the lock screen. Details are better shown after the notification is opened.
Can staff notifications be set up in Telegram?
Yes. For internal scenarios such as new requests, overdue tasks and approvals, a Telegram bot is often more convenient than a separate app.