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

This commit is contained in:
bgrozev 2018-09-25 11:00:46 -05:00 committed by GitHub
parent 9613755055
commit 5773bc48ed
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 0 deletions

View File

@ -126,6 +126,12 @@
return; 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 = { const gaEvent = {
'eventCategory': 'jitsi-meet', 'eventCategory': 'jitsi-meet',
'eventAction': this._extractAction(event), 'eventAction': this._extractAction(event),