注意: この記事は、ウェブチャット をご利用のお客様にのみ適用されます。 Genesys Cloud CX のお客様がWeb メッセージング をご利用の場合は、メッセージング関連タグ をご覧ください。

訪問者がチャットのオファーを拒否したときにカスタムWebイベントを記録します。

このタグは、訪問者がチャットオファーを拒否したときに、カスタムウェブイベントを記録します。

タグ

ac('dom', 'ready', function () {  Array.prototype.forEach.call(document.querySelectorAll('cx-toaster button.cx-btn-default, .cx-toaster button.cx-button-close'), function (closeButton) {    closeButton.on('click', function () {      ac('record', 'chatoffer_rejected');    });  });});