track the action of opt-out
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>pull/21833/head
parent
bd948ef915
commit
0a2a782d63
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue