Messaging-related tags

Feature deprecation: Genesys will no longer support ACD Web Chat v2, which is available to customers via all its corresponding Chat Widget versions. This is further to the deprecation of ACD Web Chat v1, which was announced earlier. As a result, Predictive Engagement will also end support for these legacy web chat versions. For more information, see Deprecation: Removal of ACD Web Chat (version 2).

All existing customers are encouraged to migrate to Web Messaging and Messenger.

Note: This article only applies to Genesys Cloud CX customers using web messaging. If you are using web chat, see Chat-related tags.

Record a custom web event when a visitor rejects a messaging offer

This tag records a custom web event when a visitor rejects a messaging offer.

Tag

Genesys("subscribe", "Journey.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 () {      Genesys("command", "Journey.record", { eventName: "messagingoffer_rejected"});    });  });});