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

Provide statistics on devicePixelRatio (for Retina / high DPI / smartphone displays) #12392

Closed
johsin18 opened this issue Dec 31, 2017 · 6 comments
Labels
duplicate For issues that already existed in our issue tracker and were reported previously.

Comments

@johsin18
Copy link
Contributor

In addition to the Screen Resolution statistics, provide statistics on the value of devicePixelRatio, giving an indication of how "sharp" the visitors' displays are. This applies in particular to Retina / high DPI / smartphone displays. Using these stats, one can assess how rewarding it would be to provide high resolution images.

As the value of devicePixelRatio is an arbitrary decimal, maybe use ranges, e.g. 1<x<=1.5, 1.5<x<=2, 2<x<=3, 3<x<=4, , and so on. The current Page zoom also influences the devicePixelRatio, but this means that the user would like to see more or less detail, so it's actually nice to include that.

This improvement was also suggested at the very end of:
#4663

@Findus23
Copy link
Member

It should be pretty easy to write a plugin which does this report.
One could simply modify this existing plugin:
https://github.com/sgiehl/piwik-plugin-DeviceFeatureWebGL

@johsin18
Copy link
Contributor Author

johsin18 commented Jan 2, 2018

In contrast to the WebGL plugin, it's not just adding one more entry to an existing report, but rather adding a completely new report.

@wasinger
Copy link

This seems to be a duplicate of #11405.

@johsin18
Copy link
Contributor Author

True. BTW I'm currently implementing a plugin.

@sgiehl
Copy link
Member

sgiehl commented Jul 17, 2018

I'm closing this in favor of #11405

@sgiehl sgiehl closed this as completed Jul 17, 2018
@sgiehl sgiehl added the duplicate For issues that already existed in our issue tracker and were reported previously. label Jul 17, 2018
@johsin18
Copy link
Contributor Author

johsin18 commented Aug 9, 2018

My "Device Pixel Ratio" plugin has hit the marketplace, so this problem is solved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate For issues that already existed in our issue tracker and were reported previously.
Projects
None yet
Development

No branches or pull requests

4 participants