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.pull/21833/head
parent
53016fa16e
commit
1ff11ca493
|
@ -21,13 +21,6 @@ const DEFAULTS = {
|
||||||
integrations_rest_url: "https://scalar.vector.im/api",
|
integrations_rest_url: "https://scalar.vector.im/api",
|
||||||
// Where to send bug reports. If not specified, bugs cannot be sent.
|
// Where to send bug reports. If not specified, bugs cannot be sent.
|
||||||
bug_report_endpoint_url: null,
|
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 {
|
class SdkConfig {
|
||||||
|
|
Loading…
Reference in New Issue