setNewVendorConsents

setNewVendorConsents

Description: Set the current consent status for one or more vendors.

Syntax:

var sConsentId = jentis.consent.engine.setNewVendorConsents({
  "ga": true,
  "adw": false,
  "fb": "ncm"
});

Parameters:

  • object (required) — Key-value pairs of vendor IDs and their consent status.

    • true – Consent granted

    • false – Consent denied

    • "ncm" – No consent mode

Notes:

  • Vendor IDs must match the IDs in your JENTIS Data Capture Platform exactly (case sensitive).

  • Vendor IDs are available under Legal Hub → Vendors.

Returns:

  • string — The new Consent ID.

Last updated

Was this helpful?