Messaging-related tags
All existing customers are encouraged to migrate to Web Messaging and Messenger.
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"}); }); });});