The Chat widget requires the following cookies to function properly and to register the visitor. See Zendesk in-product cookie policy for a comprehensive list of cookies for all Zendesk products.
Chat/Web Widget
Cookie Name | Cookie Domain | Cookie Path | Cookie Purpose | Cookie Duration |
__zlcmid | customer's website top-host | / | store visitor's ID for widget's authentication | 365 days |
__zlcprivacy | customer's website top-host | / | store visitor's decision on CookieLaw Javascript API | 365 days |
The cookieLaw
object in the Chat widget Javascript API allows the visitor to opt into the cookie before the Chat widget initializes. See the cookieLaw docs.
If you're using Web Widget I(Classic) with Chat and want to enable cookie law mode, see Using the Chat widget JavaScript API.
Web SDK
Cookie Name | Cookie Domain | Cookie Path | Cookie Purpose | Cookie Duration |
__zlcmid | customer's website top-host | / | store visitor's ID for widget's authentication | 365 days |
If you built a custom widget using the Web SDK, your custom implementation must handle cookie consent. You should not call zChat.init until the visitor has given consent to cookie usage.
4 Comments
I can't view the article "Using the Chat widget JavaScript API." for some reason, even after signing up to Zendesk support the page tells me I'm not authorised to access the article.
How can I access it?
I just clicked on the link and as far as I can tell that article is available to everyone regardless of whether you are signed in or not. Can you try accessing this page in an Incognito window or another browser to see if that helps?
Let me know!
Hi Brett,
Thanks for the reply. I'm a developer and trying to find out how to enable cookie law mode for the Classic Web Widget.
If I try to visit https://support.zendesk.com/hc/en-us/articles/115007912068
firstly I'm asked to log in and then I get the following message:
Thanks for confirming! I double checked and the article was still in draft mode so apologies for that! Go ahead and try to access the link now.
Let me know if you have any other questions for me.
Please sign in to leave a comment.