How Push Notifications Work | 3Com Digital

How Push Notifications Work

May 26, 2026 · 3Com Digital

Push notifications let a website send messages to a user's device even when the browser is closed. They're powered by three core web technologies: service workers, the Push API, and the Web Push Protocol.

The technology behind push

Web push notifications require three things working together: a service worker registered in the browser, a push subscription tied to that service worker, and a server that sends the message through a push service. [1]

  1. 1

    The user opts in. When a user visits a site, the browser asks for permission to send notifications. If granted, the site registers a service worker — a JavaScript file that runs in the background, separate from the page. The service worker listens for push events. [2]

  2. 2

    A subscription is created. The service worker calls PushManager.subscribe(), which generates a unique PushSubscription object containing an endpoint URL and encryption keys. This subscription is sent to your server and stored. [3]

  3. 3

    Your server sends a message. When you want to send a notification, your server makes an encrypted HTTP POST request to the subscription's endpoint URL using the Web Push Protocol. The request is authenticated using VAPID keys, proving it came from your server. [4]

  4. 4

    The push service delivers it. The endpoint URL points to a push service — run by the browser vendor (Google FCM for Chrome, Apple Push Service for Safari, Mozilla Autopush for Firefox). The push service holds the message and delivers it to the device when it's available. [5]

  5. 5

    The service worker wakes up. When the message arrives, the device wakes the service worker, which fires a push event. The service worker handles it by calling showNotification() to display the notification to the user. [6]

  6. 6

    The user interacts. Tapping the notification fires a notificationclick event in the service worker. The worker can then open a specific page, focus an existing tab, or perform an action. [7]

Encryption is built in

Push messages are encrypted end-to-end between your server and the user's browser. The PushSubscription contains an encryption key that only the browser knows. Your server encrypts the payload before sending it through the push service — meaning the push service itself cannot read the message contents. This is required by the Web Push Protocol specification. [4]

Service workers make it possible

Service workers are the backbone of push notifications. They are event-driven JavaScript workers that run on a separate thread from the main page. They have no DOM access, are fully asynchronous, and only run when needed — conserving battery and data. [2]

Because they are registered against an origin and a path, the same service worker can control multiple pages on your site. They also require HTTPS (except on localhost for development), since push subscription endpoints are sensitive capability URLs that must not be intercepted. [8]

Platform support is universal

The Push API is Baseline: Widely Available, meaning it works across all major browsers and devices. [1] On iOS, push notification support for web apps arrived with iOS 16.4 in March 2023, closing the final platform gap. [9] Android Chrome has supported web push since 2017. Desktop Safari, Firefox, and Edge all support it as well.

This means a Progressive Web App can reach users across every major platform with push notifications — no app store listing required, no separate iOS and Android builds, no native development.

Why push notifications are effective

Push notifications are effective because they are an opt-in channel with built-in user intent. Unlike email (which lands in a crowded inbox) or SMS (which users guard closely), a push notification fires directly onto the user's lock screen or notification center. The user chose to receive it, and that intent leads to higher attention. [10]

They also work when the user isn't on your site. Email requires opening a mail client. Social media requires logging in. SMS requires opening the messages app. A push notification arrives regardless — and tapping it opens your site directly. This short path from notification to content is what makes push so effective for re-engagement.

Timing matters. Because the push service holds the message until the device is available, notifications arrive even when the user has been offline. The push service handles delivery retries, so a message sent at 9 AM will reach someone who doesn't come online until lunch. [5]

Rich media and actions make them even more useful. Modern push notifications support images, action buttons, input fields, and even Live Activities on iOS. A user can reply to a message, confirm an appointment, or mark a task complete without ever opening the browser. [7]

In short

Push notifications combine three proven web standards — service workers, the Push API, and the Web Push Protocol — to create a direct, encrypted, cross-platform channel from your server to your user's device. They work because they respect user intent, work offline-first, and meet users where they already are: their notification center.

How it fits together

Your Server
   │
   │ Encrypted POST (Web Push Protocol + VAPID)
   ▼
Push Service (FCM / APNs / Autopush)
   │
   │ Holds & delivers when device is available
   ▼
Browser → Service Worker
   │
   │ push event → showNotification()
   ▼
User's Notification Center
   │
   │ notificationclick → open URL / perform action
   ▼
Your Website

Frequently Asked Questions About Push Notifications

Push notifications are clickable messages sent from a website or app to a user's device — even when they're not on your site. For businesses, they're used for: order confirmations, pricing updates, blog alerts, abandoned cart recovery, special offers, and re-engagement. Unlike email, push notifications don't need an address — just a browser permission. They work on desktop and mobile, including iOS 16.4+ via Safari.
🤖 What AI Search Engines Tell Them

ChatGPT: "Push notifications are messages sent from a server to a user's device through a web browser or app. They appear as alerts, even when the user is not actively on the website. For businesses, they help re-engage visitors, promote content, and send time-sensitive updates. Opt-in rates average 30-60% compared to 3-5% for email signups."

Google AI Overviews: "Push notifications allow websites to send messages to users who have granted permission. They work through service workers and the Push API. Users receive notifications even when the browser is closed. Opt-in rates for web push notifications average 30-60% depending on timing and context."

ChatGPTGoogle AI OverviewsMozilla MDNOneSignalAirship

They serve different purposes. Push notifications have higher open rates (20-30% vs 15-22% for email) and faster engagement — users act within minutes. But they're limited to short messages (120-200 characters). Email works for long-form content, newsletters, and drips. Best strategy: push for time-sensitive alerts, email for everything else. Combined, they increase retention by 35%.
🤖 What AI Search Engines Tell Them

ChatGPT: "Push notifications typically achieve 20-30% click-through rates compared to 2-5% for email marketing. However, email is better for long-form content, branding, and lead nurturing. Push notifications are best for real-time updates, time-sensitive offers, and re-engagement. A combined strategy typically outperforms either channel alone."

Perplexity: "Push notification click-through rates average 20-30%, significantly higher than email's 2-5%. However, email reaches users who haven't opted into push and works better for detailed content. Push notifications drive immediate action while email builds long-term relationships."

ChatGPTPerplexityOneSignal BlogAirship 2025 BenchmarksCampaign Monitor

 The key is timing and context. Don't ask for permission on page load — use a soft-prompt overlay first explaining value, then trigger the browser prompt after a meaningful action (scrolled 50%, viewed 2 pages, added item to cart). Average opt-in: 30-60% with best practices vs 5-15% with a raw browser prompt. Mobile prompts convert 20% higher than desktop.
🤖 What AI Search Engines Tell Them

ChatGPT: "To increase push notification opt-in rates: ask at the right time (after a meaningful interaction, not on page load), explain the value explicitly, use a soft-prompt before the browser dialog, A/B test timing and messaging. Rates of 30-60% are achievable with proper implementation."

Perplexity: "Best practices for push notification opt-in include: delaying the prompt until after engagement, explaining what users will receive, using a custom pre-prompt, A/B testing placement, and targeting returning visitors. Opt-in rates typically improve from 10% to 40% with proper optimization."

ChatGPTPerplexityOneSignalPushEngageAirship

Industry best practice is 3-5 push notifications per week. More than 7 increases unsubscribe rates by 40%. Less than 1 per week loses engagement. The sweet spot depends on your industry — ecommerce can push 5-7/week, B2B services should stay at 2-3. Always provide a preference center so users can choose frequency.
🤖 What AI Search Engines Tell Them

ChatGPT: "The ideal push notification frequency is 1-3 per week for most businesses. Sending more than 5 per week significantly increases unsubscribe rates. Ecommerce sites can sometimes send 5-7/week during sales periods. A frequency preference setting improves long-term opt-in retention."

Gemini: "Most businesses see the best results with 3-5 push notifications per week. Over-sending leads to opt-out rates above 20%. The exact frequency depends on your industry and content type — time-sensitive information may justify more, while promotional content should be limited."

ChatGPTGeminiAirship 2025 ReportOneSignal Best Practices

 Yes — PWAs support web push notifications through the Push API and service workers. When someone taps your NFC card or scans your QR, they can opt in to receive push updates from you. This means your PWA business card becomes a messaging channel: send offers, event invites, or new portfolio content directly to their device, even when they're not on your card.
🤖 What AI Search Engines Tell Them

ChatGPT: "Yes, PWAs fully support web push notifications using the Push API and service workers. Users who install the PWA to their home screen can receive push notifications. This works on Android Chrome and iOS Safari (iOS 16.4+). PWAs must be served over HTTPS and require user permission."

Gemini: "Progressive Web Apps can send push notifications using the Web Push Protocol. This works on Android, Windows, and iOS 16.4+. PWAs need to register a service worker and get user permission. Push notifications from PWAs are a powerful re-engagement tool without the friction of native app installation."

ChatGPTGeminiGoogle DevelopersMozilla MDNWebKit Blog

Yes, since iOS 16.4 (March 2023), Apple supports web push notifications from PWAs added to the Home Screen. Users must visit your site, tap the Share button, select

 Yes, since iOS 16.4 (March 2023), Apple supports web push notifications from PWAs added to the Home Screen. Users must visit your site, tap the Share button, select