1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-20 16:22:28 +03:00

Merge pull request #2033 from matrix-org/luke/track-uisis-piwik-specify-event-name

Track an event name when tracking a decryption failure
This commit is contained in:
Luke Barnard
2018-07-02 10:26:34 +01:00
committed by GitHub

View File

@@ -1306,7 +1306,7 @@ export default React.createClass({
const dft = new DecryptionFailureTracker((total) => {
// TODO: Pass reason for failure as third argument to trackEvent
Analytics.trackEvent('E2E', 'Decryption failure', null, total);
Analytics.trackEvent('E2E', 'Decryption failure', 'unspecified_error', total);
});
// Shelved for later date when we have time to think about persisting history of