PageSourceSearch

https://www.rabattcorner.ch/build/assets/gtmInit-DAstFOXJ.js

js rabattcorner.ch collected 2026-09-24 10:55:52 UTC 1,739 bytes, 1 lines download raw bytes

1var m;const l=(m=window.location)==null?void 0:m.href.startsWith("https://staging.rabattcorner.ch/"),g=document.createElement("noscript"),i=document.createElement("iframe");l?(console.log("setting staging GTM content"),i.setAttribute("src","https://www.googletagmanager.com/ns.html?id=GTM-WHHGPW&gtm_auth=CyDrZ9XCjU72Ecq-_Iv5VQ&gtm_preview=env-359&gtm_cookies_win=x")):(console.log("setting production GTM content"),i.setAttribute("src","//www.googletagmanager.com/ns.html?id=GTM-WHHGPW"));i.setAttribute("height","0");i.setAttribute("width","0");i.setAttribute("style","display:none;visibility:hidden;");g.append(i);const u=()=>{l?(function(t,e,r,n,s){t[n]=t[n]||[],t[n].push({"gtm.start":new Date().getTime(),event:"gtm.js"});var a=e.getElementsByTagName(r)[0],o=e.createElement(r),c="";o.async=!0,o.src="https://www.googletagmanager.com/gtm.js?id="+s+c+"&gtm_auth=CyDrZ9XCjU72Ecq-_Iv5VQ&gtm_preview=env-359&gtm_cookies_win=x",a.parentNode.insertBefore(o,a)}(window,document,"script","dataLayer","GTM-WHHGPW"),console.log("script executed for staging")):(function(t,e,r,n,s){t[n]=t[n]||[],t[n].push({"gtm.start":new Date().getTime(),event:"gtm.js"});var a=e.getElementsByTagName(r)[0],o=e.createElement(r),c="";o.async=!0,o.src="//www.googletagmanager.com/gtm.js?id="+s+c,a.parentNode.insertBefore(o,a)}(window,document,"script","dataLayer","GTM-WHHGPW"),console.log("script executed for prod"))};(function(){var t,e;if((e=(t=window.navigator)==null?void 0:t.userAgent)!=null&&e.includes("rabattcorner-app")){document.addEventListener("appTrackingPermissionGranted",r=>{document.body.append(g),u()});return}document.body.append(g)})();var d,p;(p=(d=window.navigator)==null?void 0:d.userAgent)!=null&&p.includes("rabattcorner-app")||u();

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.