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