// obtain cookieconsent plugin
var cc = initCookieConsent();
// run plugin with config object
cc.run({
current_lang : 'de',
autoclear_cookies : true, // default: false
cookie_name: 'KGV_A_R_cookies', // default: 'cc_cookie'
cookie_expiration : 365, // default: 182
page_scripts: true, // default: false
auto_language: 'browser', // default: null; could also be 'browser' or 'document'
autorun: true, // default: true
delay: 0, // default: 0
force_consent: false,
hide_from_bots: false, // default: false
remove_cookie_tables: false, // default: false
// cookie_domain: location.hostname, // default: current domain
cookie_path: "/", // default: root
cookie_same_site: "Lax",
use_rfc_cookie: false, // default: false
revision: 1, // default: 0
gui_options: {
consent_modal: {
layout: 'box', // box,cloud,bar
position: 'bottom left', // bottom,middle,top + left,right,center
transition: 'slide' // zoom,slide
},
settings_modal: {
layout: 'box', // box,bar
position: 'left', // right,left (available only if bar layout selected)
transition: 'zoom' // zoom,slide
}
},
onFirstAction: function(){
console.log('onFirstAction fired');
},
onAccept: function (cookie) {
console.log('onAccept fired ...');
},
onChange: function (cookie, changed_preferences) {
console.log('onChange fired ...');
},
languages: {
//IS: en -> 0
'en': {consent_modal: {title: 'This website uses cookies!',description: 'In order to optimally design our website for you and to be able to continuously improve it and we use cookiesto personalize content.. Information about your use of our website can be passed on to our partners for. Our partners may combine this information with other data that you have provided to them, including via other websites, or that they have collected as part of your use of the services. In the settings you can specify which cookies you agree to.For more details on cookies and how we handle other sensitive data, please see the full privacy statement.',primary_btn: {text: 'Accept all', role: 'accept_all' },secondary_btn: {text: 'Settings', role: 'settings' }},settings_modal: {title: 'KGV Am Römerkastell Cookie settings', save_settings_btn: 'Save settings', accept_all_btn: 'Accept all', reject_all_btn: 'Reject all', close_btn_label: 'Close', cookie_table_headers: [{col1: 'Name'},{col2: 'Offerer'},{col3: 'Expiration'},{col4: 'Description'}],blocks: [ { title: 'Cookie consent settings 📢',description: 'Here you can decide for each cookie category whether you allow the use of cookies in this category or not.'},{title: 'Strictly necessary cookies',description: 'These cookies are essential for the proper functioning of my website. Without these cookies, the website would not work properly',toggle: { value: 'nec', enabled: true, readonly: true},cookie_table: [{col1: 'PHPSESSID',col2: 'KGV Am Römerkastell',col3: 'Session',col4: 'Caches variables on the web server.'},{col1: 'KGV_A_R_cookies',col2: 'KGV Am Römerkastell',col3: '365 days',col4: 'Saves the choices made here.'}]}, {title: 'More information',description: 'If you would like to know more about how we handle personal data, then take a look at our privacy policy. You can see who we are in our imprint.',}]}}
//hier
,
//IS: de -> 1
'de': {consent_modal: {title: 'Diese Webseite verwendet Cookies!',description: 'Um unsere Webseite für Sie optimal zu gestalten und fortlaufend verbessern zu können und verwenden wir Cookies um Inhalte zu personalisieren. In den Einstellungen können sie festlegen welchen Cookies Sie Zustimmen.
Weitere Einzelheiten zu Cookies und wie wir mit anderen sensiblen Daten umgehen, finden Sie in der vollständigen Datenschutzerklärung.',primary_btn: {text: 'Alle akzeptieren', role: 'accept_all' },secondary_btn: {text: 'Einstellungen', role: 'settings' }},settings_modal: {title: 'KGV Am Römerkastell Cookie Einstellungen', save_settings_btn: 'Einstellungen Speichern', accept_all_btn: 'Allen zustimmen', reject_all_btn: 'Alle ablehnen', close_btn_label: 'Schließen', cookie_table_headers: [{col1: 'Name'},{col2: 'Anbieter'},{col3: 'Ablaufzeit'},{col4: 'Beschreibung'}],blocks: [ { title: 'Cookie Zustimmungseinstellungen',description: 'Hier können Sie zu jeder Cookiekategorie entscheiden, ob Sie der Nutzung von Cookies dieser Kategorie zulassen oder nicht.'},{title: 'Notwendige Cookies',description: 'Diese Cookies sind für das reibungslose Funktionieren dieser Webseite unerlässlich. Ohne diese Cookies würde die Webseite nicht richtig funktionieren.',toggle: { value: 'nec', enabled: true, readonly: true},cookie_table: [{col1: 'PHPSESSID',col2: 'KGV Am Römerkastell',col3: 'Sitzung',col4: 'Speichert Variablen auf dem Webserver zwischen.'},{col1: 'KGV_A_R_cookies',col2: 'KGV Am Römerkastell',col3: '365 Tage',col4: 'Speichert die hier getroffenen Entscheidungen.'}]}, {title: 'Weiterführende Informationen',description: 'Wenn Sie genauer wissen möchten, wie wir mit Personenbezogenen Date umgehen, dann schauen Sie in unsere Datenschutzerklärung. Wer wir sind, sehen Sie in unserem Impressum.',}]}}
//hier
}
});