@tsteur opened this issue on July 12th 2016

It records res = 2560x1600 because window.devicePixelRatio = 2 and actual resolution is 1280x800. It should actually report 1280x800 because it does not show 2560x600, it only shows more pixels "per pixel". Similar issue might be for smartphones but haven't tested.

Related code: https://github.com/piwik/piwik/blob/2.16.1/js/piwik.js#L5022-L5024

@tsteur commented on July 12th 2016

I think it is for mobile phones as well see https://github.com/piwik/piwik/issues/3416

Eg in case of iPhone 5 it would be more accurate to log 320x568 than 1136 x 640 because from a website point of view it is only 320x568px.

This issue was closed on July 13th 2016
Powered by GitHub Issue Mirror