window._axcb = window._axcb || [];
window._axcb.push(function (axeptio) {
axeptio.on('cookies:complete', function (choices) {
fetch('/backend/consent', {
settings: axeptio.settings,
}).then(function (response) {
console.info('successfully saved user preferences');
}).catch(function (error) {
console.info('something went wrong');