(Mobile) Device
Information on the visitor's mobile device (mobile phone, tablet, etc.) and the screen used by the visitor is available via the device
property.
visitor.device.name
- Gets the family name of the visitor's mobile device.
- Data Type: String
- Default Value: '' (if the device could not be determined)
- Possible Values: 'iPhone', 'iPad', 'iPod', 'PlayStation', 'PlayStation Portable', 'Nintendo DS', 'Kindle', 'BlackBerry', 'PlayBook', 'HP TouchPad', 'Palm', 'Nokia', 'Nokia Tablet', 'WeTab', 'TV', 'Mobile Device'
visitor.device.version
- Gets the version/edition of the visitor's mobile device.
- Data Type: String
- Default Value: '' (if device or version could not be determined)
- Example Values: '3' for PlayStation 3, '9800' for BlackBerry 9800
visitor.device.screen.resolution
- Gets the screen resolution of the visitor's device.
- Data Type: String
- Example Values: '1920x1080', '320x480'
visitor.device.screen.width
- Gets the screen width of the user's device in device-independent pixels.
- Data Type: Integer
- Example Value: 1920
visitor.device.screen.height
- Gets the screen height of the user's device in device-independent pixels.
- Data Type: Integer
- Example Value: 1080