function getDomainName(hostName){
return hostName.substring(hostName.lastIndexOf(".", hostName.lastIndexOf(".") - 1) + 1);
}
var element = document.getElementById("videoNotAllowed");
var klaroConfig = {
privacyPolicy: '/en/dataprotection/',
lang: 'en',
acceptAll: true, services : [
{
name : 'cms',
default: true,
required: true,
optOut: false,
title : 'CMS',
purposes : ['required'],
cookies : [/^headImgHeight|headImgWidth|PHPSESSID|MATOMO_SESSID|CookieInfo|klaro$/i, '/'],
callback : function(consent, app){
/*console.log(
'User consent for app ' + app.name + ': consent=' + consent
);*/
}
},
{
name : 'matomo',
default: false,
required: false,
optOut: false,
title : 'Matomo',
purposes : ['analytics'],
cookies: [
[/^_pk_.*$/i, '/'],
[/^piwik_ignore/, '/', 'stats.futureweb.at'],
[/^piwik_ignore/, '/']
],
callback : function(consent, app){
/*console.log('User consent for app ' + app.name + ': consent=' + consent);*/
if(consent==true){
_paq.push(['rememberCookieConsentGiven']);
} else {
_paq.push(['forgetCookieConsentGiven']);
}
}
},
{
name : 'googletagmanager',
default: false,
required: false,
title : 'Google Tag Manager',
purposes : ['advertising'],
cookies: [/^IDE$/i, '/', 'doubleclick.net'],
callback : function(consent, app){
/*console.log(
'User consent for app ' + app.name + ': consent=' + consent
);*/
}
},
{
name : 'kitzbuehleralpen',
default: false,
required: false,
title : 'Kitzbüheler Alpen',
purposes : ['widgets'],
cookies : [
[/^(_ga.*)|(_gid)$/i, '/', '.kitzbueheler-alpen.com'],
[/^ASP.NET_SessionId$/i, '/', 'widgets.kitzbueheler-alpen.com'],
],
callback : function(consent, app){
/*console.log(
'User consent for app ' + app.name + ': consent=' + consent
);*/
}
},
{
name : 'youtube',
default: false,
required: false,
title : 'Youtube & Google Doubleclick',
purposes : ['videos'],
cookies: [
[/^VISITOR_INFO1_LIVE|PREF|YSC|GPS$/i, '/', 'youtube.com'],
[/^IDE$/i, '/', 'doubleclick.net']
],
callback : function(consent, app){
if(typeof(element) != 'undefined' && element != null){
if(consent == false) {
document.getElementById('videoNotAllowed').innerHTML = '
Accept cookies to see the video: Link';
} else {
document.getElementById('videoNotAllowed').innerHTML = '';
}
}
}
},
{
name : 'rundblick',
default: false,
required: false,
purposes : ['widgets'],
cookies : [
[/^cookie_consent_v2$/i, '/', '.matterport.com'],
]
},
{
name : 'deskline',
default: false,
required: false,
title : 'Web4 Deskline',
purposes : ['widgets'],
cookies: [
[/^(_ga.*)|(_gid)$/i, '/', '.deskline.net'],
[/^anonymousIdentification$/i, '/accojohann/', 'web4.deskline.net']
],
callback : function(consent, app){
/*console.log(
'User consent for app ' + app.name + ': consent=' + consent
);*/
}
},
{
name : 'googleanalytics',
default: false,
required: false,
title : 'Google Analytics',
purposes : ['analytics'],
cookies: [
[/^(_ga.*)|(_gid)$/i, '/', getDomainName(window.location.hostname)], /* needed as analytics set's to top level! */
[/^(_ga.*)|(_gid)$/i, '/', window.location.hostname]
],
callback : function(consent, app){
/*console.log(
'User consent for app ' + app.name + ': consent=' + consent
);*/
}
},
{
name : 'tirolMapservices',
default: false,
required: false,
title : 'Tirol Mapservices',
purposes : ['widgets'],
cookies: [
[/^JSESSIONID$/i, '/nefos_app', 'tirol.mapservices.eu'],
[/^ROUTEID$/i, '/', 'tirol.mapservices.eu']
],
callback : function(consent, app){
/*console.log(
'User consent for app ' + app.name + ': consent=' + consent
);*/
}
},
{
name : 'googlemaps',
default: false,
required: false,
purposes : ['widgets'],
cookies: [
[/^NID|1P_JAR|OTZ|CONSENT$/i, '/', '.google.com'],
[/^OTZ$/i, '/', 'www.google.com'],
],
callback: function(consent, app) {
if (consent == true) {
// create empty array for maplist
window.maplist = [];
// get each gmap data-name element
var elements = document.querySelectorAll("[data-name='"+this.name+"']");
// add callback function name to maplist var (used to initalize gmap after SDK load)
elements.forEach(elem => {
var callback = elem.getAttribute("data-callback");
if(callback !== null) {
window.maplist.push(callback);
}
})
// load google maps api when map exists on page
if(window.maplist.length > 0) {
loadGoogleMaps();
}
}
}
}
],
translations: {
en: {ok: 'Accept',save: 'Save',decline: 'Decline',close: 'Close',acceptAll: 'Accept all',acceptSelected: 'Accept selected',service: {disableAll: {title: 'Toggle all apps',},},consentNotice: {description: 'We collect and process your personal information for the following purposes: {purposes}.',learnMore: 'Customize',changeDescription: 'There were changes since your last visit, please update your consent.',},consentModal: {description: 'Here you can see and customize the information that we collect about you.',privacyPolicy: {name: 'privacy policy',text: 'To learn more, please read our {privacyPolicy}.',},title: 'Information that we collect',},contextualConsent: {description: 'This content is only visible if you consent to {title}.',acceptAlways: 'Show always',acceptOnce: 'Show once',},cms: {description: 'Technically necessary cookies of the CMS',},matomo: {description: 'Analysis tool for statistical purposes',},googleanalytics: {title: 'Google Analytics',description: 'Analysis tool for statistical purposes',},gmap: {title: 'Interactive Google maps',description: 'Displaying google maps',},googlemap: {title: 'Interactive Google maps',description: 'Displaying google maps',},googlemaps: {title: 'Interactive Google maps',description: 'Displaying google maps',},googletranslate: {title: 'Google Translate',description: 'Automatic translation through Google Translate',},leafletOSM: {title: 'OpenStreetMap',description: 'Displaying OpenStreetMap maps',},leafletGmap: {title: 'Interactive Google maps',description: 'Displaying google maps',},ecwid: {title: 'Ecwid shop-system',description: 'Displaying Ecwid shop-system',},facebook: {description: 'Facebook widget',},fbpixel: {description: 'Facebook Pixel analysis tool',},metapixel: {description: 'Meta Pixel analysis tool',},fbfeed: {title: '',description: '',},linkedin: {description: 'LinkedIn Pixel analysis tool',},regiondo: {description: 'Online booking & reservation tools',},meteoblue: {description: 'Weather widgets',},tripadvisor: {description: 'Ratings widgets',},touristplayer: {description: 'VR tours',},youtube: {title: 'Youtube',description: 'Video embedding & streaming',},salzburgerland: {title: 'SalzburgerLand Tourismus',description: 'Online booking tools',},dasWetter: {description: 'Weather widgets',},kitzbuehleralpen: {title: 'Kitzbüheler Alpen',description: 'Tools & widgets by the tourism association Kitzbüheler Alpen',},kitzbueheleralpen: {title: 'Kitzbüheler Alpen',description: 'Tools & widgets by the tourism association Kitzbüheler Alpen',},managerbrixental: {title: 'Kitzbüheler Alpen',description: 'Tools & widgets by the tourism association Kitzbüheler Alpen',},skistar: {description: 'Tools & widgets by skistar',},googletagmanager: {title: 'Google Tag Manager',description: 'Analysis tool for statistical purposes',},holidaycheck: {description: 'Recommendations & ratings widgets',},apiTrustYou: {description: 'Ratings widgets',},easybooking: {description: 'Online booking tools',},deskline: {description: 'Online booking tools',},tirolMapservices: {description: 'Tyrolean Mapservice',},movingPictures: {description: 'VR tours',},vedes: {description: 'Flippable catalog by Vedes',},yumpu: {description: 'Flippable catalog by Yumpu',},quandoo: {description: 'Quandoo reservation tool',},feratel: {description: 'Feratel Webcam Widget',},spotify: {description: 'Spotify Music Player',},volumental: {description: 'Volumental 3D Experience',},panorama3d: {description: 'VR tours',},rundblick: {title: 'Rundblick',description: 'VR tours',},godaddy: {description: 'Online booking tools',},seekda: {description: 'Online booking tools',},dailymotion: {description: 'Video embedding & streaming',},imWebBooking: {description: 'Online booking tools',},vimeo: {title: 'Video embedding & streaming',description: 'Video embedding & streaming',},weratech: {description: 'Online booking tools',},wetteronline: {description: 'Weather widgets',},checkeffect: {title: 'CheckEffect',description: 'Analysis tool for statistical purposes',},panomax: {description: '360° Webcams',},skiwelt: {title: 'Skiwelt Wilder Kaiser - Brixental',description: 'Tools & Widgets by Skiwelt Wilder Kaiser - Brixental',},wilderkaiser: {description: 'Widgets for online booking, info about ski resort etc.',},mailchimp: {description: 'Widgets for subscribing to the newsletter',title: 'Mailchimp',},thn: {description: 'Personalize the user experience on the website',},busyrooms: {description: 'Online booking tools',},tirolwerbung: {title: 'tirol.at',description: 'Tools & widgets by Tirol Werbung GmbH (willkommen.tirol)',},flipgorilla: {title: 'Flipgorilla',description: 'Widget für blätterbare Zeitungen & Bücher',},skirentalresorts: {title: 'Skirentalresorts.com',description: 'Booking platform for ski rental',},car4you: {title: 'Car4You',description: 'Widget for car trading',},motornetzwerk: {title: 'Motornetzwerk',description: 'Widget for car trading',},wettercom: {title: 'Wetter.com',description: 'Weather widgets',},sonnleitn: {title: 'Sonnleitn',description: 'Webcam widgets',},elfsight: {title: 'Elfsight',description: 'Displaying external widgets',},sentry: {title: 'Sentry',description: 'Application Performance Monitoring & Error Tracking software',},dirs21: {title: 'Dirs21',description: 'Online booking tools',},kaiserwinkl: {title: 'Kaiserwinkl',description: 'Tools & Widgets by TVB Kaiserwinkl',},vvt: {title: 'Verkehrsverbund Tirol',description: 'Widgets for public transport informations in Tyrol',},mmkbookingmanager: {title: 'MMK Booking Manager',description: 'Online booking tools',},uberall: {title: 'Portal Manager',description: 'Widget for the Futureweb portal manager',},casablanca: {title: 'Casablanca booking software',description: 'Online booking tools',},resmio: {title: 'Resmio reservation software',description: 'Online booking tools',},falstaff: {title: 'Falstaff',description: 'Ratings widgets',},cleverreach: {title: 'Cleverreach',description: 'Widgets for subscribing to the newsletter',},schmittenhoehenbahn: {title: 'Schmittenhöhebahn AG / SuperSkiCard',description: 'Widgets for online booking, info about ski resort etc.',},reviewsonmywebsite: {title: 'ReviewsOnMyWebsite.com',description: 'Displaying external widgets',},googlecalendar: {title: 'Google Calendar',description: 'Displaying external widgets',},ffweinsatzmonitor: {title: 'Einsatzmonitor Tirol',description: 'Displaying external widgets',},googleads: {title: 'Google Ads',description: 'Analysis tool for statistical purposes',},adobe: {title: 'Adobe',description: 'Displaying external widgets',},swissmedia3d: {title: '3D Swiss Media GmbH',description: 'VR tours',},onlim: {title: 'Onlim Chatbot',description: 'Displaying external widgets',},tablexpro: {title: 'Tablexpro',description: 'Online booking tools',},autoscout24: {title: 'Autoscout24',description: 'Widgets for car trading',},easyrent: {title: 'Easyrent',description: 'Booking platform for ski rental',},easyguestmanagement: {title: 'easyGuestmanagement',description: 'Hotel software with electronic cash register and channel manager',},markilux: {title: 'Markilux',description: 'Designer awnings for terraces, gardens and balconies',},kutego: {title: 'Kutego',description: 'Course management software',},interalp: {title: 'Interalp',description: 'Booking route for hotel websites',},giggletips: {title: 'Giggle Tips',description: 'Experience platform for hosts',},boulderado: {title: 'Boulderado',description: 'Booking platform for boulder halls',},skipline: {title: 'Skipline',description: 'Widget for ski rental',},bidex: {title: 'Bidex',description: 'Online catalog with availability and reservation',},purposes: {analytics: 'Visitor statistics',security: 'Security',advertising: 'Advertising',styling: 'Styling',required: 'Technically necessary',videos: 'Video streaming',widgets: 'Displaying external widgets',gmap: 'Displaying google maps',marketing: 'Tracking browsing habits',},} }
};