These are conditions on the device, not on the person. Someone in the field on a laptop gets
the desktop branch; someone at a desk on their phone gets the mobile one. If the distinction you
need is about who is scanning, see Conditional
Visibility for what a condition can actually read.
What you can read
desktop, unknown, unknown. So a
desktop-conditioned Destination is what an unrecognised device falls into — worth knowing when you
choose which branch carries the fallback.
The two cases worth using it for
The right app store. One Destination atapps.apple.com/... with device.isIOS, another at
play.google.com/... with device.isAndroid.
iOS deep links outside Safari. An app scheme like iauditor:// only opens from Safari on iOS,
so an iPhone user in Chrome needs the web URL instead:
Combining with Item data
Device conditions and Item fields go in the same expression:Where it is the wrong tool
- Never for access control. User-Agent is self-reported, users can change it, and privacy browsers mask it. Use authentication.
- Not to force a choice. If showing both options is simpler, show both.
- Not as a stand-in for identity. See the note at the top.