Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Count www and non-www external links as one in the Outlinks section #6528

Open
bahooha opened this issue Oct 27, 2014 · 4 comments
Open

Count www and non-www external links as one in the Outlinks section #6528

bahooha opened this issue Oct 27, 2014 · 4 comments
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.

Comments

@bahooha
Copy link

bahooha commented Oct 27, 2014

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:
Current situation:
outlinks_now

(future) Feature:
outlinks_feature

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?

@mattab mattab added the Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc. label Nov 3, 2014
@mattab mattab added this to the Mid term milestone Nov 3, 2014
@mattab
Copy link
Member

mattab commented Nov 3, 2014

Thanks for the feature suggestion!

@mattab mattab modified the milestones: Long term, Mid term Dec 5, 2016
@bahooha
Copy link
Author

bahooha commented Dec 9, 2018

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?

@bahooha
Copy link
Author

bahooha commented Jun 22, 2019

Is there any chance this will be implemented at any point?

@tsteur
Copy link
Member

tsteur commented Jun 24, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Enhancement For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Projects
None yet
Development

No branches or pull requests

3 participants