PageSourceSearch

https://chatnaweb.cz/js/consent-mode.js

js chatnaweb.cz collected 2026-09-24 13:25:22 UTC 760 bytes, 26 lines download raw bytes

1window.dataLayer = window.dataLayer || [];
2function gtag(){ dataLayer.push(arguments); }
3
4// Read stored consent (valid for 12 months)
5var __cnwConsent = null;
6try {
7  var raw = localStorage.getItem('cnw_cookie_consent');
8  if (raw) {
9    var parsed = JSON.parse(raw);
10    if (Date.now() - (parsed.timestamp || 0) < 365 * 24 * 3600 * 1000) __cnwConsent = parsed;
11  }
12} catch (e) {}
13
14gtag('consent', 'default', {
15  ad_storage: 'denied',
16  ad_user_data: 'denied',
17  ad_personalization: 'denied',
18  analytics_storage: __cnwConsent && __cnwConsent.analytics ? 'granted' : 'denied',
19  functionality_storage: 'granted',
20  security_storage: 'granted',
21  wait_for_update: 500,
22});
23
24gtag('js', new Date());
25gtag('config', 'G-QX00DY45HE');
26gtag('config', 'GT-M6JHCQ4');

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.