Shopify users, please refer to: https://unifiedps.com/docs/new-to-unifiedps/adding-website-push-notifications-shopify
WordPress users, please refer to: https://unifiedps.com/docs/new-to-unifiedps/adding-a-website-wordpress
This tutorial walks through the steps to install unifiedps’s web push notifications manually.
1. Add your website
To add a website to your unifiedps account log into your dashboard (https://dashboard.unifiedps.com/login) and go to “Websites” > “Add Website”.
Select “Manually Install On Site.”
At this point you are presented with three areas to fill out:
- Icon – the default image you want to use for your push notifications. You’ll be able to change it per campaign, but this will be a fallback.
- Name – a custom name for your site (this is shown to users on certain browsers such as Safari)
- URL – the URL of your site (be sure to include “https://” such as “https://unifiedps.com“)
The majority of browsers require your website to support HTTPS in order to have visitors subscribe. If you are unsure if your website supports HTTPS, please refer to: https://documentation.unifiedps.com/docs/does-my-site-support-https
After filling out the information above, click “Create”. Our software will prepare all the requirements on your behalf and in a few seconds your site will be created.
2. Upload the required files to your website
Once your site is ready you will need to install the tracking code and upload the required files. You should automatically be redirected to the installation page but if not you can go to “View Websites”, click edit on the site you are working on and then click “Installation/Tracking Code”.
Download the required files and upload them to your sites root directory. (this means they should be accessible at https://yoursite.com. ie https://yoursite.com/unifiedps-worker.js and https://yourwebsite.com/unifiedps-manifest.json)
3. Upload the tracking code to your website
Click “View Tracking Code” and copy and paste the snippet on the footer of every page you wish to track (note: you must install this on the homepage in order to properly work).
Now your website should start prompting visitors to subscribe when they visit it. If you’d like to manage which pages prompt users to subscribe, check out Subscriber Permission Prompt Management