Selaa lähdekoodia

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

master
bgrozev 6 vuotta sitten
vanhempi
commit
5773bc48ed
No account linked to committer's email address
1 muutettua tiedostoa jossa 6 lisäystä ja 0 poistoa
  1. 6
    0
      analytics-ga.js

+ 6
- 0
analytics-ga.js Näytä tiedosto

126
             return;
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
         const gaEvent = {
135
         const gaEvent = {
130
             'eventCategory': 'jitsi-meet',
136
             'eventCategory': 'jitsi-meet',
131
             'eventAction': this._extractAction(event),
137
             'eventAction': this._extractAction(event),

Loading…
Peruuta
Tallenna