vendor-change

Title

jentis.consent.engine.vendor-change

Description

Triggered when at least one vendor’s consent status has changed.

Usage

jentis.consent.engine.addEventListener('jentis.consent.engine.vendor-change', function (e) {
    console.log("Vendor consent changed:", e.detail.moreInfo);
});

Event Data (e.detail.moreInfo)

An object containing all vendors and their current consent status:

jsonCopyEdit{
  "ga": true,
  "adw": false,
  "fb": true
}

Notes:

  • true = user has given consent for this vendor.

  • false = user has denied consent for this vendor.

Last updated

Was this helpful?