Device by user agent
What this tool does
This tool analyzes a device identification string, known as a user-agent, to determine what kind of device, operating system, and web browser is being used. It helps you understand the context behind user activity by breaking down technical identification data into readable categories. This is useful for segmenting traffic or adapting content to specific device types.
When to use it
- Adapting website layout or features based on whether the user is on a phone, tablet, or computer.
- Understanding which web browsers your audience uses most frequently.
- Identifying if traffic comes from gaming consoles or smart televisions.
- Grouping users by their operating system for targeted reporting.
What to expect
You will receive a confirmation indicating whether a device brand could be identified, along with a detailed breakdown including device type, operating system name and version, browser name and version, and rendering engine.
Limitations
- The tool relies on the information provided in the identification string, which may be incomplete, altered, or missing for some users.
- Results may not always distinguish between very similar devices if their identification strings are nearly identical.
- Some newer or less common device types might not be recognized and may appear as generic or unknown.
When it fails
- If no identification string is provided, the tool will not return any results.
- If the identification string is completely empty or invalid, no device information will be extracted.
Good to know
- The identification string is often generated automatically by the web browser and sent with every request.
- Device type categories include smartphone, tablet, desktop, console, and smarttv.
Input data
| Parameter | Required | Example | Description |
|---|---|---|---|
useragent | Yes | AppleTV5,3/9.1.1 | Enter the full user agent string from the visitor's browser. Example: 'AppleTV5,3/9.1.1'. This field is required. |
Output data
| Field | Description |
|---|---|
browser_engine | The name of the technology used to render web pages, such as 'Blink' or 'WebKit'. |
browser_name | The name of the web browser, for example 'Edge', 'Chrome', or 'Safari'. |
browser_version | The version number of the web browser. |
device_brand | The manufacturer of the device, for example 'Apple'. |
device_model | The specific model name of the device, such as 'iPhone' or 'iPad'. |
device_type | The category of the device, such as 'smartphone', 'tablet', or 'desktop'. |
os_name | The name of the operating system, for example 'iOS', 'Android', or 'Windows'. |
os_platform | The type of platform for the operating system, such as 'mobile' or 'desktop'. |
os_version | The version number of the operating system. |