Tracking Dark and Light Mode in Google Analytics using Google Tag Manager

Submitted by david.stinemetze on Thu, 12/05/2019 @ 2:23pm

With both macOS and Windows on desktop, along with iOS and Android on mobile, supporting dark mode, we wanted to see if we could track audience color preferences in Google Analytics. This is useful as it could impact design decisions down the road, and determine whether or not it's worth creating a dark version of a website.