1. Support
  2. /
  3. Documentation
  4. /
  5. Developer Documentation
  6. /
  7. GDPR & CCPA Privacy Compliance

GDPR & CCPA Privacy Compliance

You can ensure DXP ToolKit complies with your visitors privacy settings by modifying a Javascript variable.

If the DXPTKEngineSettings.allow_cookie variable is set to false, then DXP ToolKit will not perform any personalization logic.

Using this variable, you can configure your preferred privacy solution to set it to false if the user does not accept your privacy policy notice.

Alternatively, the WordPress filter dxp_toolkit_gdpr_allow_cookie can also be used to limit content personalization. If this filter returns false, then DXP ToolKit personalization will not apply to the current request. Additional developer documentation for this WordPress hook can be found here.

Was this article helpful to you? Yes No