Sfoglia il codice sorgente

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

master
bgrozev 6 anni fa
parent
commit
5773bc48ed
Nessun account collegato all'indirizzo email del committer
1 ha cambiato i file con 6 aggiunte e 0 eliminazioni
  1. 6
    0
      analytics-ga.js

+ 6
- 0
analytics-ga.js Vedi File

@@ -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),

Loading…
Annulla
Salva