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

Comments

Projects
None yet
4 participants
@johsin18

johsin18 commented Dec 31, 2017

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

This comment has been minimized.

Show comment
Hide comment
@Findus23

Findus23 Dec 31, 2017

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

Member

Findus23 commented Dec 31, 2017

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

This comment has been minimized.

Show comment
Hide comment
@johsin18

johsin18 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.

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

This comment has been minimized.

Show comment
Hide comment
@wasinger

wasinger Jul 17, 2018

This seems to be a duplicate of #11405.

wasinger commented Jul 17, 2018

This seems to be a duplicate of #11405.

@johsin18

This comment has been minimized.

Show comment
Hide comment
@johsin18

johsin18 Jul 17, 2018

True. BTW I'm currently implementing a plugin.

johsin18 commented Jul 17, 2018

True. BTW I'm currently implementing a plugin.

@sgiehl

This comment has been minimized.

Show comment
Hide comment
@sgiehl

sgiehl Jul 17, 2018

Member

I'm closing this in favor of #11405

Member

sgiehl commented Jul 17, 2018

I'm closing this in favor of #11405

@sgiehl sgiehl closed this Jul 17, 2018

@sgiehl sgiehl added the duplicate label Jul 17, 2018

@johsin18

This comment has been minimized.

Show comment
Hide comment
@johsin18

johsin18 Aug 9, 2018

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

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