I’ve committed some time to implement this and came to believe that the community will benefit tremendously from a this solution on top of the existing email medium (though email users are endangered species these days :p)
The following is my humble suggestion for a built-in solution:
Requirements
-
Support on major environments (ie. Chrome, Firefox, Safari on mobile and desktop)
-
Activate prompt only on selected pages
-
Prompt message customizable for each selected page
-
Automatically resubscribe when cache is cleared
-
Header, content, app icon, URL supported
-
Back and foreground delivery for major environments
-
Manual schedulable delivery to segments and filters created from wix-data
-
Automated delivery using UIDs based on datahooks (ref. Firebase FCM, OneSignal)
Nice-to-haves
-
Persist notification until users takes an action (ie. unlimited TTL) on major environments
-
Allow image, google map attachment as well as action buttons on major environments
-
Analytics (delivery, views, clicks, close, unsubscribe)
-
Transaction messages synced with payment settlement
-
Automated delivery using UIDs based on site eventHandler
-
Prompt based on engagement
Having detailed all that, in the near-term easier Firebase FCM implementation will actually suffice. For that to work, adding FCM service worker to the site root is necessary, but site root is inaccessible on Wix currently. Providing a workaround without compromising security would be the most appreciated and efficient.
Many thanks,