device info
This block is part of the http connection group and was last modified in core v10.4.28.
device info v10.4.28 Returns the currently connected users device info.
In pins 1
- connection
httpconnectionrequired
Out pins 1
- device info
object
Outputs the parsed user-agent / device info object (application, application_version, device_type, device_os, browser, is_mobile, is_bot, …; unknown fields null) : from the connection on an API route, else the current page request's client. Emits nil when the request has no User-Agent; does nothing during precompile.
useragent |
A typical wiring for device info: the agent out pin feeds custom field.
Version history
Introduced in v10.4.28.
Back to
http connection Return to the main group to view all sub-groups Back to http Return to the group to view all blocks within this group 