Perfecty Push Notifications

Description

Push Notifications that are self-hosted, you don’t need API keys to integrate with external Push Notifications providers that will charge you later. It’s Open Source and the information is stored in WordPress, so that you can send Push Notifications directly from your server for free!

In a rush looking for Push Notifications alternatives now that you’ve exceeded the free-tier of your current provider? Loosing your users every time you change your Push Notifications provider? Worried about where the Push Notifications information is stored? With this plugin you don’t worry about that.

Easily migrate your users from other providers, send custom Push Notifications, or automatically when publishing a post, and see the stats in your Dashboard.

Features:

  • Self-hosted: total control of your information, and no need of third-party integrations.
  • Migrate users from other Push Notifications providers like OneSignal.
  • PWA Friendly (Tested with Super PWA) and AMP plugins (Transitional mode).
  • Send Push Notifications on posts publishing. You can use the feature image of the post or customize the title.
  • Send custom Push Notifications: you can easily change the icon, the image or the URL to open.
  • See the stats in the Dashboard.
  • Customizable public widget.
  • The user authorization tokens stay in your server when they subscribe to receive your Push Notifications.
  • Easily comply with GDPR: all the Push Notifications information is processed and stored in your server.
  • Open Source: no hidden fees, and open transparency.
  • Offline browser Push Notifications through Push API.

Requirements:
gmp extension for message encryption (optional)

Documentation

https://docs.perfecty.org/

Code

Want to check the code? https://github.com/perfectyorg/perfecty-push-wp

This plugin uses the Chart.js library for the admin stats.

Perfecty Push installation

  1. Download the plugin

  2. Install it and activate it

  3. Go to the Perfecty Push Notifications > Dashboard section and start sending Push Notifications

Note: Check the FAQ if you miss the gmp extension.

Screenshots

  • Dashboard and Push Notifications stats
  • Send a new Push Notification
  • Public widget (subscribe prompt)
  • Public widget (opt-out)
  • Send Push Notifications on post publishing
  • Notifications admin
  • Users admin
  • Settings

FAQ

I am using a third-party Push Notifications provider, can I migrate my users to my server?

Absolutely, Perfecty Push can override the previous service worker from your user’s browser. Once they visit your site, the worker is automatically replaced and you can start sending Push Notifications directly. For that you need to first remove your provider’s JS SDK, and then enable the Remove conflicting workers option in Perfecty Push. Go to Perfecty Push > Settings > Public Widget.

After v1.0.7 Perfecty Push uses the /perfecty/push scope (you can also customize it), so it’s friendly with any PWA/AMP plugin that uses the root scope (e.g. Super PWA plugin). However, if you use the Remove conflicting workers option, it will deregister any existing worker, so be careful with this option.

Why do I need the `gmp` extension?

Sending push notifications involves encryption and gmp (GNU Multiple Precision) brings the best performance for such operations.

The gmp extension is optional in PHP >= 7.3. In PHP 7.2 you can’t generate the VAPID keys without it, however you can still generate them with openssl. In any case, it’s recommended to use gmp for better performance.

How do I install the `gmp` extension?

It depends on the operating system, but in theory you install it as a regular PHP extension. More information: Install the gmp extension

Is this working in production?

This plugin has been deployed in a real site with more than 800.000 monthly visits and around 8.000 Push Notifications subscribers (~240.000 notifications/month), however we recommend you to test it before deploying it to a production environment.

How do I report a bug?

You can create an issue in our Github repo:
https://github.com/perfectyorg/perfecty-push-wp/issues

Reviews

