최근 검색


최근 검색 없음

Chat widget - open upon page load on desktop only



2022년 11월 25일에 게시됨

We want the chat to open automatically upon page load on desktop (not on mobile) when agents are online. When agents are offline, the offline form should be served, and we do not want this to open automatically on mobile or on desktop.

To enable this, we have added the following code in the home_page.hbs section on GUIDE:

<!-- Start of portakabinhelp Zendesk Widget script -->

<script id="ze-snippet" src=https://static.zdassets.com/ekr/snippet.js?key=a90d5e61-18e2-43d8-9c1d-116b224215e1> </script>

<!-- End of portakabinhelp Zendesk Widget script -->

<script type="text/javascript">

        zE('webWidget', 'open');

        </script>

However, this ‘open on load’ code appears to override the chat widget and present the Offline chat code by default, irrespective of their being agents online or not.

Zendesk advised this is not possible with the available tools but may be achievable using code customizations. Please can anyone advise / have you experienced the same issue?

 

Thanks,

Beth 


0

0

댓글 0개

댓글을 남기려면 로그인하세요.

원하는 정보를 못 찾으셨나요?

새 게시물