Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Is there any way to capture the screen resolution of site visitors through server logs? Or do I need to track the visitor information through some programmatic approach?

share|improve this question
add comment

2 Answers

up vote 2 down vote accepted

Screen resolution isn't sent by the browser as part of the standard request headers, so yes, you'll need to do something with Javascript to send this data where you want it. If you're looking for an existing "product", Google Analytics handles this data collection.

share|improve this answer
add comment
  1. Try Google analytics, they track this.
    or
  2. Write it on your own.
share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.