يوليوز 4, 2021
Highly recommended plugin! Never seen developers responding and taking actions so fast and actually implementing suggestions and listening to the feedback.
ماي 29, 2021
The plugin is very simple and reliable, but lacks the function of hiding the bell completely and churning out the call to action and Badge: url link. Please add these functions
ماي 20, 2021
I was tired of third-party providers which are really costly and also sell data. This self-hosted solution is a good fit and has basic features. But we need more features like scheduling, autoresponder, and segmentation options. Please provide these features in future updates. Thank you.
ماي 17, 2021
A really great plugin, the self hosting solution is truly an excellence. Posts aren't notified automatically, you've to check each one (while publishing or updating it) and that's a great advantage. People are irritated if you push them everything you post, you've to choose what you're giving them. Yes, it's needed an access to the server configuration to install GMP, but it's really worth it. With GMP the plugin does everything by itself, you've only to add some css to style it. By the way, this is my css: /* Notifications */ .perfecty-push-dialog-container button { margin: 5px 10px; background-color: #1d71b8; color: white; border-color: #1d71b8; border-radius: 4px; min-height: 40px; font-size: 18px; cursor: pointer; } button#perfecty-push-dialog-cancel { background-color: grey; border-color: grey; font-size: 15px; } .perfecty-push-dialog-title { font-size: 21px; } .perfecty-push-dialog-box { margin-top: 80px; }
أبريل 30, 2021
Maybe it's because the plugin is quite new, but support ist simply great. Less than 24h an you have a reply, and less than 1 week and suggested changes have been done. I hope it will stay that way in the future ...
Read all 10 reviews

Contributors & Developers

“Perfecty Push Notifications” is open source software. The following people have contributed to this plugin.

Contributors

“Perfecty Push Notifications” has been translated into 4 locales. Thank you to the translators for their contributions.

Translate “Perfecty Push Notifications” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.3.2

  • Add the plugin links shown in the WordPress Plugin installer
  • Icon max width in the Notification details.

1.3.1

  • Use the already defined site icon before v1.3.0.

1.3.0

  • Option to always send a Push Notification on Post publishing. Thanks to @mociofiletto. Fixes #64
  • Google Analytics UTM suffix for Url to open. Fixes #49
  • Send notification after subscribing. Fixes #63
  • Remove conflicting Service Workers for known providers, and custom expression. Fixes #76
  • Option to enable fixed notifications that don’t fade out. Fixes #66
  • Display prompt after a number of visits. Default: Immediately. Fixes #70
  • Added hooks and filters for external integrations: perfecty_push_broadcast_scheduled($payload), perfecty_push_wp_user_notified($payload, $wp_user_id) hooks and the perfecty_push_custom_payload($payload) filter.
  • Default Icon from the Media Library #68
  • Show icon in the Notifications prompt. Fixes #71
  • Default dialog texts in Settings. Fixes #69.
  • Always send featured image on Post publishing. Fixes #65

1.2.2

  • Point to the correct JS SDK commit hash

1.2.1

  • Fixes conflict with TimePicker and ChartJS #62
  • Jquery .on() instead of .load() 67

1.2.0

  • Schedule notifications is now possible thanks to @mociofiletto. Fixes #29
  • Support external plugin integrations. Fixes #5
  • Push Subscribers are linked with their WordPress User Id if they’re logged in users
  • Push Server logs (DB Driver initially). Fixes #30 and #31
  • Remove the users that have opted-out. Fixes #37
  • Add a cron monitor to check the notification jobs execution. Thanks to @mociofiletto. Fixes #33
  • Option to don’t show the Bell/Widgets when asking permissions. Solves #48

1.1.6

  • Increased payload size to 2.000 characters to support arabic characters. Issue #46

1.1.5

  • Upgrade url-parse to avoid CVE-2021-27515
  • Styling fixes in the Bell control

1.1.4

  • CSS style changes to the bell.
  • Move icon to an svg tag in the HTML as suggested by @stkuhn.
  • Open subscription dialog if the bell is clicked and the user is not subscribed.
  • Fix bug in the Perfecty Push Service Worker detection. Issue #42

1.1.3

  • IP address collection is disabled by default. It can be enabled using the “Enable and collect data from users” option in the Segmentation settings.
  • Added option to hide the bell after the users have subscribed.

1.1.2

  • Remove jQuery dependency from the public area
  • Detect duplicate endpoint auth/private keys when subscribing

1.1.1

  • Integrate the Perfecty Push JS SDK: This is backwards compatible but upgrade to this version with caution.
  • Upgrade the PHP Push Server Lib to the latest version
  • Performance improvements
  • Debugging mode
  • The server_url now defaults to get_rest_url(), so the preference value is reset to an empty value in order to use it
  • Fix various issues

1.0.8

  • Add options to send featured image and customize notification title in notifications sent on post publishing. Thanks to @mociofiletto
  • Removing wp-i18n variable definitions in JS from the global scope. Thanks to @mociofiletto

1.0.7

  • PWA and AMP Friendly (Tested with Super PWA and AMP for WP plugins)
  • Support MySQL < 5.6 (max index key=767)
  • Improving Internationalization
  • Apache mod_security, Nginx default configuration and WAF friendly

1.0.6

  • Added WordPress 5.7 support

1.0.5

  • Implement internationalization. Thanks to @mociofiletto
  • Support older WordPress versions

1.0

  • First version of the plugin with basic functionality