Track UISIs as Countly Events

pull/21833/head
Michael Telatynski 2020-11-02 10:28:57 +00:00
parent 0368ad4516
commit f2d8069a24
1 changed files with 1 additions and 0 deletions

View File

@ -1407,6 +1407,7 @@ export default class MatrixChat extends React.PureComponent<IProps, IState> {
const dft = new DecryptionFailureTracker((total, errorCode) => {
Analytics.trackEvent('E2E', 'Decryption failure', errorCode, total);
CountlyAnalytics.instance.track("decryption_failure", { errorCode }, null, { sum: total });
}, (errorCode) => {
// Map JS-SDK error codes to tracker codes for aggregation
switch (errorCode) {