-
Print
-
DarkLight
Use the following APIs to set or push information to the JENTIS Consent Engine. You can activate, change or apply consent status to any tool based on your websites requirements and services.
jentis.consent.engine.setNewVendorConsents
Use this function to set the current consent status.
Parameter
- Object with the vendor-id as key and bool true if the consent was given and false if the consent was not given.
{
"ga" : true,
"adw" : false,
"fb" : true
}
Return
The ConsentId which was used to store the new consent status or false, if something went wrong.
Example
var sConsentId = jentis.consent.engine.setNewVendorConsents({
"ga" : true,
"adw" : false,
"fb" : true
});
jentis.consent.engine.AcceptAll
Use this function to set a positive consent to all vendors.
Parameter
none
Return
The ConsentId which was used to store the new consent status or false, if something went wrong
Example
var sConsentId = jentis.consent.engine.AcceptAll();
jentis.consent.engine.DenyAll
Use this function to deny the consent to all vendors.
Parameter
none
Return
The ConsentId which was used to store the new consent status or false, if something went wrong
Example
var sConsentId = jentis.consent.engine.DenyAll();
jentis.consent.engine.userShowSettings
You must use this function if the user requests the setting page containing the vendors and consents. You can use this function to open the setting page from your consent bar and you must use it if you want to provide a link for example in your data protection description page or in your footer for the user to evaluate or reset his decisions.
Parameter
none
Return
none
Example
jentis.consent.engine.userShowSettings();