Notifly
Search…
Static pages (HTML)
If your website is static HTML or otherwise doesn't render the HTML with Javascript – simply copy and paste the following snippet into all pages you want Notifly to appear on. It should be placed right before the </body> tag:
1
<script>
2
(function(){
3
w=window;n=w.Notifly=function(){n.q.push(arguments)};n.q=[];
4
d=document;s=d.createElement("script");s.src="https://app.notifly.io/static/v2/notifly.js";s.async=1;d.getElementsByTagName("head")[0].appendChild(s);
5
})();
6
window.Notifly('init', {
7
appId: "<YOUR_NOTIFLY_APP_ID>",
8
authCode: "<USERS_NOTIFLY_HASH>",
9
elementId: "<ELEMENT_ID_FOR_WIDGET_TO_ATTACH_ONTO>",
10
externalId: "<EXTERNAL_USER_ID>"
11
});
12
</script>
Copied!
This will render the Notifly icon as soon as the script has been loaded.
Copy link