1// Google Analytics tracking for Blazor SPA navigation 2(function () { 3 // Initialize dataLayer 4 window.dataLayer = window.dataLayer || []; 5 function gtag() { dataLayer.push(arguments); } 6 window.gtag = gtag; 7 8 gtag('js', new Date()); 9 gtag('config', 'G-YWEP686KE6'); 10 11 // Track page views on Blazor navigation 12 window.trackPageView = function (url) { 13 if (typeof gtag === 'function') { 14 gtag('config', 'G-YWEP686KE6', { 15 'page_path': url 16 }); 17 } 18 }; 19})(); 20
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.