Pushpad
Articles › Permission Ui Ux, Pushpad, Web Push Notifications

The new Pushpad widget for web push notifications

  • # javascript-sdk
  • # permission

We are happy to announce that we have just released a new feature in our Javascript SDK: we provide a widget that makes it easy to display a custom prompt, a floating action button or a subscribe button in order to collect subscribers.

A website can use the widget to collect subscribers in different ways. In this example you can see the custom prompt on the left, the floating action button on the right and an additional subscribe button in the sidebar.

You can use the Pushpad widget to grow your list of subscribers that receive your web push notifications.

In particular this method provides the following UI components:

  • a custom prompt that asks users to subscribe to notifications
  • a floating action button that allows users to subscribe to notifications
  • a customizable button that can be placed anywhere on your website to allow users to subscribe or unsubscribe from notifications

You can turn on all the components or use only some of them. You can also customize the text and appearance from the dashboard.

Based on some usability guides, using the widget offers a better user experience compared to displaying the permission prompt directly on page load. One of the advantages is that if the user deny permission to the custom prompt you can display it again, whereas the permission prompt of the browser can be displayed only once. However if you use the widget the user will need to perform more clicks in order to subscribe compared to a permission prompt on page load... You can use the Pushpad stats to see what method gives you more subscribers.

If you want to start using the widget you can check out the docs. The widget is the easiest solution to collect subscribers using the best practices.

The Wordpress plugin (version 2.0) now uses the Pushpad widget by default.

If you already use the Javascript SDK you can continue to use it: the widget is just an additional option for people who want to use it. The widget itself is built upon the existing Javascript SDK. The Javascript SDK is also the suggested approach for developers who want more customization and control.