1/** 2 * Google consent-mode defaults for OuiFollow. 3 * Must load synchronously before Umami and ConsentKit scripts. 4 * @package OuiFollow 5 */ 6window.dataLayer = window.dataLayer || []; 7function gtag(){dataLayer.push(arguments)} 8gtag('consent', 'default', { 9 ad_storage: 'denied', 10 analytics_storage: 'denied', 11 ad_user_data: 'denied', 12 ad_personalization: 'denied', 13 functionality_storage: 'granted', 14 security_storage: 'granted', 15 wait_for_update: 500 16}); 17(function(){ 18 var c = document.cookie.match(/ck_consent=([^;]+)/); 19 if (c) { 20 try { 21 var ch = JSON.parse(decodeURIComponent(c[1])); 22 gtag('consent', 'update', { 23 ad_storage: ch.marketing ? 'granted' : 'denied', 24 analytics_storage: ch.analytics ? 'granted' : 'denied', 25 ad_user_data: ch.marketing ? 'granted' : 'denied', 26 ad_personalization: ch.marketing ? 'granted' : 'denied' 27 }); 28 } catch(e) {} 29 } 30})();
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.