Ver código fonte

fix: Filters out e2e_rtt events for google analytics. (#3476)

master
bgrozev 7 anos atrás
pai
commit
5773bc48ed
Nenhuma conta vinculada ao e-mail do autor do commit
1 arquivos alterados com 6 adições e 0 exclusões
  1. 6
    0
      analytics-ga.js

+ 6
- 0
analytics-ga.js Ver arquivo

@@ -126,6 +126,12 @@
126 126
             return;
127 127
         }
128 128
 
129
+        // The e2e rtt are not useful in GA, and there are too many of them.
130
+        // We just filter them out for now.
131
+        if (event.action === 'e2e_rtt') {
132
+            return;
133
+        }
134
+
129 135
         const gaEvent = {
130 136
             'eventCategory': 'jitsi-meet',
131 137
             'eventAction': this._extractAction(event),

Carregando…
Cancelar
Salvar