Hello awesome Piwik people,
I was wondering if maybe it would be possible to count the 'www' and the 'non-www' traffic as one in the outlinks section of Piwik. So basicly to count external links on a domain level.
On my website I have a lot of external links (it's a site where you can search for photographs of certain events). I deal with about 5000 links and counting. I do not always have control over the links, the majority of the links are scraped automaticly. It's not always possible to let the scraper decide which links should be prefixed with 'www' to make them uniform before adding them to the db.
It would be nice if we could see which links -or domains actually- are more popular than others. Now, with the outlinks page in the actions tab we are able to track a lot of information already and the tree structure makes it easy to see how many clicks a certain event/album on a certain website has recieved.
It would be super awesome if Piwik could combine the click stats for -external- links on the same domain.
Since pictures explain more than words, here a few:
I do understand that this could cause a problem when links are on a subdomain like "gallery.domain.tld/*", unfortunately I do not know how to overcome that, maybe somebody has a suggestion?
Thanks for the feature suggestion!
After all these years I would still very much like to see this feature, is it something worth reconsidering, mattab and/or team? Pretty please?
Is there any chance this will be implemented at any point?
I reckon it is not planned to work on this soon. Technically, those are even different URLs. I reckon someone with some PHP skills could fairly easily implement this change. All someone would need to do be to listen to eg
API.Actions.$methodName.end event and apply the
GroupBy filter on the data table to merge these URLs. Similar to https://github.com/matomo-org/matomo/blob/3.10.0-rc2/plugins/Referrers/API.php#L450-L452