Skip to content

Sites own domain appears in referrers after upgrading to v2.16.1 #3256

Closed

Description

@sunech

Describe the Bug

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)

Docker (Coolify)

Activity

  1. LikeyBaby commented on Mar 25, 2025

    @LikeyBaby

    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.

    Image
  2. khizarrm commented on May 9, 2025

    @khizarrm

    Can i be assigned this issue?

  3. Jaarson commented on Jun 1, 2025

    @Jaarson

    same issue

  4. sunech commented on Nov 12, 2025

    @sunech
    Author

    It appears this issue is still present in Umami v3

  5. franciscao633 commented on Dec 30, 2025

    @franciscao633
    Collaborator

    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.

    Image
  6. sunech commented on Dec 30, 2025

    @sunech
    Author

    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.

  7. added a commit that references this issue on Jan 29, 2026
    9339383
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingfixed in devFixed in the dev branch

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions