I'm not sure on how complex it is, I just know I have been on websites on my phone (android) and i've been asked if the website can send me push notifications. I cannot think of any off hand, but next time I come across one I'll send the link.
I did find this
https://vwo.com/blog/before-starting...notifications/