ConsentManager:onConsentStateChange
Callback triggered whenever consent for anything is given or revoked
Confirmic('ConsentManager:onConsentStateChange', ({slug,state}) => {
// slug = the micropolicy slug for which consent has changed
// state = CONSENTED | DECLINED
})
Updated over 4 years ago