UC_CONSENT
This event gets triggered when consent changes.
Event Detail Structure¶
The event.detail
that is returned will contain a ConsentDetails object
Example¶
Example
window.addEventListener('UC_CONSENT', function (event) {
console.log('UC_CONSENT event detail', event.detail)
});