Skip to main content
push notification

How to Enable Push Notification to a WordPress Site Using OneSignal?

Maybe your WordPress site is among the many varieties of the websites that frequently publish fresh content. So as to induce the right eyeballs in a very healthy number, each single piece ought to be marketed to the proper audience.

Can you think about a good method of marketing the content than demonstrating a web push notification that pops up in your subscriber’s display, each time you upgrade or take a brand new blog live?

Let us dig a little deeper and see how it is possible to add WordPress push notification in custom WordPress development to your site through onesignal.

Contents:-

  • What is WordPress push notification?
  • Why WordPress push notification is important?
  • WordPress push notifications plugins
  • Enable Desktop Notifications for WordPress
  • Subscribe to WordPress Desktop Notification
  • Send desktop notification to subscribers
  • Unsubscribe from WordPress push notifications
  • Customize the onesignal WordPress notification bell
  • What more can you search in onesignal push notifications?
  • Explore subscribed users
  • Track web push notifications
  • More WordPress push notification Plugins

What is WordPress push notification?

WordPress push notifications kick in whenever a blog is published or updated on a website. These notifications resemble desktop notifications and are a fantastic tool for re-engaging your current audience. If used responsibly, push notifications could possibly turn into the best referral resource for your sites.

Facebook is just one of those many platforms/products that have raised the usage of web push notification to some fine art. In case you’ve allowed chrome push notification, and also the Facebook tab is closed, then you generally find a pop-up notification of a latest post at the bottom right corner of the display screen.

Why WordPress push notification is important?

WordPress push notifications come useful when manufacturers wish to re-engage their viewers. In specific, web push notifications are helpful for:

  • Special offers: Marketing some special discount or limited time discount offers to generate some more sales.
  • Announcements: Inform and educate the viewer about crucial events, products upgrades, etc.
  • Onboarding: Welcome new customers, notification about a buy, request for product reviews, abundant cart, etc.

In today’s manual, I will reveal how it is possible to enable chrome push notifications for WordPress and redirect more visitors to your site. WordPress plugin directory has many plugins which could automatically enable/provide desktop notifications to your subscribers/visitors.

While i recommend you using the plugins to find the ideal match for your site. With the intention of this tutorial, I’ll use onesignal – web push notification plugin.

In a nutshell, Here is the way the plugin works: When you update/publish a post (and marked the checkbox in which it states, send notification on article upgrade just above the publish button), Onesignal will send a internet push notification to the readers and subscribers, even when they have left your site.

Here we go!!!

Now, I’m assuming that your site is hosted on cloudways, an extremely strong managed WordPress hosting platform. If that is not the situation, learn how simple is to host a WordPress site on cloudways for the very best performance.

WordPress push notifications plugin

Let us begin with installing the onesignal WordPress push notification plugin.

Login into the WordPress dashboard, Navigate to → plugins → add new. At the top right search box, search for “onesignal” with no space. Click on the install now and then activate the plugin.

Navigate to onesignal push in the admin menu. You will see the by default one signal dashboard, that provides tips about ways to quickly install onesignal to begin sending out WordPress push notifications.

Enable web push notifications for WordPress

Allowing the onesignal WordPress plugin and establishing desktop notifications for both Chrome and Firefox browsers is an easy matter.

Begin with creating an account about the onesignal site. After successful registration, you’ll be redirected into the onesignal dashboard, in which you have to put in a new application.

Click on the Add app tab and enter the app name. For the purpose of this tutorial, I’m naming the app “testing internet push”.

Then, click on the add app and it will redirect to select platform. Since, i’m setting up web push notifications, I’ll select web push out of the available alternatives and click on the next button.

On another screen, select WordPress plugin or website builder then choose WordPress as shown in the image below:

Scroll down a little and input the essential details like website name and URL. If your site isn’t using HTTPS, don’t forget to place the toggle labelled “My website isn’t fully HTTPS”. Google highly recommends securing WordPress sites with SSL certification.

Click save at the bottom of the page. Next, you’ll be provided the app ID along with API key that will be used in establishing the onesignal WordPress plugin.

Get back to your WordPress dashboard → onesignal push → configuration and paste the above mentioned keys.

And today, you’ve got a long list of alternatives that has to be disabled or enabled.

Subscribe to WordPress push notifications

