Welcome to the
WalkMe Help Center
Please log in to continue
Please log in to continue
You can segment WalkMe content by operating system using the navigator.userAgent variable in the rule engine. This lets you show different content to users on Windows vs. macOS, or target a specific OS version.
To find the exact value you need to segment on, you'll need access to a machine running that operating system.
navigator.userAgent
Setting Up the Rule
In the condition builder, set up the rule as follows:
User Data → Variable → navigator.userAgent → Like → *Windows*10*
Example
If you're on a Mac and the console returns:
5.0 (Macintosh; Intel Mac OS X 10_11_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36
Your rule would be:
User Data → Variable → navigator.userAgent → Like → *Mac*OS*X*10*
If you just need to segment broadly by OS without targeting a specific version:
Windows: User Data → Variable → navigator.userAgent → Like → *Windows*
macOS: User Data → Variable → navigator.userAgent → Like → *Mac*