Web Analytics Key terms

What is a user agent?

Image of Iron Brands

Published on Mar 31, 2023 and edited on May 4, 2023 by Iron Brands

A user agent is a string of code used by a user's web browser to identify itself to a web server. User agents are typically sent as part of the HTTP requests and provide information about the user’s browser and operating system.

Web servers typically use user agents to offer tailored content to users based on the capabilities of their browsers and operating systems. For example, a web server might use the information provided by a user agent to serve different versions of a web page to users with other browsers.

User agents are also used by web analytics tools to collect information about the browsers and operating systems that users are using to access a website. This information can be useful for optimizing the user experience.

GA4 is complex. Try Simple Analytics

GA4 is like sitting in an airplane cockpit without a pilot license

Start 14-day trial