Push Notification
Integrating Push Notification into your website is easy, since you have HTTPS enabled on your website, you just need to follow these 2 steps:
Upload the following file into the website root (domain.com/sw.js). The website root is generally public_html or html folders on your web server. (required)
Files: sw.js
Insert this code into your website (domain.com), preferably just before the head tag ends.
<!-- MailCup Push Notification -->
<script type="text/javascript">
(function(d, t) {
var g = d.createElement(t),
s = d.getElementsByTagName(t)[0];
g.src = "https://cdn.mailcup.net/integrate_00000000000000000000000000000000.js";
s.parentNode.insertBefore(g, s);
}(document, "script"));
</script>
<!-- End MailCup Push Notification -->
Note: If you are using any of our extensions/plugins then the universal code doesn't need to be added on your website. The extension/plugin will add the integration code automatically.