From 1ff11ca493af6a16464d2bfec9cd968ea7bbf474 Mon Sep 17 00:00:00 2001 From: Luke Barnard Date: Wed, 25 Apr 2018 17:19:51 +0100 Subject: [PATCH] Make analytics opt-in If a Riot is upgraded to include this commit, it will stop reporting analytics unless specified in config.json. The sample config already contains the configuration required to continue reporting. --- src/SdkConfig.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/SdkConfig.js b/src/SdkConfig.js index 64bf21ecf8..92b4e325e9 100644 --- a/src/SdkConfig.js +++ b/src/SdkConfig.js @@ -21,13 +21,6 @@ const DEFAULTS = { integrations_rest_url: "https://scalar.vector.im/api", // Where to send bug reports. If not specified, bugs cannot be sent. bug_report_endpoint_url: null, - - piwik: { - url: "https://piwik.riot.im/", - whitelistedHSUrls: ["https://matrix.org"], - whitelistedISUrls: ["https://vector.im", "https://matrix.org"], - siteId: 1, - }, }; class SdkConfig {