Loading...

Properties

Cookie banner properties can be accessed via the window.monsidoConsentManager object.

 

NameTypeDescription
cookiesConsent.cookiesstring[]Return an array of string of consented cookie categories. For example: ['essential', 'basic', 'marketing', 'analytics', 'personalisation']
cookiesConsent.consentedbooleanReturn true if consent is given.

Example

console.log('consented categories:', window.monsidoConsentManager.cookiesConsent.cookies);
console.log('isConsented', window.monsidoConsentManager.cookiesConsent.consented);

Did not find what you were looking for?

If this content did not answer your questions, try searching or contacting our support team for further assistance.

Back to Section navigation