Operating System
The os
property provides information about the operating system used by the visitor. This information is retrieved from the "User-Agent" header sent to the visitor.js server by the visitor's browser.
visitor.os.name
- Gets the family name of the operating system used by the visitor.
- Data Type: String
- Default Value: '' (if the operating system could not be determined)
- Example Values: 'Windows', 'Mac OS', 'Android', 'iOS', 'Windows Phone'
visitor.os.version
- Gets the version/edition of the visitor's operating system.
- Data Type: String
- Default Value: '' (if the version could not be determined)
- Example Values: '7' for Windows 7, 'Vista' for Windows Vista, '3.2' for Android 3.2