one of the item has different cases, MyPage.com instead of mypage.com but that shouldnt matter and isnt the onlyproblem
what i dont understand is why there is myspace.com in there, has it something to do with the 0?
i dont really have an idea where to look in the code and would be happy if somebody had some hints
what i found is that the mypage.com is already in piwik_log_action with type = 2, i think this means it is outlink and that it is already
in the database so i have to check at the place data is inserted
not where it is read and viewed, any hints?
You may need to use piwik_hosts_alias to exclude intra-links. This is needed when visitors reach your site through multiple names (eg www.mypage.com and mypage.com), and/or you use a mixture of those names internally on your anchor elements.
in the next version, outlinks on domains that you entered for your website in the admin, won’t be counted in Piwik. This was a limitation in existing version that we are fixing.
Also thanks for the report, it seems the outlinks wasn’t properly strtolowered, I will check that.
Also, like vipsoft suggest, the piwik_alias_hosts should work to not count links on other domains.
maybe it would be good to tell the user somewhere
to use lowercase in the piwik_hosts_alias variable or
add a toLowerCase() at line 193 …
192 for (var i=0; i < _pk_hosts_alias.length; i++) {
193 alias = _pk_hosts_alias[i];
i am not sure about mixed cases in the hostnames
i think, since dns is case insensitive, everything should be lowercased
i’d like to have the statistics for mypage.comMyPage.com added together
i also don’t know where to implement that, in .js
lowercasing the host part of document.location.href ?
do it in .js because its actually fixing a browser issue might be an argument
in php part i am not sure where, maybe in Tracker/Action.php
generateInfo() ?
just updated to latest.zip
and now i got mypage.com as well as MyPage.com in outlinks again
i got www.mypage.com and mypage.com in piwik settings page for the site
and using javascript alias “*.mypage.com”
i checked piwik.js and the lowercasing seems to be there … so i dont really get whats the problem