Expand my Community achievements bar.

Join us for the next Community Q&A Coffee Break on Tuesday April 23, 2024 with Eric Matisoff, Principal Evangelist, Analytics & Data Science, who will join us to discuss all the big news and announcements from Summit 2024!
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