Procházet zdrojové kódy

fix: Filter more events for google analytics. (#3557)

master
bgrozev před 6 roky
rodič
revize
62b6737a3f
Žádný účet není propojen s e-mailovou adresou tvůrce revize
1 změnil soubory, kde provedl 4 přidání a 3 odebrání
  1. 4
    3
      analytics-ga.js

+ 4
- 3
analytics-ga.js Zobrazit soubor

@@ -126,9 +126,10 @@
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') {
129
+        // The e2e rtt, rtp stats and rtt by region stats are not useful in GA,
130
+        // and there are too many of them. We just filter them out for now.
131
+        if (event.action === 'e2e_rtt' || event.action === 'rtp.stats'
132
+            || event.action === 'rtt.by.region') {
132 133
             return;
133 134
         }
134 135
 

Načítá se…
Zrušit
Uložit