webcompat.com icon indicating copy to clipboard operation
webcompat.com copied to clipboard

Add labels to indicate Tranco ranking

Open ksy36 opened this issue 3 years ago • 1 comments

To get better insight into site ranking we could add labels based on the Tranco rank of the site globally.

It could be something like:

top-100 top-500 top-1k top-5k top-15k top-50k top-100k

Tranco doesn't have per country rank, but Alexa does and their API will be available until December. So we could fetch them and this data will be valid for some time. For per country labels it could be similar: top-100-japan,top-500-uk,top-1k-usa

We should have only one label to avoid confusion. If a site is more important in a given country, than globally, then the country label will be added, and vise versa. Also if it's more important in one country, than in another, the one with more importance will get priority.

For example: mysite.com is 11000 globally, but 4999 in Canada, then it will get top-5k-canada someothersite.com is 100 globally, but 15000 in Canada, it will get top-100 mysite.com is 4999 in Canada, but 333 in US, then it will get top-500-us

ksy36 avatar Jun 23 '22 15:06 ksy36

After discussion with the team, the conclusion is that it makes sense to add labels for the global rank, but for per country rank we could add text to the issue body instead, to avoid creating a huge amount of labels.

ksy36 avatar Jun 28 '22 15:06 ksy36