How to integrate with native website ?Last Updated: August 09, 2018
You can integrate Engagespot to your existing native website in 3 simple steps.
Step-1: The Smart Code
Goto website settings -> General,
copy the integration code for the website (the smart code).
- Show opt-in prompt for all the visitors come to your website: people subscribe the web push notification service from the opt-in box. So paste the code in the headers of all pages to show promptly in all pages.
- Show opt-in prompt for a specific page: you can restrict the opt-in prompt to certain pages by placing the smart code in a limited number of pages. Eg: you can enable opt-in prompt only for your landing page.
Step-2: Customise the prompt
Goto website settings -> Customize,
There are 3 options available for the notification prompt.
- Two-step prompt: is for either HTTP or HTTPS-enabled websites. You can create custom opt-in prompt. Then the native prompt of the browser for confirming the subscription of web push notification. Read more.
- One step prompt: is only available for HTTPS-enabled websites. Here you can override the native prompt of the browser with a single custom prompt. Read more.
Other available options are,
Prompt delay: can be specified in milliseconds.
Step-3: Customise the panel
The preferred Notification Panel style for the native sites is Normal.