From 5773bc48eda74cf5778c47b22510927b19ec40e9 Mon Sep 17 00:00:00 2001 From: bgrozev Date: Tue, 25 Sep 2018 11:00:46 -0500 Subject: [PATCH] fix: Filters out e2e_rtt events for google analytics. (#3476) --- analytics-ga.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/analytics-ga.js b/analytics-ga.js index 9190a578b..d3b0969ef 100644 --- a/analytics-ga.js +++ b/analytics-ga.js @@ -126,6 +126,12 @@ return; } + // The e2e rtt are not useful in GA, and there are too many of them. + // We just filter them out for now. + if (event.action === 'e2e_rtt') { + return; + } + const gaEvent = { 'eventCategory': 'jitsi-meet', 'eventAction': this._extractAction(event),