Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

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

bgrozev5773bc48eda7
diff --git a/analytics-ga.js b/analytics-ga.js
index 9190a578b3..d3b0969ef6 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),