Documentation: Push Notifications Onsite Messaging REST API
  1. Documentation
  2. Web Push Notifications
  3. Integration
  4. HTTPS Websites Setup

Web Push Notifications for pure HTTPS Websites

This setup guide is for HTTPS only websites. Before starting please make sure that your website URL starts with https://. If not, then proceed to the HTTP setup guide.

Web Push for HTTPS Websites

  • In the Dashboard, under Settings > Website, check that the website is listed with HTTPS selected as Yes.
    PushAlert HTTPS Website Settings
  • We would recommend adding the Default Title, Message as well as Icon for notifications.
  • Add FCM or GCM configuration, which you can get from this guide. While not compulsory, it is required if you want to export subscriber endpoint list.
  • Once done, head to the Integrate section from the sidebar. This is a two-part step. First, copy the universal code to the <head> section of the HTTPS website. If you are on Wordpress, Joomla or Magento, do follow their specific setup guides.
    PushAlert Universal Ingtegration Code
  • Next, there will be two files shown in the Integrate section, download these to your system and then upload them to the root of the HTTPS domain (public_html or var/www/html or a similar folder). These need to be accessible publicly.
  • That's it, users will now be prompted to subscribe to notifications. You can change the opt-in prompt as well as customize its text.
    PushAlert HTTPS 1-Click Opt-in
  • If you were using Web Push Notifications from another vendor, then keep the subscriber endpoint list handy and head to the Migration guide.