質問
Web Widget(従来版) のポップアップを遅らせることはできますか?
回答
ウィジェットのコードをカスタマイズして、一定時間経過後にWeb Widgetが表示されないようにすることができます。
これを行うには、 hideコマンドを使用して から、Core APIのshowコマンドを使用します。
以下のサンプルでは、ウィジェットは60秒間表示されます。この時間の単位はミリ秒です。
<script type="text/javascript">
zE('webWidget', 'hide');
setTimeout(function(){ zE('webWidget', 'show'); }, 60000);
//time in milliseconds - 60 seconds = 60000
</script>
Chatウィジェットを使用している場合は、次の記事を参照してください:チャットウィジェットの表示を遅らせることはできますか
免責事項:この記事は説明のみを目的として提供されています。記事内で例示したコードについて、Zendeskはサポートも保証もいたしません。何か問題があった場合はコメント欄に投稿するか、インターネットで解決策を探してみてください。
翻訳に関する免責事項:この記事は、お客様の利便性のために自動翻訳ソフトウェアによって翻訳されたものです。Zendeskでは、翻訳の正確さを期すために相応の努力を払っておりますが、翻訳の正確性については保証いたしません。
翻訳された記事の内容の正確性に関して疑問が生じた場合は、正式版である英語の記事を参照してください。
4件のコメント
Gabriel Manlapig
Hi James,
Yes, if you want to add time to load the Messaging Widget in your Guide or Help Center portal, you can use the API script below:
You can also refer to this API documentation for reference: Web Widget API
We hope this helps! Thank you!
0
James Constantino
Is there a way in achieving this in help center if we are using messaging?
0
Dainne Kiara Lucena-Laxamana
Hi Mark Winkler | HPE Parts Specialist | Global One Technology
Try adding the code under
so it needs to be before the actual widget code. Let me know if you have any follow-up questions!
0
Global One Technology
Hello Luiz,
Thank you for the article and the code. Where does this go?
We use BigCommerce and the script looks like this:
0
サインインしてコメントを残してください。