질문
고객이 내 웹사이트에 처음 방문할 때 위젯이 최소화되지 않고, 고객이 클릭하여 수동으로 요청할 필요 없이 실시간 채팅 창이 자동으로 열리도록 하고 싶습니다. 어떻게 해야 하나요?
답변
참고: 메시징에는 즉시 사용 가능한 사전대응 알림 기능이 없습니다. 메시징에 대한 자세한 내용은 메시징과 실시간 채팅 중 어느 것이 적합할까요? 문서를 참조하세요.
고객이 처음 페이지를 로드할 때 위젯이 실시간 채팅으로 열리도록 하는 방법에는 다음 두 가지가 있습니다.
- 다음 문서에 설명된 대로 채팅 트리거를 사용합니다. 주요 방문자를 대상으로 사전대응 채팅하기
- 웹사이트의 위젯 스크립트 바로 아래에 다음 코드를 추가합니다.
<script type="text/javascript">
zE(function() {
zE.activate();
});
</script>
고지 사항: 위의 코드는 안내 목적으로만 제공됩니다. Zendesk는 코드를 지원하거나 보장하지 않습니다. 문제가 있는 경우 댓글 섹션에 게시하거나 온라인으로 해결 방법을 찾아보세요.
댓글 5개
Chris Vázquez
I've used ChatGPT to create many variations of HTML and all of them can display the widget on a blank webpage but I can't figure out how to have the widget open automatically without being clicked no matter what I try. It's loaded and can be clicked - just can't get it to open automatically
0
Chris Vázquez
Hey David, I tried your solution above and it still doesn't work unfortunately.
0
David
Hi Davide,
Usually that zE.activate is not a function error is from the Widget code not actually being loaded on the site correctly. Ensure it is then try that again.
Assuming it IS loaded, try to wrap the code in a setTimeout function to delay its execution until the
zE
object is available with this:<script type="text/javascript">
setTimeout(function () {
zE(function () {
zE.activate();
});
}, 3000);
</script>
0
Davide Cuppone
Hello, I tried
and receive the error
the other solution
does nothing
0
Inspera LLC
I was brought to this post by wanting to link "contact us" buttons and links to our Messenger widget. I found the following workaround on my own:
1
로그인하세요.