Steps To Enable Web Push Notification on Magento Websites
You have a site based on Magento and want to integrate Push Notification. With PushEngage you can easily integrate web push notifications on Magento websites. PushEngage supports both HTTP and HTTPS Magento websites.
If you would like to Install PushEngage on a Magento site, please go ahead and follow the steps below.
For HTTP websites:
- Log on the administrator panel of your Magento Dashboard.
- From the side menu. Select STORES>Configuration
3. In the next step: Select 'Design' from the left side bar.
4. Add the custom script provided by PushEngage in HTML Head > Miscellaneous Scripts section. You will find this script in your PushEngage dashboard. Go to the Settings -> Installation and copy the code.
Please note, there are two codes present in the dashboard and you can use either of them. If you wish to use Async Version you can add the code anywhere in the HTML of your website and if you use Legacy version code should be in Head section. However, we suggest using the Async version of the code.
- Save configuration to complete the integration process of Push Notification on Mageneto websites.
- After that click on Cache Management.
- Then click Flush Magento Cache.
You have now successfully integrated PushEngage Push Notification on your Magento website. If you have an HTTPS site, then read ahead and follow the final steps below.
For Older Versions of Magento follow the steps below
- Log on the administrator panel of your Magento Dashboard
- From the top menu.Select System>Configuration
- In the next step: Select 'Design' from the left sidebar.
- Add the custom script provided by PushEngage in Miscellaneous HTML section
<script src="https://clientcdn.pushengage.com/core/xxx.js"></script> <script>_pe.subscribe();</script>
- Save configuration to complete the integration process
For HTTPS Site
After the above steps, download the manifest.json and service-worker.js file from PushEngage dashboard under Settings -> Installation Settings
A) Save the files in the website root folder, and ensure it is accessible at https://yourdomain.com/manifest.json and https://yourdomain.com/service-worker.js
B) That's it you should be live with PushEngage Web Push Notification on your Magento website.
We provide integration for other platforms as well. Integrating PushEngage Web Push Notification on WordPress or integrating on Shopify or integrating on Blogger website is very easy. You can also check out the Push Notification Installation guide for details.
If you have questions, email us firstname.lastname@example.org
- 22 Web Push Notification Ideas For E-commerce…
- How to Go Live With Web Push Notification Using…
- 7 Steps To An Effective Push Notification Strategy…
- How can Online Travel Websites improve conversions…
- Reduce Bounce Rate for Ecommerce websites using Push…
- How To Enable Easy Unsubscription For Your Web Push…