mirror of
https://github.com/vector-im/element-web.git
synced 2025-12-07 10:21:10 +01:00
Track UISIs as Countly Events
This commit is contained in:
parent
0368ad4516
commit
f2d8069a24
@ -1407,6 +1407,7 @@ export default class MatrixChat extends React.PureComponent<IProps, IState> {
|
|||||||
|
|
||||||
const dft = new DecryptionFailureTracker((total, errorCode) => {
|
const dft = new DecryptionFailureTracker((total, errorCode) => {
|
||||||
Analytics.trackEvent('E2E', 'Decryption failure', errorCode, total);
|
Analytics.trackEvent('E2E', 'Decryption failure', errorCode, total);
|
||||||
|
CountlyAnalytics.instance.track("decryption_failure", { errorCode }, null, { sum: total });
|
||||||
}, (errorCode) => {
|
}, (errorCode) => {
|
||||||
// Map JS-SDK error codes to tracker codes for aggregation
|
// Map JS-SDK error codes to tracker codes for aggregation
|
||||||
switch (errorCode) {
|
switch (errorCode) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user