Sripting tag is being added but not loading code
I have created scripting tag through admin scripting_tag API successfully.
I can see created scripting tag to my shopify but scripting code is getting loaded.
I have wrriten code as bellow in my scripting tag file:
window.onload = beginrefresh;
alert("Newly scripting tag file is loaded");
Please help me which is not calling even after adding