Rich-text Reply

OS Testing

jyoti 12-18-14
Accepted Solution

OS Testing

[ Edited ]

Hello,

 

As we can test our page against browser, traffic, etc.

 

Is there any option for Operating System test?

 

We want to run following test:

1. How many Windows users have downloaded the Mac version software?
2. How many Mac users have downloaded the Windows version software?

 

Thanks

Level 1

td_evans 12-18-14
 

Re: OS Testing

You can use a JS boolean to target OS, this would be the Windows condition

(navigator.appVersion.indexOf("Win")!=-1)

 Mac would be:

(navigator.appVersion.indexOf("Mac")!=-1)

 

Thomas Evans
Technical Product Manager - Conversion @ Secret Escapes

Level 2

Re: OS Testing

@td_evans is correct.  We have the best and smartest Community members around!

Harrison Krat
Solutions Architect | Optimizely, Inc.
harrison@optimizely.com