i want to know how to install alertwise on my site? i was facing some issue so please help.
Alertwise Unselected an answer April 25, 2025
Add an app
After you log on to the AlertWise platform, the next step is to add an app. From landing page perform the following steps:
- Enter a App/ Site Name
- Enter Site Url
- Enter Badge Icon Url for your notification
- Upload or use existing Notification icon url
- Site Name: This is used as the default title of your web push notifications if no title is provided.
- Site URL: This must be the exact origin (URL) of your site. For example, if your site is https://mydomain.com, don’t use https://www.mydomain.com. Follow the Same-origin policy for more details.
- Default Icon URL (Recommended): This icon is used for web push notifications and prompts. It should be a square 256×256 px PNG or JPG file.
Note
Site name and url are mandatory and are required in order to successfully register your app.
- Subscribers will be automatically resubscribed when they return to your site. They will not be prompted again unless they turn off push permissions.
Icon type
Default IconBadge icon
Notification icon
Copy the installation code and add it to your website’s HTML. If you have access to the root directory, download the service-worker.js
file and place it in the root directory, ensuring it is publicly accessible.
Alertwise Unselected an answer April 25, 2025