getNewComplianceTypes
The getNewComplianceTypes() method retrieves a list of consent types that are newly added in the setup and have not yet been saved in the ppmsprivacy[appId] cookie.
decision has not yet been saved in the ppms_privacy_[appId]
cookie.
Syntax
ppms.cm.api('getNewComplianceTypes', onFulfilled, onRejected)
Parameters
onFulfilled(types) (function, required)
The fulfillment handler callback (called with result).
types (string, required)
Array of consent types. Example: ["remarketing", "analytics"]
onRejected(error)
The rejection handler callback (called with error code). If not specified, the exception will be thrown in the main stack trace.
error (string | object, required)
Error code or exception.
Examples
Updated 6 days ago