-
-
Notifications
You must be signed in to change notification settings - Fork 829
Track actual window location origin and hash #1853
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we actually want to be reporting origins to piwik? I thought we hid these intentionally as they could fairly identifying.
Also, is origin what you want? This will miss out the path, right? So we'll go from https://riot.im/app/
to https://riot.im/
.
I think the decision was indeed to report origins even though they might not be ours. It's true that we ship with But you're absolutely right that this neglects the path, I shall fix that. |
Ftr, if we do report origins, we should add it to https://github.com/matrix-org/matrix-react-sdk/blob/master/src/Analytics.js#L200 |
OK, having spoken with @lampholder on this, we're going to go for:
This way we can configure the deploys we care about (like riot.im) to send analytics whilst not upsetting deployers about leaking their domains. If other riot deploys want to share their analytics with us, they can but we will also filter on the piwik side using a segment restricted to the domain we care about. |
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.
OK, but you'll need to update the list of info we send as per above. |
oh right, yep |
Also, redesign analytics modal to be one big table, instead of table + paragraph.
Giving back to you in case you need to coordinate merging with piwik things |
Turns out we do care about |
To preserve the analytics for these pages we did previously
re-lgtm, although also I've just noticed: did you mean PII rather than PPI? Or is there a meaning of PPI other than Payment Protection Insurance I'm unaware of? |
sigh... definitely meant to type PII |
Fixes element-hq/element-web#6601