OneSignal is the market leader in customer engagement, powering mobile push, web push, email, and in-app messages for 800k marketers & developers, delivering 5+ billion messages daily on their behalf. OneSignal’s easy to implement, easy-to-use features include segmentation, A/B testing, automated messaging, and advanced analytics. Offering simple plugins and robust rest API endpoints, drive results. From this manual, you will learn, how to integrate it with the Smartpages platform.

Enable custom code in OneSignal

  1. Log in to the OneSignal platform, then add the domain on which the landing page is selected by you.

2. In the Configure Web Push window, select Custom Code, then in step 2 enter the name of the landing page and its URL address and click Save.

Install the code in Smartpages

  1. Below you will find the code that you need to copy and paste in the JavaScript codes tab in Smartpages platform.

Remember: customize the code for your landing page.

(1) ID;
(2) Label for your landing page;
(3) Notification;
(4) Accept button text;
(5) Cancel button text.

Customize and copy the following code:

2. Log in to Smartpages platform and go to the Dashboard of the selected landing page. In the JavaScript codes tab, paste the previously copied code to the Head section and click Add code.

Was this article helpful to you?


Comments are closed.