comment on weirdness
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
This commit is contained in:
parent
a897da7504
commit
d66d66b2ec
1 changed files with 3 additions and 0 deletions
|
@ -92,6 +92,9 @@ class Analytics {
|
|||
*/
|
||||
disable() {
|
||||
this.trackEvent('Analytics', 'opt-out');
|
||||
// disableHeartBeatTimer is undocumented but exists in the piwik code
|
||||
// the _paq.push method will result in an error being printed in the console
|
||||
// if an unknown method signature is passed
|
||||
this._paq.push(['disableHeartBeatTimer']);
|
||||
this.disabled = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue