Answer the question
In order to leave comments, you need to log in
How to track the sending of a message to the Bitrix24 chat?
How to track when a user sends a message to the Bitrix Chat widget? Tried this code - doesn't work. Site on Joomla
window.addEventListener('onBitrixLiveChat', function(event)
{
var widgets = event.detail.widget;
// Обработка событий
widgets.subscribe({
type: BX.LiveChatWidget.SubscriptionType.userMessage,
callback: function(data) {
// любая команда
alert(1);
}
});
});
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question