Expand my Community achievements bar.

Join us January 15th for an AMA with Champion Achaia Walton, who will be talking about her article on Event-Based Reporting and Measuring Content Groups!
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