1// Google Analytics 4 (GA4) Tracking 2// Measurement ID: G-BM323918MC 3 4// Initialize dataLayer
vendor: 127 bytes, lines 5-8
5window.dataLayer = window.dataLayer || []; 6function gtag(){dataLayer.push(arguments);} 7gtag('js', new Date()); 8gtag('config', '
8G-BM323918MC
vendor: 148 bytes, lines 8-13
8', { 9 'page_path': window.location.pathname + window.location.search, 10 'page_title': document.title, 11 'page_location': window.location.href 12}); 13
14// Track page views on navigation (for SPA-like behavior) 15if (window.history && window.history.pushState) { 16 var originalPushState = window.history.pushState; 17 window.history.pushState = function() { 18 originalPushState.apply(window.history, arguments); 19 gtag('config', 'G-BM323918MC', { 20 'page_path': window.location.pathname + window.location.search, 21 'page_title': document.title, 22 'page_location': window.location.href 23 }); 24 }; 25}
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.