window.addEventListener('MonsidoCookieOnLoad', (e) => {
console.log('Cookie Banner Loaded');
});
window.addEventListener('MonsidoCookieOnShow', (e) => {
console.log('Cookie Banner Shown');
});
window.addEventListener('MonsidoCookieOnHide', (e) => {
console.log('Cookie Banner Hidden');
});
window.addEventListener('MonsidoCookieOnAccept', (e) => {
console.log('Cookie Consent Accepted');
console.log('Consent', window.monsidoConsentManager.cookiesConsent);
});
window.addEventListener('MonsidoCookieOnUpdate', (e) => {
console.log('Cookie Consent Changed');
console.log('Consent', window.monsidoConsentManager.cookiesConsent);
});
window.addEventListener('MonsidoCookieRunEssentialScripts', (e) => {
// Execute scripts that requires essential consent here
});
window.addEventListener('MonsidoCookieRunBasicScripts', (e) => {
// Execute scripts that requires basic consent here
});
window.addEventListener('MonsidoCookieRunMarketingScripts', (e) => {
// Execute scripts that requires marketing consent here
});
window.addEventListener('MonsidoCookieRunAnalyticsScripts', (e) => {
// Execute scripts that requires statistics consent here
});
window.addEventListener('MonsidoCookieRunPersonalisationScripts', (e) => {
// Execute scripts that requires preferences consent here
});