Vendor list-GDPR or Vendor list-U.S. Privacy or Regulation Settings - USNat

The Krux/Salesforce DMP platform provides a JavaScript API to set consent for end-users. In this article, we will cover how your organization can utilize The Krux API within consent and reject action fields to generate consent for the end-user.

Example Krux API calls

In this section, we provide your organization with an example for a Krux API call to use for a consent/reject action or opt in/opt out hooks, respectively.

  Note: We strongly recommend reviewing the additional information on use cases and Krux namespaces here.

Consent action example Reject action example
Krux('ns:mynamespace', 'consent:set', {
  dc: true,
  al: true,
  tg: true,
  cd: false,
  sh: false,
  re: false
}, function(errors, body) {
  if (errors) {
  } else {
    console.log('Successfully set consent flags.');

Add Krux API calls 

In this section, we will cover how to add the Krux API call to a vendor list. Navigate to your Sourcepoint account and click Vendor Management on the left-hand panel and select a regulatory framework from the menu. 

Screenshot 2023-11-13 at 12.37.26 PM.png

Click a vendor list on the subsequent list.

landing page.png

  Note: Ensure that the vendor Salesforce (KRUX) is added to the vendor list.

GDPR / U.S. Privacy (Legacy) U.S. Multi-State Privacy

Click Salesforce (KRUX) from the list of vendors.


From the subsequent modal, select either Consent Actions or Reject Actions and navigate to the provided Custom JS field.

Input the appropriate Krux API call in the field and click Apply changes when finished.


Confirm the implementation with your Krux/Salesforce team to ensure that they are receiving the correct signals.

Was this article helpful?
0 out of 0 found this helpful



Article is closed for comments.