Introduction

POPNotifi JavaScript SDK allows you to control different aspects of the application. Unlike REST API which works on the server side. JavaScript SDK works on the client side. By default our embed code is enough to make your website Push Notification powered. But sometimes you need more control than that, like instead of auto opt-in, you might want to trigger the opt-in manually after user clicks on a button.

Our JavaScript SDK gets installed on your website with the embed code. So there is no additional setup to be done in order to utilize it.

Our SDK exposes our SDK method popnotifi on the global window object in the browser and you can use that to call our SDK methods.