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
No known key found for this signature in database
GPG key ID: 004D8FB8D4A7B783

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;
}