Merge pull request #1432 from jitsi/speaker-stats-analytics-event

Sends analytics event every time speaker stats is open.
This commit is contained in:
Saúl Ibarra Corretgé 2017-03-24 16:35:59 +01:00 committed by GitHub
commit f47bc1163b
1 changed files with 1 additions and 0 deletions

View File

@ -35,6 +35,7 @@ function initGlobalShortcuts() {
KeyboardShortcut._addShortcutToHelp("SPACE","keyboardShortcuts.pushToTalk"); KeyboardShortcut._addShortcutToHelp("SPACE","keyboardShortcuts.pushToTalk");
KeyboardShortcut.registerShortcut("T", null, () => { KeyboardShortcut.registerShortcut("T", null, () => {
JitsiMeetJS.analytics.sendEvent("shortcut.speakerStats.clicked");
APP.store.dispatch(toggleDialog(SpeakerStats, { APP.store.dispatch(toggleDialog(SpeakerStats, {
conference: APP.conference conference: APP.conference
})); }));