Hello,
We are starting to use Notifo to test it and see how we can use it.
However, using the recommended snipped code for the web we get the following console errors:
4x - NOTIFO SDK: Unknown command set
NOTIFO SDK: Unknown command ui
NOTIFO SDK: init has not been called yet or has failed.
The code we are using:
(function() {
var n = window['notifo'] || (window['notifo'] = []);
n.push(['set', 'api-key', '<OUR API KEY>']);
n.push(['set', 'user-id', '<OUR USER ID>']);
n.push(['set', 'user-name', '<OUR USER DISPLAY NAME>']);
n.push(['set', 'user-email', '<OUR USER EMAIL>']);
n.push(['ui', 'button']);
n.push(['subscribe']);
var s = document.createElement('script');
s.src = 'https://app.notifo.io/build/notifo-sdk.js';
s.async = true;
document.body.appendChild(s);
})();
We tried with Notifo self-hosted and with the version hosted by you.
It’s probably an error in our side, but any suggestion would be really helpful.