1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-05 23:10:41 +03:00

track the action of opt-out

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski
2017-06-07 11:26:52 +01:00
parent bd948ef915
commit 0a2a782d63

View File

@@ -56,6 +56,7 @@ class Analytics {
* but this is second best, Piwik should not pull anything implicitly. * but this is second best, Piwik should not pull anything implicitly.
*/ */
disable() { disable() {
this.trackEvent('Analytics', 'opt-out');
this.disabled = true; this.disabled = true;
} }