Possibility to use domain as ID #2366
Labels
Enhancement
For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
worksforme
The issue cannot be reproduced and things work as intended.
It would be nice if I could use the domain name as ID in the JS added to the site, e.g.:
<!-- Piwik -->
<script type="text/javascript">
var pkBaseURL = (("https:" == document.location.protocol) ? "https://stats.example.com/" : "http://stats.example.com/");
document.write(unescape("%3Cscript src='" + pkBaseURL + "piwik.js' type='text/javascript'%3E%3C/script%3E"));
</script><script type="text/javascript">
try {
var piwikTracker = Piwik.getTracker(pkBaseURL + "piwik.php", mysite.com);
piwikTracker.trackPageView();
piwikTracker.enableLinkTracking();
} catch( err ) {}
</script><noscript><p><img src="http://stats.example.com/piwik.php?idsite=mysite.com" style="border:0" alt=""/></p></noscript>
<!-- End Piwik Tag -->
The text was updated successfully, but these errors were encountered: