.privacy.updateCookieConsent()

This API allows you to set the cookie consent preference for Zoho SalesIQ cookies.

Parameters:

  1. Analytics - Enables the use of Zoho SalesIQ Analytics cookies.
  2. Performance - Enables the use of Zoho SalesIQ Performance cookies.

Syntax

Copied$zoho.salesiq.privacy.updateCookieConsent();

Example:

Copied<script>
$zoho.salesiq.afterReady = function() {
  $zoho.salesiq.privacy.updateCookieConsent(['analytics', 'performance']);
};
</script>