Parcourir la source

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

master
bgrozev il y a 7 ans
Parent
révision
5773bc48ed
Aucun compte lié à l'adresse e-mail de l'auteur
1 fichiers modifiés avec 6 ajouts et 0 suppressions
  1. 6
    0
      analytics-ga.js

+ 6
- 0
analytics-ga.js Voir le fichier

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

Chargement…
Annuler
Enregistrer