// By default, Klaro will load the config from a global "klaroConfig" variable.
// You can change this by specifying the "data-config" attribute on your
// script take, e.g. like this:
// <script src="klaro.js" data-config="myConfigVariableName" />
// You can also disable auto-loading of the consent notice by adding
// data-no-auto-load=true to the script tag.
var klaroConfig = {
// You can customize the ID of the DIV element that Klaro will create
// when starting up. If undefined, Klaro will use 'klaro'.
elementID: 'klaro',
// You can customize the name of the cookie that Klaro uses for storing
// user consent decisions. If undefined, Klaro will use 'klaro'.
cookieName: 'klaro',
// You can also set a custom expiration time for the Klaro cookie.
// By default, it will expire after 120 days.
cookieExpiresAfterDays: 365,
// You can customize the name of the cookie that Klaro will use to
// store user consent. If undefined, Klaro will use 'klaro'.
// Put a link to your privacy policy here (relative or absolute).
privacyPolicy: '/Datenschutz',
// Defines the default state for applications (true=enabled by default).
default: false,
// If "mustConsent" is set to true, Klaro will directly display the consent
// manager modal and not allow the user to close it before having actively
// consented or declines the use of third-party apps.
mustConsent: true,
// You can define the UI language directly here. If undefined, Klaro will
// use the value given in the global "lang" variable. If that does
// not exist, it will use the value given in the "lang" attribute of your
// HTML tag. If that also doesn't exist, it will use 'en'.
//lang: 'en',
// You can overwrite existing translations and add translations for your
// app descriptions and purposes. See `src/translations.yml` for a full
// list of translations that can be overwritten:
// https://github.com/DPKit/klaro/blob/master/src/translations.yml
// Example config that shows how to overwrite translations:
// https://github.com/DPKit/klaro/blob/master/src/configs/i18n.js
translations: {
// If you erase the "consentModal" translations, Klaro will use the
// defaults as defined in translations.yml
de: {
consentModal: {
title:'Cookies die wir setzen!',
description:
'Seit dem EuGH Urteil vom Dienstag den 01.10.2019 sind wir verpflichtet von unseren Besuchern eine "AKTIVE" Cookie abfrage zu stellen. Leider sind Urteile nicht immer Userfreundlich auch wenn wir das Urteil als einen richtigen Schritt sehen.',
},
inlineTracker: {
description: 'Mautic',
},
externalTracker: {
description: 'Facebook + AdWords Retargeting',
},
adsense: {
description: 'Anzeigen von Werbeanzeigen (Beispiel)',
},
matomo: {
description: 'Sammeln von Besucherstatistiken, nur interner Gebrauch',
},
camera: {
description: 'Eine �berwachungskamera (nur ein Beispiel zu IMG-Tags)',
},
cloudflare: {
description: 'Schutz gegen DDoS-Angriffe',
},
intercom: {
description: 'Zammad',
},
mouseflow: {
description: 'Echtzeit-Benutzeranalyse (nur ein Beispiel)',
},
googleFonts: {
description: 'Web-Schriftarten von Google gehostet',
},
purposes: {
analytics: 'Besucher-Statistiken',
security: 'Sicherheit',
livechat: 'Live Chat',
advertising: 'Anzeigen von Werbung',
styling: 'Styling',
},
},
en: {
consentModal: {
description:
'Here you can see and customize the information that we collect about you. Entries marked as "Example" are just for demonstration purposes and are not really used on this website.',
},
inlineTracker: {
description: 'Example of an inline tracking script',
},
externalTracker: {
description: 'Example of an external tracking script',
},
adsense: {
description: 'Displaying of advertisements (just an example)',
},
matomo: {
description: 'Collecting of visitor statistics',
},
camera: {
description: 'A surveillance camera (just a silly example for an IMG tag)',
},
cloudflare: {
description: 'Protection against DDoS attacks',
},
intercom: {
description: 'Chat widget & collecting of visitor statistics (just an example)',
},
mouseflow: {
description: 'Real-Time user analytics (just an example)',
},
googleFonts: {
description: 'Web fonts hosted by Google',
},
purposes: {
analytics: 'Analytics',
security: 'Security',
livechat: 'Livechat',
advertising: 'Advertising',
styling: 'Styling',
},
},
tr: {
consentModal: {
description:
'Hakkınızda topladığımız bilgileri burada görebilir ve özelleştirebilirsiniz. "Örnek" olarak belirtilenler sadece gösterim amaçlıdır ve gerçekte bu site için kullanılmazlar.',
},
inlineTracker: {
description: 'Satıriçi takip kodu için bir örnek',
},
externalTracker: {
description: 'Dışarıdan çağırılan bir takip kodu için örnek',
},
adsense: {
description: 'Reklam görüntüleme (sadece örnek)',
},
matomo: {
description: 'Ziyaretçi istatistiklerini toplama',
},
camera: {
description: 'İzleme kamerası (IMG tag icin saçma bir örnek daha)',
},
cloudflare: {
description: 'DDoS saldırılarına karşı koruma',
},
intercom: {
description: 'Sohbet aracı ve ziyaretçi istatistiklerini toplama (sadece bir örnek)',
},
mouseflow: {
description: 'Gerçek zamanlı kullanıcı istatistiği (sadece bir örnek)',
},
googleFonts: {
description: 'Google tarafından barındırılan Web Yazıtipi bilgileri',
},
purposes: {
analytics: 'Analitik',
security: 'Güvenlik',
livechat: 'Canlı Sohbet',
advertising: 'Reklam',
styling: 'Biçimlendirme',
},
},
},
// This is a list of third-party apps that Klaro will manage for you.
apps: [
{
name : 'onlineshop',
default: true,
title : 'Shopsystem',
purposes : ['security'],
cookies : ['JTLSHOP','language'],
callback : function(consent, app){
},
required: true,
optOut: true,
onlyOnce: false,
},
{
// Each app should have a unique (and short) name.
name: 'matomo',
// If "default" is set to true, the app will be enabled by default
// Overwrites global "default" setting.
// We recommend leaving this to "false" for apps that collect
// personal information.
default: false,
// The title of you app as listed in the consent modal.
title: 'Matomo / Piwik',
// The purpose(s) of this app. Will be listed on the consent notice.
// Do not forget to add translations for all purposes you list here.
purposes: ['analytics'],
// A list of regex expressions or strings giving the names of
// cookies set by this app. If the user withdraws consent for a
// given app, Klaro will then automatically delete all matching
// cookies.
cookies: [
// you can also explicitly provide a path and a domain for
// a given cookie. This is necessary if you have apps that
// set cookies for a path that is not "/" or a domain that
// is not the current domain. If you do not set these values
// properly, the cookie can't be deleted by Klaro
// (there is no way to access the path or domain of a cookie in JS)
[/^_pk_.*$/, '/', 'analyse.lichte-kraft.eu'], //for the production version
'piwik_ignore',
],
// An optional callback function that will be called each time
// the consent state for the app changes (true=consented). Passes
// the `app` config as the second parameter as well.
callback: function(consent, app) {
// This is an example callback function.
console.log(
'User consent for app ' + app.name + ': consent=' + consent
);
},
// If "required" is set to true, Klaro will not allow this app to
// be disabled by the user.
required: false,
// If "optOut" is set to true, Klaro will load this app even before
// the user gave explicit consent.
// We recommend always leaving this "false".
optOut: false,
// If "onlyOnce" is set to true, the app will only be executed
// once regardless how often the user toggles it on and off.
onlyOnce: false,
},
// The apps will appear in the modal in the same order as defined here.
{
name: 'mautic',
default: false,
title: 'Mautic (Newsletter)',
purposes: ['analytics'],
cookies: ['inline-tracker'],
optOut: false,
onlyOnce: false,
},
{
name : 'google-analytics',
default: false,
title : 'Google Analytics',
purposes : ['statistics'],
cookies : [/^ga/i],
callback : function(consent, app){
},
optOut: false,
onlyOnce: false,
},
{
name: 'adwords-facebookpixel',
default: false,
title: 'Google Adwords + Facebook',
purposes: ['analytics'],
cookies: ['external-tracker'],
optOut: false,
onlyOnce: false,
},
{
name: 'payment',
default: false,
title: 'Amazon Payment',
purposes: ['analytics','security'],
cookies: ['amazon-pay-connectedAuth','apay-session-set','amazon-pay-abtesting-new-widgets','amazon-pay-abtesting-apa-migration','lpa_redirect'],
optOut: false,
onlyOnce: false,
},
],
};