Zendesk Support open widget automatically
Publication le 19 juil. 2021
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,
0
5
5 commentaire
Christopher Kennedy
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,
0
Venillar Zayaan
I want the live chat to pop up and open automatically without my customer needing to Zendesk does not support or guarantee the code.
0
Tipene Hughes
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
0
Ismail Zniber
Hello Tipene,
I'm sorry to revisit this topic, but I wanted to know if the
zE('webWidget', 'open')
functionality can be used for a custom app by replacing 'webWidget' with the name of the app, for example. To provide some context, I'm trying to open an internally developed application for the user when a ticket arrives in Zendesk.Thanks in advance.
Ismail
0
Ismail Zniber
Tipene Hughes any Tips ?
0