I have created a Gatsby website. To enable push notification in that website I have to use this code:
<!-- Begin DigitalPUSH code -->
<script>
var DGPkey = "M3E2cGU5d1hPQWl2VTRTeG9ZYU8xa0l1YW8yMWVmR3FKbFFjMGNLNllIbz0="; //mandatory
var DGPnativerequest = "0";
var DGPdelay = "10000";
var DGPmtype = "overlay";
var DGPtheme = "13e3b4";
var DGPtitle = "!!! !!!";
var DGPmessage = "!!! !!!";
var DGPallowbutton = "";
var DGPrejectbutton = "";
var DGPbgimage = "";
var DGPinpageads = "0";
</script>
<script type="text/javascript" src="//cdn.digitalpush.org/lib.js"></script>
<!-- End DigitalPUSH code -->
I have to put this code before the tag. I tried couple of methods from the internet but none seem to work. Can someone please tell me how to do this?
My website's template:https://github.com/Tahsin007/classsed-gatsby-blog
Thanks in advance.
