Expand my Community achievements bar.

Join us for our next community Coffee Break on February 28th! Four of our Analytics Champions will be joining us to discuss Summit tips, best practices, and any of your Analytics questions!
SOLVED

Mobile Dark Mode -mode identification and analytics capability ?

Avatar

Level 1

Is there a way to tell in Analytics/Workspace if the user of a mobile Device is using Dark Mode?  This became available with iOS 13 and Android 10.  Thanks

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Unfortunately Workspace doesn't have this out of the box, but you can use JavaScript in Launch to detect it and pass it into an evar or prop. I just tested this on my Mac (not mobile) and it worked: https://stackoverflow.com/questions/56393880/how-do-i-detect-dark-mode-using-javascript

View solution in original post

2 Replies

Avatar

Correct answer by
Employee Advisor

Unfortunately Workspace doesn't have this out of the box, but you can use JavaScript in Launch to detect it and pass it into an evar or prop. I just tested this on my Mac (not mobile) and it worked: https://stackoverflow.com/questions/56393880/how-do-i-detect-dark-mode-using-javascript

Avatar

Level 1
Thanks Eric, I will look into. I see there also several related questions/answers on stackoverflow