Multilingual

You have multiple websites with different languages and you would like to set up your cookie management

1 -Video Presentation

2 - Set up Details

You need to have multiple configurations for your cookie management based on the languages you would like to display.

You can edit the texts and write your message. Then in the management of your configuration, you can write a "version ID" to be able to technically validate the version you want to trigger.

Finally, at the time of the integration of the Axeptio SDK on your website you will only need to call on the right cookie version depending on the lang attribute present on your website. -> "lang" attribute

var el = document.createElement('script');
el.setAttribute('src', 'https://static.axept.io/sdk.js');
el.setAttribute('type', 'text/javascript');
el.setAttribute('async', true);
el.setAttribute('data-id', 'XXXXXXXXX');
if (document.documentElement.lang === 'en-US'){
el.setAttribute('data-cookies-version','version_1_EN');
}
if (document.documentElement.lang === 'fr-FR'){
el.setAttribute('data-cookies-version','version_1_FR');
}
if (document.documentElement.lang === 'es-ES'){
el.setAttribute('data-cookies-version','version_1_ES');
}
if (document.body !== null) {
document.body.appendChild(el);
}

Done 👍 your language management is set up 😍