TapCub is live — analytics, insights and live chat, free on one platform
Glossary

What is a user agent? The user agent string explained

A user agent is the software making a web request, and the user agent string is how it describes itself. A sample string decoded, what analytics reads from it, what user-agent reduction changed, and its limits for spotting bots.

Xu An Reviewed by Chen Yu Also called user agent string Last updated Nov 4, 2026 Glossary

Quick answer

A user agent is the software, such as a browser, app or crawler, that makes a request on the web. It identifies itself with the User-Agent header, a string naming the browser, rendering engine, operating system and sometimes the device.

What is a user agent?

A user agent is whatever software makes a web request on someone's behalf: a browser, a mobile app, a search engine crawler, an AI crawler, a monitoring script. It introduces itself in the User-Agent header.

A sample string, decoded

Mozilla/5.0 (iPhone; CPU iPhone OS 18_0 like Mac OS X) AppleWebKit/605.1.15
(KHTML, like Gecko) Version/18.0 Mobile/15E148 Safari/604.1
PartMeaning
Mozilla/5.0Historical prefix every browser sends
iPhone; CPU iPhone OS 18_0Device and operating system
AppleWebKit/605.1.15Rendering engine
Version/18.0 … SafariBrowser and version
MobileMobile layout

A crawler identifies itself differently, for example with a name such as Googlebot or GPTBot and a link to its documentation.

What analytics reads from it

  • Browser, operating system and device type for audience reports.
  • Device brand and model, where the string includes them (common on Android).
  • Declared bots and crawlers, which are separated from human traffic (bot, AI crawler).

Reduction and client hints

Long strings made browsers easy to tell apart, so Chrome now sends a reduced user agent: minor version numbers are frozen and platform details trimmed. Sites that really need the full version or device model can ask for User-Agent Client Hints (Sec-CH-UA headers). Expect less detail from the plain string over time.

Limits

  • It can be faked. A scraper can claim to be Chrome on Windows; a fake crawler can claim to be Googlebot. Verify crawlers by IP or reverse DNS and look at behaviour.
  • It is not a person. Many people share the same string, and one person uses several.

In TapCub, device brand and model in the audience report come from the user agent, and the cookieless visitor ID uses the user agent with version numbers removed, so a browser update does not create a new visitor.

Was this explanation clear?

We use your answers to fix and expand this page.

Xu An

Customer Experience Consultant

Writes about live chat, visitor conversations, and self-service, sharing practical ways to make customer communication clearer and more effective.

FAQ

Questions people ask

Short answers to the follow-up questions that come up most.

Still have a question?

Chat with the team behind TapCub — we usually reply within a few hours on business days.

What is my user agent?

It is the string your browser sends with every request. In a browser console, navigator.userAgent shows it.

Can a user agent be faked?

Yes. Any client can send any string, which is why bot detection also looks at behaviour, IP ranges and verification for crawlers that claim to be Googlebot or GPTBot.

What is user-agent reduction?

Chrome now sends a simplified string with frozen minor versions and less platform detail. Sites that need more can request User-Agent Client Hints.

Why does every browser string start with Mozilla/5.0?

History: early sites served better pages to Netscape (Mozilla), so other browsers copied the prefix to avoid being blocked.

See this number on your own site

Add one script tag for web and apps, and the first reports fill in within minutes.

See your data clearly. Find your growth.

Every click, backed by data. Install one line of code and see your first numbers in a minute.

No credit card · Free plans for analytics and chat · Cookieless analytics