Browse Source

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

master
bgrozev 6 years ago
parent
commit
62b6737a3f
No account linked to committer's email address
1 changed files with 4 additions and 3 deletions
  1. 4
    3
      analytics-ga.js

+ 4
- 3
analytics-ga.js View File

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') {
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
             return;
133
             return;
133
         }
134
         }
134
 
135
 

Loading…
Cancel
Save