You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Sites own domain appears in referrers after upgrading to v2.16.1 #3256
After upgrading to 2.16.1, the domain of the site tracked started appearing in the list of referrers, as if it was a traffic source for itself.
I am fairly confident it was not there in 2.15.1 and don't recall seeing it there in 2.16.0 either, although I only ran that version shortly before 2.16.1 dropped.
Database
PostgreSQL
Relevant log output
Which Umami version are you using? (if relevant)
2.16.1
Which browser are you using? (if relevant)
Chrome
How are you deploying your application? (if relevant)
Taking a look at the code the app excludes the referrer if hostname = referrer. I guess there are conditions where this exclusion would not apply.
Thanks for looking into this. Shouldn't the check also exclude the domain with www. prefix?
Debugging my website_event records I see hits with both domain.com and www.domain.com as hostname, while referrer_domain is always domain.com.
Activity
LikeyBaby commentedon Mar 25, 2025
Same here, for some users we have our own website as referrers. This is the case since the installation of Umami about a year ago.
We are using the hosted version.
khizarrm commentedon May 9, 2025
Can i be assigned this issue?
Jaarson commentedon Jun 1, 2025
same issue
sunech commentedon Nov 12, 2025
It appears this issue is still present in Umami v3
franciscao633 commentedon Dec 30, 2025
Taking a look at the code the app excludes the referrer if hostname = referrer. I guess there are conditions where this exclusion would not apply.
sunech commentedon Dec 30, 2025
Thanks for looking into this. Shouldn't the check also exclude the domain with www. prefix?
Debugging my website_event records I see hits with both domain.com and www.domain.com as hostname, while referrer_domain is always domain.com.
remove www. prefix from hostname during comparison. Closes #3256