You've already forked matrix-react-sdk
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:
@@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user