The goal is to allow partners to trigger an external window where users can opt into receiving push notifications. Once the user grants or denies permission, the opt-in window is automatically closed so the user can continue browsing the original website.
Awesome! How does it work?
var optinWindow = window.open('https://smartinstantalerts.com/subscribe/');
Why is this necessary?