Use undocumented piwik cmd to disable heartbeattimer
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
cf4ae681f4
commit
a897da7504
1 changed files with 1 additions and 0 deletions
|
@ -92,6 +92,7 @@ class Analytics {
|
|||
*/
|
||||
disable() {
|
||||
this.trackEvent('Analytics', 'opt-out');
|
||||
this._paq.push(['disableHeartBeatTimer']);
|
||||
this.disabled = true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue