From a897da75041299820033e94d95d22cf448caff20 Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Thu, 22 Feb 2018 16:15:50 +0000 Subject: [PATCH] Use undocumented piwik cmd to disable heartbeattimer Signed-off-by: Michael Telatynski <7t3chguy@gmail.com> --- src/Analytics.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Analytics.js b/src/Analytics.js index 5c39b48a35..d18c11bc66 100644 --- a/src/Analytics.js +++ b/src/Analytics.js @@ -92,6 +92,7 @@ class Analytics { */ disable() { this.trackEvent('Analytics', 'opt-out'); + this._paq.push(['disableHeartBeatTimer']); this.disabled = true; }