Waymore Push Notification Guide
Setting Up and sending Push notifications with WayMore
This page provides instructions on how to implement WayMore’s push notification service to a website.
Specifically, it describes how to :
- Register your website on Waymore.
- Install the SDK file to your website’s root directory.
- Include the snippet to the head element of your website.
- How to send your first campaign
In order to implement WayMore’s push notification service to your website make sure you have the following ready :
- Have an active Routee / WayMore account and, of course, access to it.
- Have FTP access to your host server.
- Have access to your CMS admin panel.
1. Register your website on WayMore
First of all you will have to login to your WayMore account and navigate to Communication -> Push Notification menu on the left side panel.
A wizard will pop up and guide you through the next steps.
Select “New to Push Notifications” and then ‘Web Push Notifications” as shown down below :
Setup the name of your project and the URL address of your website.
Note that your website should run on a secure version of HTTP. So your domain name should follow the HTTPS protocol and do not include anything after its extension, e.g. https://santorini-yacht.gr
2. The SDK file
On this step you have to download the SDK file from WayMore and install it to the root directory of your website.
Click on the “DOWNLOAD SDK” button
You will find the “routee-sw.js” on your Downloads folder.
Upload the SDK file
Now you will have to upload the “routee-sw.js” to the root of your website’s directory. You should have FTP access to your host server in order to proceed with this task.
In order to ensure that this step has been completed successfully check that the routee-sw.js is publicly available for access via your web browser. To do so just visit your domain name followed by “/routee-sw.js” as shown in the example down below.
3. The Snippet
On this step you have to copy the snippet from WayMore and paste it to the head element of your website.
Copying the code from WayMore
Click on the “COPY CODE” button
Pasting the code
You can access your “Head” Element either through admin panel(depending on your CMS or through FTP)
In this case we will access it via WordPress CMS admin panel.
Login to your CMS admin panel and paste the snippet to your head element of your website.
4. Check your Website
Now everything should be set and working. Check your website for the push notification prompt. Don’t forget to make sure that push notifications feature is not disabled on your web browser.
5. Send your first campaign
Set your campaign title, message, attach an image (2:1 resolution) of your wish and an URL to be launched if clicked by the user. That’s all, everything is set and ready to go. Confirm and your first push notification campaign will be on its way.
When you send a campaign it is automatically placed on your history list and tagged as “Queued”.
Your push notification on Google’s Chrome browser (Linux version) will show up like this :
Finally after a successful push notification campaign the status of your campaign will be automatically updated to “Finished”.
Do you need assistance to complete the installation?
Our team of experts can take care of the entire process for you.