Piwik JS Tracking Code should use DNS name instead of IP #4486
Labels
Bug
For errors / faults / flaws / inconsistencies etc.
worksforme
The issue cannot be reproduced and things work as intended.
Milestone
Hi,
if you request the JS tracking Code via the API and the 'piwikUrl' Parameter isn't set, Piwik tries to recognize the correct URL. This is done in plugins/SitesManager/API.php function getJavascriptTag:
In times where we're trying to slowly migrate to IPv6 this is really bad! Piwik should use the DNS name, not the IP.
Request:
Response:
It would be great if someone with real understanding of Piwik and PHP could fix this.
Thanks in advance!
The text was updated successfully, but these errors were encountered: