1window.dataLayer = window.dataLayer || []; 2function gtag(){dataLayer.push(arguments);} 3gtag('js', new Date()); 4gtag('set', 'developer_id.dMDhkMT', true); 5 6(function (drupalSettings) { 7 const config = drupalSettings.gtag; 8 9 if (config.consentMode === true) { 10 gtag('consent', 'default', { 11 'ad_storage': 'denied', 12 'analytics_storage': 'denied', 13 'ad_user_data': 'denied', 14 'ad_personalization': 'denied', 15 'wait_for_update': 500 16 }); 17 } 18 19 if (config.tagId.length !== 0) { 20 const script = document.createElement('script') 21 script.async = true; 22 script.src = 'https://www.googletagmanager.com/gtag/js?id=' + config.tagId 23 script.type = 'text/javascript'; 24 document.getElementsByTagName('head')[0].appendChild(script); 25 } 26 27 const additionalConfigInfo = config.additionalConfigInfo || [] 28 if (additionalConfigInfo.length === 0) { 29 gtag('config', config.tagId); 30 } else { 31 gtag('config', config.tagId, additionalConfigInfo); 32 } 33 34 const otherIds = config.otherIds || [] 35 otherIds.forEach(id => gtag('config', id)) 36 37 const events = config.events || [] 38 events.forEach(event => gtag('event', event.name, event.data)) 39})(drupalSettings);
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.