瀏覽代碼

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

master
bgrozev 6 年之前
父節點
當前提交
5773bc48ed
沒有連結到貢獻者的電子郵件帳戶。
共有 1 個檔案被更改,包括 6 行新增0 行删除
  1. 6
    0
      analytics-ga.js

+ 6
- 0
analytics-ga.js 查看文件

@@ -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…
取消
儲存