PUSH Information
  • 14 Jun 2022
  • 1 Minute to read
  • Contributors
  • Dark
    Light

PUSH Information

  • Dark
    Light

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.

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
});

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();

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();

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();

Was this article helpful?