Skip to content

Commit 92b2980

Browse files
authored
Merge pull request element-hq#7435 from aaronraimist/patch-1
Document how to turn off Piwik and bug reports (element-hq#6738)
2 parents f69869a + eabcc92 commit 92b2980

1 file changed

Lines changed: 11 additions & 7 deletions

File tree

‎README.md‎

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ to build.
9090
npm install
9191
npm run build
9292
```
93-
Or just use https://riot.im/develop - the continuous integration release of the
93+
Or just use https://riot.im/develop - the continuous integration release of the
9494
develop branch. (Note that we don't reference the develop versions in git directly
9595
due to https://github.com/npm/npm/issues/3055.)
9696
1. Install the prerequisites: `npm install`.
@@ -134,7 +134,9 @@ For a good example, see https://riot.im/develop/config.json
134134
1. `integrations_rest_url`: URL to the REST interface for the integrations server.
135135
1. `integrations_widgets_urls`: list of URLs to the REST interface for the widget integrations server.
136136
1. `bug_report_endpoint_url`: endpoint to send bug reports to (must be running a
137-
https://github.com/matrix-org/rageshake server)
137+
https://github.com/matrix-org/rageshake server). Bug reports are sent when a user clicks
138+
"Send Logs" within the application. Bug reports can be disabled by leaving the
139+
`bug_report_endpoint_url` out of your config file.
138140
1. `roomDirectory`: config for the public room directory. This section is optional.
139141
1. `roomDirectory.servers`: List of other homeservers' directories to include in the drop
140142
down list. Optional.
@@ -147,11 +149,13 @@ For a good example, see https://riot.im/develop/config.json
147149
anything else since it is used to isolate the privileges of file attachments to this
148150
domain. Default: `https://usercontent.riot.im/v1.html`. This needs to contain v1.html from
149151
https://github.com/matrix-org/usercontent/blob/master/v1.html
150-
1. `piwik`: an object containing the following properties:
151-
1. `url`: The URL of the Piwik instance to use for collecting Analytics
152-
1. `whitelistedHSUrls`: a list of HS URLs to not redact from the Analytics
153-
1. `whitelistedISUrls`: a list of IS URLs to not redact from the Analytics
154-
1. `siteId`: The Piwik Site ID to use when sending Analytics to the Piwik server configured above
152+
1. `piwik`: Analytics can be disabled by setting `piwik: false` or by leaving the piwik config
153+
option out of your config file. If you want to enable analytics, set `piwik` to be an object
154+
containing the following properties:
155+
1. `url`: The URL of the Piwik instance to use for collecting analytics
156+
1. `whitelistedHSUrls`: a list of HS URLs to not redact from the analytics
157+
1. `whitelistedISUrls`: a list of IS URLs to not redact from the analytics
158+
1. `siteId`: The Piwik Site ID to use when sending analytics to the Piwik server configured above
155159
1. `teamServerConfig`, `teamTokenMap`, `referralBaseUrl`: an obsolete precursor to communities
156160
with referral tracking; please ignore it.
157161
1. `welcomeUserId`: the user ID of a bot to invite whenever users register that can give them a tour

0 commit comments

Comments
 (0)