website icon indicating copy to clipboard operation
website copied to clipboard

Encode current page in anon-stats query string

Open vbrown608 opened this issue 6 years ago • 3 comments

Matomo tries to use the referrer header to figure out which page a user visited, but this is unreliable. We can encode the current page directly in the query string that goes to anon-stats.

vbrown608 avatar Apr 04 '19 21:04 vbrown608

well they are two separate things, urlref and url

mfb avatar Apr 04 '19 21:04 mfb

I mean the referrer to anon-stats.eff.org (eg the page w/in certbot.eff.org on which they loaded the tracker), not urlref, which I understand to be the referrer to certbot.eff.org.

vbrown608 avatar Apr 04 '19 21:04 vbrown608

oh right. yes we should always send the url param as a rule.

mfb avatar Apr 04 '19 21:04 mfb