From 0a2a782d63032ff3cdf2916c4aa084b2950e75ee Mon Sep 17 00:00:00 2001 From: Michael Telatynski <7t3chguy@gmail.com> Date: Wed, 7 Jun 2017 11:26:52 +0100 Subject: [PATCH] track the action of opt-out 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 b9f969973e..92691da1ea 100644 --- a/src/Analytics.js +++ b/src/Analytics.js @@ -56,6 +56,7 @@ class Analytics { * but this is second best, Piwik should not pull anything implicitly. */ disable() { + this.trackEvent('Analytics', 'opt-out'); this.disabled = true; }