All available events:
If you monitor the conversion of your site, events can be used to track goals in Yandex.Metrica or Google Analytics.
Yandex. Metrics:
document.addEventListener('tocha:loaded', () => { let te = document.getElementsByTagName('telegram-web-chat')[0]; te.addEventListener('tocha:first-message-send', (e) => { ym(1234567,'reachGoal','first-message-send'); }); te.addEventListener( 'tocha:message-send', (e) => { ym(1234567,'reachGoal','message-send'); }); te.addEventListener('tocha:open-c hat-window', (e) => { ym(1234567,'reachGoal','open-chat'); });});