Zendesk Support open widget automatically
Hello,
My company has a widget running within Zendesk Support which can be downloaded at the zendesk's marketplace.
Once our users click the widget, it connects the user to our backend vai websocket in order to receive events to know when either to create or update tickets automatically.
The problem we are facing is that, when the user reloads the page, they forget they have to reopen the widget so it start working.
Do we have a way to know when the widgets or the page is reloaded, or closed entirely? Can we automatically open the widget when the page loads, instead of waiting for the user to click them?
Best regards,
-
Hi Instant Solutions Team,
You may automatically open the top bar app popover, once apps load on the page, from the background location. We demonstrate this concept in Opening a top nav app automatically.
Thanks,
-
I want the live chat to pop up and open automatically without my customer needing to Zendesk does not support or guarantee the code.
-
Hey Venillar,
Thanks for reaching out!
It's sounds like the code snippet below is what you're looking for:
zE('webWidget', 'open');
This command forces the web widget to open and is contained within the web widget Core API. Here's a link to the documentation which covers it in a bit more detail:
https://developer.zendesk.com/api-reference/widget/core/#open
I hope this helps! Feel free to reach out if you have any questions.
Tipene
댓글을 남기려면 로그인하세요.
3 댓글