How to refine AwStats results concerning screen resolution with device-pixel ratio?


I already asked a question concerning the screen resolution statistics, & got a good answer. (Read also FAQ-COM142 on the AwStats page.) Now, we need to refine the results in our company, as there are only five resolutions enlisted with a sixth entry called "Others" that amount currently to about 26%. (If these "Other" resolutions had been only 5%, say, it would not have been a problem.)

Also, it is important for our Web designer to know what kind of device accessed our company Web page. He thinks that the device/pixel ratio would help him when making design decisions.

My question:
a. How is it possible to get more entries in the screen statitics?
b. How can the device/pixel ratio be added to the statistics?

Thanks in advance!Currently displayed screen resolution statistics
Ahmet Ekrem SABANSenior IT consultantAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Use the MAX value for the device-pixel section you created; see

Exact value to increase is MaxNbOfScreenSizesShown = 5

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Ahmet Ekrem SABANSenior IT consultantAuthor Commented:
Thank you very much! I entered MaxNbOfScreenSizesShown = 20. This morning, we had in the screen resolution statistics only one single line with 100%, and the only resolution appeared was 1024×768. Now, we try " = 10", as we cannot believe that only one resolution accessed our Web page. To be 100% sure, I also accessed it with my Nokia Lumia 930 that has a different resolution.

Do you have also an idea about the b part of the question?
The b part of your question is actually a bit more complex; as awstats is a log analyzer the first thing you need is to actually have the device pixel ratio data be in the raw log files as far as I am aware that is not the case.

A workaround would be to call the device pixel ratio through javascript (window.devicePixelRatio) and log that data separately to a database for analyses.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.