Push notifications, also referred to as web push notifications, have gained a lot of popularity among online businesses and marketers over the last couple years. These present another way to capture your audience, increase return visitors, and in most cases have shown drastically higher CTR and engagements vs that of your typical newsletter signups. Today we are going to dive into what exactly WordPress push notifications are, how they can help you expand your website’s reach, and how to quickly add them to your site. A typical setup takes less than 10 minutes!
Push notification technology is rapidly evolving from a simple message delivery system to a rich and interactive medium. – OneSignal
We have used push notifications at Kinsta for a couple years now and on average consistently drive 2,500+ visitors to our WordPress site every month (as seen below). And this is just from this single referral source. What’s even better is that a small portion of these also regularly convert into paying customers. How awesome is that?
- What are Push Notifications?
- Benefits of WordPress Push Notifications
- How to Set up WordPress Push Notifications
- OneSignal Additional Notes and Options
So first off, what exactly are push notifications? WordPress push notifications allow you to automatically notify your audience when you have published new content on your site. Or you can send out predefined messages at any time. This can be a notification on a phone or via a browser, such as Chrome, Firefox, or Safari. Push notifications were originally introduced for Android and iOS devices in 2009 and have been spreading to other platforms ever since. If we look at Google trends between 2014 and today, we can see that the interest around “web push notifications” has been steadily increasing.
Below is an example of a push notification signup request, which you have probably seen before. By clicking “Allow” this enables the site to send you notifications via your browser. The beauty for website owners is that the visitor doesn’t have to be on your site for them to get your notification, they simply have to have their web browser running.
According to caniuse, global support for web push notifications is around 45%. Safari was the first one to provide web push, followed by Chrome, and then Firefox in 2016. Microsoft Edge and Opera also support push. Google Chrome currently holds around 77% of the browser market share, which means simply enabling push notifications in Chrome alone can reach a large audience. Push notifications also work out of the box on Chrome for Android mobile devices. Here is a screen capture below from an Android device and a push notification request. However, they aren’t currently supported on iOS, although they hope to be soon.
Benefits of WordPress Push Notifications
The major benefits of push notifications are that they provide another avenue of communication for your WordPress site. Lots of people skim over emails nowadays, or simply don’t even read them. Push notifications can help bring customers and visitors back to your site by placing your message right in front of them. If you have some doubts about how well push notifications work, check out some of these case studies:
- YouNow improved retention by 19% with web push notifications. – source
- United eXtra Electronics grew their eCommerce sales by 100% with web push notifications. – source
- A+E Networks achieved a 200% increase in user engagement with push notifications. – source
And those are just a couple. There are many other case studies from companies that have had massive success with push notifications. Whether you run an WooCommerce shop or an informational blog, push notifications are definitely something you should try as part of your marketing strategy.
Are push notifications for everyone? Definitely not. Some might feel that they hurt the user experience too much. In any case though, remember not to overuse them, as this might come off as annoying.
How to Set up WordPress Push Notifications
When it comes to setting up WordPress push notifications you have a lot of great options now to choose from. Below are a couple popular and actively updated ones. Note: These include free and premium solutions. Many of them have free plans up to a certain number of subscribers.
- VWO Engage
- Desktop & Mobile Push Notification System
Since all of the above solutions have different browser and mobile support, we suggest looking in your Google Analytics data to see what type of traffic your WordPress site has. If you click into “Audience > Technology > Browser & OS” you can see which browsers are most frequently used by visitors on your site. In this example below you can see that enabling Chrome web push notifications would benefit us the most since over 70% of the desktop traffic is from Google Chrome.
In this tutorial we will be using a plugin from OneSignal, which is a completely free solution for WordPress push notifications. As of writing this it currently has 50,000+ active installs and rating of 4.7 out of 5 stars.
According to their website, they are used by over 100,000 developers, including big names such as Adobe, Uber, and Tom’s Hardware. Some of their features include:
- 100% free to use
- Unlimited WordPress push notifications
- Unlimited devices
- Delivery automation
- Full API
- Unlimited segments
- A/B Testing
- Delivery scheduling
- Ability to import and export your data
Sounds to good to be true? Well, one thing to keep in mind. They don’t hide this fact at all and are very open about it on their site. The way they make money is by using the data they aggregate to improve web and mobile experiences. So if that is a problem for you, you can always upgrade to their enterprise version in which they don’t have access to your data. Prices start at $40 a month for up to 500,000 users.
An advantage that OneSignal has is that they allow you to setup as many WordPress sites (apps) as you want. So you can login to OneSignal’s dashboard and have 10+ different WordPress sites all with their separate push notification apps and data. If you manage multiple WordPress sites, and are wanting to implement push notifications on all of them, OneSignal can be a great way to easily manage them going forward. Plus its free!
With OneSignal, web push notifications work exactly like the native mobile push. So, you don’t have to create a mobile app just to get the benefit of native push notifications on mobile. Below are the currently supported browsers.
Follow the steps below to get up and going with OneSignal in just a matter of minutes. While OneSignal has configurations for both HTTP and HTTPS sites, we highly recommend using HTTPS on your domain because web push permissions and subscriptions are separated by domain/protocol. There isn’t a way to transfer your push notifications later. Kinsta offers free SSL to all users, or Cloudflare is another good option.
Download and install the free OneSignal plugin. You can download it from the WordPress repository or by searching for it within your WordPress dashboard under “Add New” plugins.
Next, head over to OneSignal and create a free account.
Click on “Add a new app” and give your app a name. In our example, we are simply using the name of our WordPress site. Then click on “Create.”
Select “Website Push” and click “Next.”
We are first going to setup Google Chrome and Firefox. We will do Safari later on. Then click on “Next.”
Input your WordPress Site URL. Ensure you use the correct protocol, HTTP or HTTPS depending upon what you are running on your site. In our example our site is using HTTPS. Then input the location of your notification icon URL. According to OneSignal, icon dimensions should be 192 x 192 or larger to display well on high pixel density devices. You can upload one to your WordPress media library and copy the URL. The default OneSignal notification icon will be used if you don’t choose one. Then click “Save.”
Note: If your site is running over HTTP, they let you create a subdomain on onesignal.com which allows the app to then function over HTTPS. For example, https://yoursite.onesignal.com.
On the next screen you will need to select your target SDK, in this instance we select “WordPress” and click on “Next.”
On the next screen, you will want to copy your Rest API key and App ID as you will need to input this information into the settings of the WordPress plugin. Leave this window open as you will come back here later.
Back in your WordPress site, click into the “Configuration” tab of the OneSignal Push settings. Input your App ID and REST API Key. You can leave everything else on the default settings for now. Scroll down to the bottom and click “Save.”
You will then want to browse to your website and subscribe to the notification to test that everything is working correctly. Click on the “red” symbol on the bottom right and click on “Allow.” You can change these options in the display settings later. (Note: You might need to disable adblocker if you have it running)
You will see a confirmation, of which you can also change the wording later.
Then back on the OneSignal website, click on the “Check Subscribed Users” button and click on “Done.”
Now it is time to setup the Safari push notifications. Click into “App Settings” and click on “Configure” next to Apple Safari (macOS).
Input your site name (this is shown in the notification) and your Site URL. You can then upload your notification icons (which include a 16 × 16, 32 x 32, 64 x 64, 128 x 128, and 256 x 256). These are uploaded directly to OneSignal, not your WordPress media library. The default OneSignal notification icon will be used if you don’t upload them. Then click “Save.”
It will then display your Web ID which you will want to copy to your clipboard.
Then paste that into the Safari Web ID field of your OneSignal configuration settings. Scroll down and click “Save.”
And that’s it! You now have WordPress push notifications up and running.
OneSignal Additional Notes and Options
There are dozens of settings you can configure in the plugin, some of which we will cover below. If you are curious about the performance of OneSignal, the plugin is fairly lightweight and utilizes a single script that is under 100 KB. This is served up from their CDN partner, Cloudflare. In our tests OneSignal didn’t slow down our site at all.
There is one thing to be aware of though and that is their plugin doesn’t play nice with 3rd party CDN provider plugins. In our example, we were using the free CDN plugin CDN Enabler and it required us to add the following exclusion in the settings in order for OneSignal to work correctly. If you are using another plugin or CDN provider, you can check out their additional documentation on CDN troubleshooting.
Automatic Push Notifications
When you install the OneSignal WordPress plugin, it by default enables the option to “send notification on post publish” automatically (as seen below). You can easily un-check this if perhaps you are publishing a post you don’t want getting pushed.
You can also disable the above from being automatically checked by going into the OneSignal Push plugin settings and flipping off the “Automatically send a push notification when I create a post from the WordPress editor” option. You could then simply manually check it from the WordPress editor when you want to push it. This is probably the safer route to go.
Automatically Prompt Users
If you want new visitors to be automatically prompted to subscribe, you can enable that within the plugin settings. You can also disable the “Red” floating icon if you think it might be too obtrusive for visitors.
There are a multitude of other options you can change such as:
- Adding additional UTM tracking parameters
- Creating additional custom post types
- Change the wording on the “thank you for subscribing” option
- Change the popup wording
- Change how the widget looks and interacts with visitors on your site
- Use the post’s featured image for the notification icon
- Dismiss notifications after ~20 seconds
You can then control everything from the OneSignal dashboard. We were even surprised by the data. On one site that we added it on, we had over 140 push notification subscribers in under 48 hours (see below). Remember, that even if you don’t personally subscribe to notifications, it doesn’t mean that is how your visitors think. Don’t ever assume when it comes to marketing your WordPress site, testing is the best way to get concrete data.
Make sure to also check out our official case study with OneSignal. In less than 3 months of using OneSignal, it is already our 3rd highest organic traffic source! If you are pushing out notifications directly from the OneSignal dashboard, make sure to add a UTM parameter so you can segment the traffic and track it. Here is an example of what we use on each URL.
Unsubscribe from Push Notifications
If you get a lot of traffic to your website, there are bound to be a few visitors that accidentally subscribe to your website’s push notifications. Therefore it’s good to have a link somewhere on your site on how to unsubscribe from push notifications. It varies per browser, so it’s typically best to point users to their official documentation.
As you can see, WordPress push notifications are fairly easy to set up! It might seem like a few steps, but really it can all be completed within a matter of 5 minutes. If you are looking for additional avenues to connect with your visitors or customers, we recommend giving this a try. There really is no risk involved. If you don’t like it, you can simply uninstall the plugin, cancel the service, and return to normal. Push notifications can be a great way to get extra eyeballs on your content and keep visitors returning to your WordPress site.
Have you experimented with WordPress push notifications yet? If so, we would love to hear about your experience or opinions below.
Get all your applications, databases and WordPress sites online and under one roof. Our feature-packed, high-performance cloud platform includes:
- Easy setup and management in the MyKinsta dashboard
- 24/7 expert support
- The best Google Cloud Platform hardware and network, powered by Kubernetes for maximum scalability
- An enterprise-level Cloudflare integration for speed and security
- Global audience reach with up to 35 data centers and 275 PoPs worldwide
Get started with a free trial of our Application Hosting or Database Hosting. Explore our plans or talk to sales to find your best fit.
Great post Brian. I keep seeing these notification invites while browsing websites but never actually got the time to look into how to do this for my own site. Your post is both an excellent reminder and tutorial on push notifications. Have a great weekend!
Thanks Hitesh. Ya, it is actually quite easy now thanks to some good plugins and services out there. Have a good weekend as well!
OneSignal sell our user data to advertisement platform so i lose my customers before sales on my site. I don’t prefer to use it. I make a search and find this plugin. Any one use it before.
Please don’t use affiliate links here. Thanks.
Great article. Personally, not a fan of these intrusive little buggers.
I was happy to find this article, and started to download it to my WP site. I can integrate it with web based Chrome, Firefox and Safari for Mac, but not for mobile phones… Android… the latest documentation on OneSignal reads “Android platforms are for native mobile apps only, not for websites.” Based on my Google Analytics, most visitors are using mobile and on Android….. :-(
I can confirm this still works fine on Android mobile phones via Chrome.
This is beetter article than wpbeginner
Thanks Sarath, we try our best. :)
This was an awesome step by step tutorial, I was a little overwhelmed with the multitude of customization options in the setup process. I was wondering though, do you know of a way to customize my automatic push notifications for posts, to reflect the title of the post that is going up in wordpress? Thank you!
Thank you so much!
Hey Bailey, if you are pushing them from the WordPress plugin it will automatically use your WordPress titles.
If I create app from wordpress site by use of plugin then user click on notification at that time what will open website from browser or wordpress app..?
When a user clicks the push notification it will open up your website from their browser.
I must say; if you are not handling push notifications on your website/blog, then you are missing out on a lot. Just like how email marketing encourages you to convert first-time visitors into subscribers for repeat traffic, web push notifications do the same thing. This helps you to regularly increase your traffic with repeat visits. This is really how most of the top blogs succeed to maintain such a high level of repeat traffic.
Moreover; if you don’t want to add one new plugin & to keep the number of plugins as low as low possible; you can install Push Notification without a plugin; simply copy the code from PushEngage Dashboard and insert it on your website by using Google tag manager or editing your HTML template file.
Quick tip; most bloggers let users subscribe to their blog updates and then post them only new blog pages. Instead of doing this, you should feed your newly subscribed users with your most valuable content, your brand ideas, your performances, and other relevant content that benefits your recently subscribed users to read more about your brand. Anyways; very good post to know the push notifications and it’s necessary, thanks sir for helpful information. Keep posting.
Well said Akshara! Thanks for stopping by.
This is not “Free” because OneSignal owns your subscribers base and you rely on yet another third-party service who will pay itself with private data and don’t let you export the database to another service the day they change their EULA and you are not happy anymore with them.
What if they decide to mess up with their algorithms as FB and twitter do now ? What if they discontinue the service as Google Feedburner did ?
You should consider these strategic questions in the big picture. One Signal is “free” and great for now, but they will likely go rogue, as every web company, as soon as they get leverage to do so.
Great article, it was really helpful. Finally, i was able to set up my one signal push notifications.
This is indeed comprehensive and easy to follow. Thanks so much.
I followed it and have it successfully implemented into my project. Still testing a lot of features out and how to see growth as one of your website experienced above after the implementation.
Well, useful but! If FireFox users have privacy on or Chrome, either pop-up, button, or slide prompt is stupid.
Either, if users have “keep cookies until closing browser” – not working, at least not for FireFox.
So, half users will see “welcome notification”, others won’t.
One signal is free up to 30,000 people. So not completely free.
Please note that they aren’t completely free:
OneSignal’s free plan allows targeting up to 30,000 subscribers with push notifications.