track the action of opt-out

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
pull/21833/head
Michael Telatynski 2017-06-07 11:26:52 +01:00
parent bd948ef915
commit 0a2a782d63
No known key found for this signature in database
GPG Key ID: 004D8FB8D4A7B783
1 changed files with 1 additions and 0 deletions

View File

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