Device category
The type of device: desktop, mobile, or tablet, inferred from the user agent.
Ask it in plain English
"Break down sessions by device category."
Field details
| Type | Dimension |
| GA4 API name | deviceCategory |
Good to know
Inherited from user-agent sniffing, so it inherits UA-sniffing's blind spots: a tablet in landscape mode requesting a desktop site can classify as desktop, and browsers that minimize UA details for privacy sometimes default to "desktop" regardless of the actual device.
Ask your own Google Analytics about this
Connect once, then ask in plain English. No tokens, no setup.
Get started freeUsed in these recipes
Related fields
Sources
- Google Analytics Data API - dimensions & metrics reference (official Google documentation)