You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-11-19 05:22:13 +03:00
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.
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user