Skip to content

Commit 2626998

Browse files
committed
move piwik whitelists to conf and add piwik config.json info to readme
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
1 parent 21d7c4d commit 2626998

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

‎README.md‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,11 @@ You can configure the app by copying `config.sample.json` to
130130
anything else since it is used to isolate the privileges of file attachments to this
131131
domain. Default: `usercontent.riot.im`. This needs to contain v1.html from
132132
https://github.com/matrix-org/usercontent/blob/master/v1.html
133+
1. `piwik`: an object containing the following properties:
134+
1. `url`: The URL of the Piwik instance to use for collecting Analytics
135+
1. `whitelistedHSUrls`: a list of HS URLs to not redact from the Analytics
136+
1. `whitelistedISUrls`: a list of IS URLs to not redact from the Analytics
137+
1. `siteId`: The Piwik Site ID to use when sending Analytics to the Piwik server configured above
133138

134139
Running as a Desktop app
135140
========================

‎config.sample.json‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
"welcomeUserId": "@riot-bot:matrix.org",
2525
"piwik": {
2626
"url": "https://piwik.riot.im/",
27+
"whitelistedHSUrls": ["https://matrix.org"],
28+
"whitelistedISUrls": ["https://vector.im", "https://matrix.org"],
2729
"siteId": 1
2830
}
2931
}

0 commit comments

Comments
 (0)