if(!window.location.href.includes('/login')){ if(!window.location.href.includes('/login')){ let scriptCDN = document.createElement("iframe"); scriptCDN.setAttribute("src", ' Link https://www.googletagmanager.com/ns.html?id=GTM-MZQS5PH'); scriptCDN.setAttribute("height", '0'); scriptCDN.setAttribute("width", '0'); scriptCDN.setAttribute("style", 'display:none;visibility:hidden'); document.head.appendChild(scriptCDN); }