/* Neutralized GTM stub: prevents any tracking or external beacons */ (function(){ try { // Preserve any existing dataLayer, but make pushes no-op if desired var dl = window.dataLayer = window.dataLayer || []; var originalPush = dl.push && dl.push.bind(dl); dl.push = function(){ return originalPush ? originalPush.apply(dl, arguments) : dl.length; }; // No-op gtag and ga window.gtag = window.gtag || function(){ /* noop */ }; window.ga = window.ga || function(){ /* noop */ }; // Block background beaconing used by GA/GTM if (typeof navigator !== 'undefined' && typeof navigator.sendBeacon === 'function') { navigator.sendBeacon = function(){ return false; }; } // Prevent image beacons var OrigImage = window.Image; window.Image = function(){ return { set src(_) { /* swallow */ }, get src(){ return ''; }, onload: null, onerror: null }; }; // Mark as neutralized so other code can short-circuit if needed window.__GTM_NEUTRALIZED__ = true; } catch (e) { // Silently ignore any errors to avoid breaking the page } })();