1const browserLang = navigator.language; 2var useLang = browserLang.slice(0, 2) 3/*console.log(useLang); 4console.log(document.cookie);*/ 5var klaroConfig = { 6 lang: useLang, 7 privacyPolicy: privacyLink, 8 htmlTexts: true, 9 default: true, 10 acceptAll: true, 11 services : [ 12 { 13 name : 'matomo-analytics', 14 default: true, 15 title : 'Matomo Analytics', 16 purposes : ['analytics'], 17 translations: { 18 en: { 19 description: 'Matomo is a simple, self-hosted analytics service.' 20 }, 21 de: { 22 description: 'Matomo ist ein einfacher, selbstgehosteter Analytics-Service.' 23 }, 24 es: { 25 description: 'Matomo es un servicio de análisis sencillo y autoalojado.' 26 }, 27 }, 28 cookies: [ 29 [/^_pk_.*$/, '/', 'localhost'], 30 [/^_mtm_.*$/, '/', 'localhost'], 31 [/^MATOMO.*$/, '/', 'localhost'], 32 ], 33 callback: function(consent, service) { 34 if (typeof _paq !== 'undefined') { 35 if (consent == true){ 36 _paq.push(['setConsentGiven']); 37 _paq.push(['setCookieConsentGiven']); 38 } else { 39 _paq.push(['forgetConsentGiven']); 40 _paq.push(['forgetCookieConsentGiven']) 41 } 42 } 43 }, 44 required: false, 45 optOut: false, 46 onlyOnce: true, 47 }, 48 { 49 purposes: ['marketing'], 50 title : 'YouTube', 51 name: "you-tube", 52 translations: { 53 en: { 54 description: "YouTube sets cookies and collects personal data. This data includes the user's IP address, browser information and click behavior." 55 }, 56 de: { 57 description: 'YouTube setzt Cookies und sammelt personenbezogene Daten. Zu diesen Daten gehören die IP-Adresse des Nutzers, Browserinformationen und das Klickverhalten.' 58 }, 59 es: { 60 description: 'YouTube instala cookies y recopila datos personales. Estos datos incluyen la dirección IP del usuario, la información del navegador y el comportamiento al hacer clic.' 61 }, 62 }, 63 contextualConsentOnly: true // this option enables inline consent 64 } 65 ] 66}
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.