matomo-org / matomo

Empowering People Ethically with the leading open source alternative to Google Analytics that gives you full control over your data. Matomo lets you easily collect data from websites & apps and visualise this data and extract insights. Privacy is built-in. Liberating Web Analytics. Star us on Github? +1. And we love Pull Requests!
https://matomo.org/
GNU General Public License v3.0
19.83k stars 2.64k forks source link

[Bug] Wrong URL in Matomo after moving site to subdomain #22710

Open diginote opened 5 days ago

diginote commented 5 days ago

What happened?

Hello,

we started tracking in matomo tag manager for sites on a domain without a ‘www.’ subdomain (e.g. example.com). Later, all pages had to move to the subdomain ‘www.’ (e.g. www.example.com). Unfortunately, the ‘www.’ is still not listed in the visits in Matomo.

What should happen?

Matomo should not try to hide any subdomains because on every subdomain there could be another website.

How can this be reproduced?

you can read the description here: https://github.com/matomo-org/tag-manager/issues/802

Matomo version

5.1.2

PHP version

8.3.13

Server operating system

debian

What browsers are you seeing the problem on?

Firefox, Chrome

Computer operating system

Windows

Relevant log output

No response

Validations

randy-innocraft commented 4 days ago

Hi @diginote. Thank you for creating the issue and bringing this to our attention, that's very appreciated. We have reviewed and triaged the problem internally, and we have confirmed it is an issue. Our team will prioritise this, and we will update you on the progress here when we have an update to share. If you have any further information or questions, please feel free to add them here.