最近搜索


没有最近搜索

Igor Anicic's Avatar

Igor Anicic

已加入2021年10月16日

·

最后活动2021年10月16日

关注

0

关注者

0

活动总数

3

投票

0

订阅

1

活动概览

的最新活动 Igor Anicic

Igor Anicic 进行了评论,

评论Web Widget documentation

@... Maybe the zendesk team can explain it why setting cookies is needed, although I can't find any cookie being added/updated once I run this command.
Give it a try in the browser console and see if you can get some results.
I had exact same issue as you did, needed to hide/show the widget within specific routes, and this was the only thing that actually worked for me.

Here's the link where I got this info. 
If you disallow cookies, it will hide the chat. Once you re-enable them, the chat will appear again.
https://developer.zendesk.com/documentation/zendesk-sdks/sdks/web/sdk_api_reference/ 

查看评论 · 已于 2021年7月20日 发布 · Igor Anicic

0

关注者

2

投票

0

评论


Igor Anicic 进行了评论,

评论Web Widget documentation

@... and @... I have the same issue, and I managed to make it show/hide by calling these lines:

show:  window.zE('messenger:set', 'cookies', true);

hide:  window.zE('messenger:set', 'cookies', false);

Hope it helps!

查看评论 · 已于 2021年7月20日 发布 · Igor Anicic

0

关注者

2

投票

0

评论