Use undocumented piwik cmd to disable heartbeattimer

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
Michael Telatynski 2018-02-22 16:15:50 +00:00
parent cf4ae681f4
commit a897da7504
No known key found for this signature in database
GPG key ID: 3F879DA5AD802A5E

View file

@ -92,6 +92,7 @@ class Analytics {
*/
disable() {
this.trackEvent('Analytics', 'opt-out');
this._paq.push(['disableHeartBeatTimer']);
this.disabled = true;
}