Guide · 10 min read

Web push notifications for WordPress: a practical guide

By the Red Balloon team · Updated · Part of WordPress development

Web push notifications for WordPress let a website send short, clickable alerts to visitors who have agreed to receive them, even when the site is not open in their browser. They work through standard browser features, a service worker and the Push API, and on WordPress they are usually added through a plugin connected to a sending service, or through a custom build.

Done well, push notifications for WordPress sites bring back readers for new articles, tell shoppers when an item is back in stock, and update customers on their orders. Done badly, they become one more irritating prompt that visitors block on sight, and a blocked site rarely gets a second chance.

This guide explains how web push works, when it is worth adding, how to ask for permission without annoying people, the main ways to implement it on WordPress, and how to measure whether it is earning its place. It is a guide, not a product: there is no plugin to download here. If you need a custom setup, the final section explains how that work runs.

How web push notifications for WordPress work

Web push relies on a few moving parts that are the same on any website. WordPress simply provides the place where content and triggers live.

  1. A service worker, a small JavaScript file registered by your site, runs in the background of the visitor's browser and listens for incoming messages.
  2. When the visitor agrees to notifications, the browser creates a subscription: a unique address at the browser vendor's push service, plus encryption keys.
  3. Your site, or the sending service you use, stores that subscription. VAPID keys identify your server to the push service.
  4. To send a notification, the server encrypts a short message and posts it to the push service, which delivers it to the browser.
  5. The service worker receives the message and displays it using the Notifications API. A click opens the page you specified.

Some practical requirements follow. The site must run on HTTPS. The service worker must be served from your own domain, which matters when caching, CDN or security plugins rewrite files. Support is broad on desktop and Android browsers. On iPhones and iPads, Safari supports web push from iOS 16.4 onwards, but only for sites the user has added to their home screen as a web app, which makes iOS reach far smaller in practice.

Is web push right for your site?

Push works best when you have timely, specific information that a visitor would genuinely want to know about. It works poorly as a general marketing megaphone.

Good fitPoor fit
News and publishing sites with frequent new contentBrochure sites that rarely change
WooCommerce stores with back-in-stock and order updatesSites whose visitors buy once and never return
Events, webinars and bookings with time-sensitive remindersBusinesses with nothing timely to say
Communities, courses and membership sitesAudiences mostly on iPhone who never install web apps

It also helps to compare push with the other channels you might use for the same message.

ChannelStrengthsLimits
Web pushNo email or phone number needed, instant, low effort to opt inShort messages, tied to one browser and device, limited on iOS
EmailRich content, works everywhere, durableInbox competition, needs an address and consent
WhatsAppVery high familiarity in India, two-way conversationTemplate approval, opt-in requirements and per-message costs through the Business API
SMSReaches any phoneSender and template registration before sending, and tight limits on promotional messages in India

For many Indian businesses, WhatsApp and email remain the primary channels, with push as a light, low-friction addition. If two-way conversation matters more than alerts, consider WhatsApp automation or live chat on your website instead.

Designing the permission prompt

The permission prompt decides everything. If a visitor clicks Block, the browser will not let you ask again unless they change their settings by hand. Browsers also watch how often people reject a site's requests; Chrome, for example, can switch sites with poor acceptance to a quieter prompt that most users never notice.

Ask at the right moment

Never trigger the browser prompt on the first page load. Wait until the visitor has shown interest, such as reading a second article, viewing a product that is out of stock, or completing an order. Firefox and Safari require a user action such as a click before showing the prompt at all.

Use a soft prompt first

Show your own small message first, explaining what you will send and how often, with clear buttons for yes and not now. Only call the browser's real prompt if they say yes. This protects you from permanent blocks by people who were never interested.

Make the value specific

  • Weak: Allow notifications to stay updated.
  • Better: Get a notification when this size is back in stock.
  • Better: Get one alert when we publish a new GST compliance guide, no more than weekly.
  • Better: Get delivery updates for this order.

Implementation options for push notifications on WordPress

There are three broad ways to add push to a WordPress site. The right one depends on volume, data requirements and how much control you need.

OptionHow it worksSuitsWatch for
Hosted service with a WordPress pluginA plugin adds the service worker and prompt, and a third-party dashboard stores subscribers and sends messages. OneSignal is a widely used example.Most blogs, publishers and small storesSubscriber data held by a third party, branding on free tiers, plan limits
Self-hosted pluginThe plugin stores subscriptions in your own WordPress database and sends through browser push services directly.Sites that want data in-house and moderate volumesServer load at send time, plugin maintenance and support quality
Custom buildA developer writes the service worker, subscription endpoints and sending logic, often with a queue for large sends.High-volume sites, custom triggers, integration with CRM or appsDevelopment and upkeep effort

Whichever route you pick, check these points before going live.

  • Only one service worker can control a given scope. A PWA plugin, an offline plugin and a push plugin can conflict, so combine them deliberately.
  • Exclude the service worker file from caching and minification plugins and from CDN rewrites.
  • On multisite installations, confirm how subscriptions are separated between sites.
  • Check where subscriber data is stored and whether that suits your privacy commitments.
  • Test on Chrome, Edge and Firefox on desktop and Android, and on an iPhone with the site added to the home screen.

What to send: campaigns and automated triggers

The most valuable notifications are usually automated and specific to the person, not broadcast to everyone. On a WordPress or WooCommerce site, common triggers include the following.

  • New post published in a category the subscriber chose.
  • Order confirmed, shipped, out for delivery or delivered.
  • Product back in stock or price changed, for a product the subscriber asked to track.
  • Reminder before a webinar, class or appointment the subscriber booked.
  • Cart left without checkout, sent once and only where the visitor has agreed to such reminders.

Broadcast campaigns, such as a festive sale, have their place but should be occasional. Segment by interest, location or language where possible, cap how many messages a subscriber can receive, and keep a quiet window at night. Rich features such as images and action buttons are supported on some browsers and ignored on others, so the title and short text must work on their own.

For stores, these triggers depend on clean order and stock data, which is where solid WooCommerce development pays off. Magento stores face the same questions, covered in our companion guide to push notifications for Magento.

Measuring push notification performance

Measure push against the job you gave it, not by subscriber count alone. A small list of engaged subscribers is worth more than a large list that ignores every alert.

MeasureWhat it tells you
Prompt acceptance rateWhether your timing and soft prompt copy are working
Subscribers lost over timeWhether frequency or relevance is driving people away
Delivery and displayWhether technical issues, expired subscriptions or settings are blocking messages
Click-through rateWhether the message and timing interest people
Conversions from push trafficWhether notifications produce orders, sign-ups or return visits that matter

Add UTM parameters to every notification link so your analytics can separate push traffic and attribute conversions. A clean GA4 setup with key events defined makes this straightforward. Review results regularly, drop notification types that do not perform, and test one change at a time.

When a custom build makes sense

Off-the-shelf plugins suit most sites. A custom implementation becomes worthwhile when you send at high volume, need subscriber data to stay on your own infrastructure, want triggers from systems outside WordPress such as an ERP or CRM, or need push to work alongside a mobile app and other channels from one place.

A custom build typically includes a purpose-written service worker, a subscription API inside WordPress, a sending queue that handles large lists without slowing the site, admin screens for editors, and reporting connected to analytics. The work overlaps closely with custom WordPress development of themes, blocks and plugins.

If you are weighing up push for your site, our WordPress development team can review your current setup, recommend whether a hosted service or a custom build suits you, and implement it with the permission design and measurement covered above.

FAQ

Questions people also ask

Straight answers from the practice lead. Highlighted text marks Red Balloon figures we confirm before publishing.

Do web push notifications work on iPhones?

Partly. Safari on iOS and iPadOS supports web push from version 16.4, but only when the user has added your site to their home screen as a web app and granted permission from there. Ordinary Safari tabs cannot receive web push. For audiences that are mostly on iPhone, push will reach a small share of visitors, so plan email or WhatsApp as the main channel.

    Do visitors need to be on my website to receive notifications?

    No. Once subscribed, a visitor can receive notifications whenever their browser is running, even if your site is closed. On most phones and computers this means notifications arrive like app alerts. If the browser is fully closed or the device is off, the push service holds the message for a while and delivers it later, depending on the expiry you set.

      Will a push notification plugin slow down my WordPress site?

      It should not, if set up well. The service worker runs separately from page rendering, and the prompt script is small. Problems usually come from extra scripts loaded on every page by hosted services, conflicts with caching plugins, or self-hosted sending that runs on the same server during large broadcasts. Test page speed before and after installation.

        Can I move subscribers from one push service to another?

        Sometimes. Subscriptions are tied to the VAPID keys that created them. If you control those keys and can export subscription data, you can usually migrate. Many hosted services do not let you export keys, in which case subscribers must opt in again. Ask about data portability before choosing a service.

          How many push notifications are too many?

          There is no fixed number, but relevance matters more than frequency. Transactional updates that a subscriber asked for are welcome even when frequent. Promotional broadcasts wear out goodwill quickly. Watch unsubscribes and click-through closely, and cap promotional sends per subscriber. If people start blocking notifications after a campaign, scale back and make messages more specific.

            Is web push a replacement for a mobile app?

            No, but it covers some of the same ground. Web push gives a website app-like alerts without asking people to install anything, which suits occasional customers and readers. A native app offers richer notifications, better iOS reach and deeper device features, and suits customers who use you frequently. Many businesses use web push first and add an app later.

              Start with an audit

              Ready for
              lift?

              A paid two-week Growth Audit covers your funnel, ads, site, tracking and automation gaps, and ends with a 90-day plan you can run with or without us. The fee is credited against your next engagement.

              Prefer to talk? Call +91 97114 48083, or email info@redballoon.in.

              A person from the team replies to every enquiry.

              What do you need?
              Your details are sent over a secure, encrypted connection and only used to reply to you.