: How to see pixel density (Retina) in Google Analytics? In Google Analytics, "Screen Resolution" is a default dimension under Audience > Technology > Browser & OS reports, but pixel density
In Google Analytics, "Screen Resolution" is a default dimension under Audience > Technology > Browser & OS reports, but pixel density is nowhere to be found.
How can I use Google Analytics to determine how many of my visitors are using Retina or other high-def displays?
More posts by @Bryan171
3 Comments
Sorted by latest first Latest Oldest Best
Well, you can look at the Operating System of your users, if it's an iOS or Macintosh you can assume they use retina displays.
Lets turn that around and ask why would you care?
Assuming it's to determine if image/icon size is an issue, I've recently tossed all the multiple-resolution icons and replaced them with SVG graphics. Logos and larger non-vector images are all 2x size in a plain <img> tag.
Positive side effects are faster loads (the SVG is in the main style sheet) and easier modification. Haven't encountered any negative side effects yet.
If IE8 compatibility is required I will run one sprite file - make one page with all your icons and you can just screencapture it for instant sprites.
Google Analytics does not support pixel ratio by default but you can add it with script for a custom variable. See github.com/tysonmatanich/GetDevicePixelRatio for more details.
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.