Web Widget - accept essential cookies only | Community
Skip to main content

Web Widget - accept essential cookies only

  • September 3, 2020
  • 2 replies
  • 0 views

Hello,

we are using Zendesk Web Widget with Chat in our web app.

according to the documentation (https://developer.zendesk.com/embeddables/docs/widget/settings#cookies) there is a way for end user accept or decline cookies from Zendesk.

According to GDPR law, we should allow users to accept essential only cookies and decline non-essential (such as cookies used for Analytics or Functional cookies). Is there a way to do so?

I have tried setting cookies to false, which seem to block all Web Widget cookies (Essential, Functional, Analytics, etc.), and it makes chat feature unavailable.

window.zESettings = {
    cookies: false
  };

Is there a way to only allow essential cookies from Zendesk Web Widget and block non-essential? So that our users who prefer to block non-essentials still could use Web Widget with Chat.

When I mention non-essential cookies, I mean these: 

ZD-store
ZD-buid
ZD-currentTime
ZD-suid

 

As far as I understand (based on https://support.zendesk.com/hc/en-us/articles/360022367533-Enabling-cookie-consent-for-the-Chat-widget-Web-SDK), the only essential cookie required for Web Widget and Chat to work is: 

__zlcmid

 

Thank you.

--

kind regards,

Liubov

2 replies

  • September 15, 2020

Hi @Liubov. Currently, the granularity is not that fine with this setting. As mentioned in the link above, "Chat will be unavailable" with no other recourse when the value is set to false.

Not knowing all the ins-and-outs of GDPR law, technically the above ZD-* values are local storage values, not cookies (IOW, the values aren't automatically sent with HTTP requests).

That said, I'll flag this post for the product team. The Developer Platform Feature Requests is also a place to post requests such as this for others to up-vote as well. This is no doubt not the hoped for answer, but I wanted to set expectations.


  • Author
  • September 16, 2020

Thank you Bryan for your response, we will use this 'cookies: false' setting then. I was just curious whether I'm missing anything.