Now whenever somebody visits your site, onesignal will demonstrate a bell in the bottom left or right side of your site. A viewer can click on this bell icon to subscribe to web push notifications from the site.

A pop-up will appear searching permission from the customer for displaying and delivering push notifications.

When a person clicks the allow button, then he’ll observe a pop-up at the end of the webpage.

And, the user is now subscribed to get web push notification successfully.

Send push notifications to subscribers

Alright, so you have configured each and everything properly and the users can subscribe to get WordPress push notifications.

Let us test this!!!

I’ve made and published a new post in my WordPress site titled ‘New post’.

Here’s the notification icon at the bottom of the screen. As you can see, the default picture, website name, article title and the subdomain name are already present.

Unsubscribe from WordPress push notifications

The good part about onesignal push notifications is that, it permits the users to unsubscribe easily. Just click the bell icon at the bottom of the display screen and it’ll introduce a message to unsubscribe from web push notifications.

Alternatively, visitors can alter subscription preferences by visiting the website setting.

Here, users can select their preference to acquire chrome push notifications for your site.

Find sites you’ve already subscribed

Each browser keeps a listing of those sites a user visits and subscribed to. In this tutorial, I’ll focus on chrome push notifications. To view the listing, follow these steps:-

  1. Open chrome
  2. At the top right, click on the 3 vertical dots and then settings.
  3. At the bottom, click on advanced
  4. Search for “privacy and security”, click website settings
  5. Click notification to view list of allowed or blocked sites
  6. To block a website: Alongside “Block”, click add. Enter the website and click add.
  7. To permit a website: Alongside “Allow”, click add. Enter the website and click add.
  8. To edit a website: Just click three vertical dots, Edit and choose your preference.

For other browsers, have a look at their official docs web push notification.

Customize the onesignal notification bell

Onesignal push notification plugin permits you to personalize the notification icon. This is a superb way to make sure the onesignal icon fits the installed WordPress theme.

For this, browse to WordPress dashboard onesignal push configuration. There, you will get the following configuration settings:

  • Account settings
  • Sent notification settings
  • Prompt settings and notify button
  • HTTP pop-up settings
  • Welcome notification settings
  • Automatic notification settings
  • UTM tracking settings
  • Advanced Settings

What more can you search in a onesignal push notification?

Onesignal push notification is an all-purpose option for all types of WordPress’s computer and mobile notifications. What follows is a listing of the most well-known features.

● 15 minute setup
● Third Party integrations
● Free and unlimited
● Real-time tracking
● A/B test messages
● Segmentation targeting

Explore subscribed users

The good thing about onesignal web push notification is the comprehensive data on the subscribers which you are able to examine for ‘connecting the dots’.

For this, login to your own onesignal account, browse to users and view all of the information.

To learn more about your own WordPress push notification subscribers, click view users.

Then, you’ll see how nicely onesignal arranges information on subscribers.

If you want, you can additionally delete/remove a subscriber by clicking the options and select Delete.

Track web push notifications

From the menu bar, navigate to delivery. All of your WordPress push notifications can be found in this segment. Not only this, it is possible to get more insights about every pushed notification by clicking on the push notification title. In my situation, it is the ‘New post’.

More WordPress push notification plugins

As I said previously, there are several options of plugins in wordpress web development for sending out web push notification. If you aren’t comfortable with what onesignal offers, you are able to check these following plugins:

  • Omnikick
  • Push monkey
  • Delite Studio
  • Hello bar
  • Roost web push
  • Pushcrew
  • Mobiopush
  • Top bar
  • Izooto

Since this manual on utilizing onesignal, I’d recommend you research more about onesignal push notification for WordPress.

Now comes the big question: is it free? Yes, it is.

Onesignal’s business model involves selling subscriber information to advertisers and research companies. However, if you’re concerned about the privacy of your subscribers and you ought to be!, get the top version.

Author Bio:

Yashraj serves as a Digital Marketer in the leading IT Service Provider Company named Techno Softwares and there he handles all works related to SEO, SMO, PPC, SME, Content Writing and E-mail Marketing Works. He use to publish his articles on Medium.com. His personal blog is http://yashraj.home.blog. Follow me on Instagram, Twitter and Linkedin.

Kiera Hayes

Kiera Hayes is a passionate Blogger and Web Developer. She enjoys reading and writing articles whenever she gets time from her work.

Leave a Reply

Your email address will not be published. Required fields are marked *