Marco Arment shared a trick to capture high-DPI screens in Google Analytics over the weekend, but the code he shared is for an older version of Google Analytics, and I wanted to try this out using the newer version of Analytics, so here’s a copy of the code I use here on this site: