Web Push Notifications
- Unzip and paste the extension file into your root Magento folder.
- Connect to your server by SSH.
- Go to your Magento root folder.
- To install the extension, perform this command:
php bin/magento setup:upgrade
_requirejs; adminhtml; frontend.
- To switch the extension on/off, perform these commands:
php bin/magento module:enable Aitoc_PushNotification php bin/magento module:disable Aitoc_PushNotification
You can activate/deactivate several Aitoc extensions at once by specifying their names separated by space in the command.
STORES > CONFIGURATION > AITOC EXTENSIONS > WEB PUSH NOTIFICATIONS
Here you set the parameters of your push notifications.
General settings can also be specified for each Store View in particular.
Here is how push notification prompts look for your website visitors.
MARKETING > AITOC PUSH NOTIFICATIONS > DASHBOARD
Create one-time push templates that will be triggered at the specified time. This is a convenient tool for running short campaigns.
You can see full list of push notification alerts that have already been created and / or sent.
Manual Template settings
MARKETING > AITOC PUSH NOTIFICATIONS > DASHBOARD > CREATE MANUAL TEMPLATE
Choose Name, Store View, Title, Text, Image and URL (optional) for your custom one-time push notification.
Add link to your push notification body to lead customers to a desired page.
Set UTM parameters to track your push campaigns in Google Analytics.
Set the time when your push notification campaign should start. If you leave this setting blank, the campaign will start immediately after creation.
Recurring push notifications templates
MARKETING > AITOC PUSH NOTIFICATIONS > TEMPLATES
Add new recurring push notifications template.
You can mass delete or change the status of your recurring push notifications templates.
Browse and edit all your recurring push notifications templates.
MARKETING > AITOC PUSH NOTIFICATIONS > TEMPLATES > ADD NEW
Recurring push notifications are built to cover three marketing goals: notifying the customer about his order status change, promoting registrations and reminding visitors about their positive website experience. These three options have different time settings to better fit your marketing needs.
Order Status Change type of push notifications can be triggered on these status changes. UTM parameters can be set at the bottom of the settings page.
MARKETING > AITOC PUSH NOTIFICATIONS > SUBSCRIBERS
See the full list of all visitors who enabled your push notifications.
You can manually manage subscription for any of your visitors that have enabled push notifications at least once.
Server tech specifications
The extension applies specific requirements to the server and web browser to work correctly.
- Run PHP 7.1 with the following extensions:
gmp (non-standart), mbstring, curl, openssl
- Install additional lib:
composer require minishlink/web-push --ignore-platform-reqs
- Use HTTPS Certificate and set Magento configs to use secure URLs on website for all content types (pages, statics etc.)
- Use the following browsers: Chrome, Firefox.
- Don’t use private/incognito browser mode.
Web Push Notification extension does not create any tables that store customers’ data. It grabs all needed information from default Magento tables, for example:
customer_entity customer_log customer_visitor