1 2function runAnalyticsSetup() { 3 if (typeof window.AccountNumber === 'undefined' || window.AccountNumber === null) { 4 return; 5 } 6 window.dataLayer = window.dataLayer || []; 7 function gtag() { dataLayer.push(arguments); } 8 gtag('config', 'G-QL8GCZCW0D', { 9 'send_page_view': false, 10 'allow_google_signals': false, 11 'user_id': `${window.AccountNumber} - ${window.ParentAccountId}`, 12 'account_number': `${window.AccountNumber}`, 13 'proxy_used': `${ window.IsProxy}` 14 }); 15 gtag('consent', 'default', { 16 'analytics_storage': 'denied', 17 'wait_for_update': 500 18 }); 19 gtag('js', new Date()); 20 21 22 if (window.EnableAnalytics && window.ParentEmail !== '[email protected]') { 23 gtag('set', 'user_properties', { 24 account_number: window.AccountNumber, 25 login_id: window.ParentAccountId, 26 proxy_used: window.IsProxy 27 }); 28 29 gtag('consent', 'update', { 30 'analytics_storage': 'granted' 31 }); 32 33 gtag('event', 'page_view', { 34 page_title: 'Here Comes the Bus', 35 account_number: window.AccountNumber, 36 proxy_used: window.IsProxy 37 }); 38 } 39}
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.