Show referrers on public stats if user is logged
Author: ozhCreated Sep 27, 2026Updated Sep 27, 2026
Last year we decided to hide referrers on public stats, to prevent old school referrer spam -- see https://github.com/YOURLS/YOURLS/pull/4005 -- sane idea.
Improve the idea: yes, hide... unless user is logged in.
When I'm logged in https://app.yourls.org/admin/, I should be able to see referrers on short URLs there
Source: YOURLS/YOURLS