1 2// By default, Klaro will load the config from a global "klaroConfig" variable. 3// You can change this by specifying the "data-config" attribute on your 4// script take, e.g. like this: 5// <script src="klaro.js" data-config="myConfigVariableName" /> 6// You can also disable auto-loading of the consent notice by adding 7// data-no-auto-load=true to the script tag. 8var klaroConfig = { 9 10 // You can customize the ID of the DIV element that Klaro will create 11 // when starting up. If undefined, Klaro will use 'klaro'. 12 elementID: 'klaro', 13 14 // You can customize the name of the cookie that Klaro uses for storing 15 // user consent decisions. If undefined, Klaro will use 'klaro'. 16 cookieName: 'klaro', 17 18 // You can also set a custom expiration time for the Klaro cookie. 19 // By default, it will expire after 120 days. 20 cookieExpiresAfterDays: 365, 21 22 // You can customize the name of the cookie that Klaro will use to 23 // store user consent. If undefined, Klaro will use 'klaro'. 24 25 // Put a link to your privacy policy here (relative or absolute). 26 27 privacyPolicy: '/politica-cookies', //PRO 28 /*privacyPolicy: '/web/grupoica/politica-cookies',*/ //PRE 29 30 cookiePolicy: '/politica-cookies', //PRO 31 /*cookiePolicy: '/web/grupoica/politica-cookies',*/ //PRE 32 33 // Defines the default state for applications (true=enabled by default). 34 default: false, 35 36 // If "mustConsent" is set to true, Klaro will directly display the consent 37 // manager modal and not allow the user to close it before having actively 38 // consented or declines the use of third-party apps. 39 mustConsent: false, 40 41 // You can define the UI language directly here. If undefined, Klaro will 42 // use the value given in the global "lang" variable. If that does 43 // not exist, it will use the value given in the "lang" attribute of your 44 // HTML tag. If that also doesn't exist, it will use 'en'. 45 //lang: 'en', 46 47 // You can overwrite existing translations and add translations for your 48 // app descriptions and purposes. See `src/translations.yml` for a full 49 // list of translations that can be overwritten: 50 // https://github.com/DPKit/klaro/blob/master/src/translations.yml 51 52 // Example config that shows how to overwrite translations: 53 // https://github.com/DPKit/klaro/blob/master/src/configs/i18n.js 54 translations: { 55 // If you erase the "consentModal" translations, Klaro will use the 56 // defaults as defined in translations.yml 57 es: { 58 app: { 59 disableAll: { 60 title: 'Habilitar/deshabilitar todas', 61 description: ' ' 62 }, 63 optOut:{ 64 title: '(opcional)', 65 description: 'Cookies opcionales que puede deshabilitar' 66 }, 67 required:{ 68 title: '(necesarias)', 69 description: 'Cookies estrictamente necesarias para el funcionamiento de la web' 70 }, 71 purposes: 'Usos', 72 purpose: 'Uso' 73 }, 74 consentModal: { 75 title: 'Información sobre cookies', 76 description: 'Configure las cookies que se pueden o no instalar.', 77 privacyPolicy: { 78 name: 'polÃtica de cookies', 79 text: 'Para saber más, por favor lea nuestra {privacyPolicy}.' 80 }, 81 close: 'Cerrar' 82 }, 83 consentNotice: { 84 changeDescription: 'Hubo algún cambio con las cookies desde su última visita, por favor, actualice su consentimiento.', 85 description: 'Utilizamos cookies propias y de terceros con fines técnicos y de análisis. Las cookies técnicas son indispensables para el buen funcionamiento de la web. Las cookies analÃticas nos permiten cuantificar el número de usuarios y realizar la medición y análisis estadÃstico de la utilización de la web. En la PolÃtica de Privacidad constan los datos del responsable del tratamiento y sus derechos de protección de datos y en la PolÃtica de Cookies toda la información ampliada de las cookies que utilizamos. Haga clic en botón âAceptarâ si desea admitir todas las cookies, y si desea admitir/rechazar determinadas cookies, haga clic en el siguiente enlace:', 86 learnMore: ' Configuración' 87 }, 88 poweredBy: '', 89 save: 'Guardar', 90 ok: 'Aceptar', 91 decline: 'Rechazar', 92 acceptSelected:'Aceptar Consentimiento', 93 close: 'Cerrar', 94 liferayPortal: { 95 description: 'Estrictamente necesarias para el correcto funcionamiento del portal web y la utilización de los diferentes servicios que ofrece.' 96 }, 97 googleAnalytics: { 98 description: 'Seguimiento y análisis de las visitas que recibe la web.' 99 }, 100 purposes: { 101 analytics: 'Cookies analÃticas', 102 portal: 'Cookies técnicas' 103 } 104 }, 105 en: { 106 app: { 107 disableAll: { 108 title: 'Habilitar/deshabilitar todas', 109 description: ' ' 110 }, 111 optOut:{ 112 title: '(opcional)', 113 description: 'Cookies opcionales que puede deshabilitar' 114 }, 115 required:{ 116 title: '(necesarias)', 117 description: 'Cookies estrictamente necesarias para el funcionamiento de la web' 118 }, 119 purposes: 'Usos', 120 purpose: 'Uso' 121 }, 122 consentModal: { 123 title: 'Información sobre cookies', 124 description: 'Configure las cookies que se pueden o no instalar.', 125 privacyPolicy: { 126 name: 'polÃtica de cookies', 127 text: 'Para saber más, por favor lea nuestra {privacyPolicy}.' 128 }, 129 close: 'Cerrar' 130 }, 131 consentNotice: { 132 changeDescription: 'Hubo algún cambio con las cookies desde su última visita, por favor, actualice su consentimiento.', 133 description: 'Utilizamos cookies propias y de terceros con fines técnicos y de análisis. Las cookies técnicas son indispensables para el buen funcionamiento de la web. Las cookies analÃticas nos permiten cuantificar el número de usuarios y realizar la medición y análisis estadÃstico de la utilización de la web. En la PolÃtica de Privacidad constan los datos del responsable del tratamiento y sus derechos de protección de datos y en la PolÃtica de Cookies toda la información ampliada de las cookies que utilizamos. Haga clic en botón âAceptarâ si desea admitir todas las cookies, y si desea admitir/rechazar determinadas cookies, haga clic en el siguiente enlace:', 134 learnMore: ' Configuración' 135 }, 136 poweredBy: '', 137 save: 'Guardar', 138 ok: 'Aceptar', 139 decline: 'Rechazar', 140 close: 'Cerrar', 141 liferayPortal: { 142 description: 'Estrictamente necesarias para el correcto funcionamiento del portal web y la utilización de los diferentes servicios que ofrece.' 143 }, 144 googleAnalytics: { 145 description: 'Seguimiento y análisis de las visitas que recibe la web.' 146 }, 147 purposes: { 148 analytics: 'Cookies analÃticas', 149 portal: 'Cookies técnicas' 150 } 151 } 152 }, 153 154 // This is a list of third-party apps that Klaro will manage for you. 155 apps : [ 156 // The apps will appear in the modal in the same order as defined here. 157 { 158 name : 'liferayPortal', 159 title : 'Cookies técnicas', 160 purposes : ['portal'], 161 required: true, 162 }, 163 { 164 // Each app should have a unique (and short) name. 165 name : 'googleAnalytics', 166 167 // If "default" is set to true, the app will be enabled by default 168 // Overwrites global "default" setting. 169 // We recommend leaving this to "false" for apps that collect 170 // personal information. 171 default: true, 172 173 // The title of you app as listed in the consent modal. 174 title : 'Cookies de analÃtica', 175 176 // The purpose(s) of this app. Will be listed on the consent notice.
177 // Do not forget to add translations for all purposes you list here. 178 purposes : ['analytics'], 179 180 // A list of regex expressions or strings giving the names of 181 // cookies set by this app. If the user withdraws consent for a 182 // given app, Klaro will then automatically delete all matching 183 // cookies. 184 cookies : ['_ga','_gat','_gid'], 185 // you can also explicitly provide a path and a domain for 186 // a given cookie. This is necessary if you have apps that 187 // set cookies for a path that is not "/" or a domain that 188 // is not the current domain. If you do not set these values 189 // properly, the cookie can't be deleted by Klaro 190 // (there is no way to access the path or domain of a cookie in JS) 191 192 193 // An optional callback function that will be called each time 194 // the consent state for the app changes (true=consented). Passes 195 // the `app` config as the second parameter as well. 196 callback : function(consent, app){ 197 // This is an example callback function. 198 //console.log("User consent for app "+app.name+": consent="+consent) 199 }, 200 201 // If "required" is set to true, Klaro will not allow this app to 202 // be disabled by the user. 203 required : false, 204 205 // If "optOut" is set to true, Klaro will load this app even before 206 // the user gave explicit consent. 207 // We recommend always leaving this "false". 208 optOut : false, 209 210 // If "onlyOnce" is set to true, the app will only be executed 211 // once regardless how often the user toggles it on and off. 212 onlyOnce: false, 213 } 214 ] 215}
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.