Sripting tag is being added but not loading code

New Member
1 0 0

Hello Team,


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;

function beginrefresh(){
    alert("Newly scripting tag file is loaded"); 


Please help me which is not calling even after adding