Merge pull request #2871 from matrix-org/travis/redact-url
Ensure the page URL is redacted before tracking analytics events
This commit is contained in:
commit
37afa9fc0e
1 changed files with 1 additions and 0 deletions
|
@ -201,6 +201,7 @@ class Analytics {
|
|||
|
||||
trackEvent(category, action, name, value) {
|
||||
if (this.disabled) return;
|
||||
this._paq.push(['setCustomUrl', getRedactedUrl()]);
|
||||
this._paq.push(['trackEvent', category, action, name, value]);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue