Workaround for Consent
jentis.consent.engine.addEventListener('jentis.consent.engine.vendor-change', function (e) {
var my_tool_consent_status = e.detail.moreInfo["adobeanalytics"].status;
if(my_tool_consent_status === true){
... // continue with custom code if consent is true
} else {
... // do something else if no consent
}
});
function(){
return jentis.consent.engine.getVendorConsent("mytool");
}Last updated
Was this helpful?