---
title: "The browser object"
slug: "the-browser-object"
abstract: "Describes the composition of the browser portion of the context object."
---
# The browser object

The `browser` object is located within the [context object](https://doc.sitecore.com/discover/en/developers/discover-developer-guide/integrate-using-discover-rest-apis/events-data-model/the-event-object-model/the-context-object.html "The context object") and contains information about the user's browser or device they are using to access your site.

> [!important]
> You must include the `browser` object when sending events using the Events REST API.

The following table lists the attributes supported by the `browser` object:

| Name | Type | Description | Value |
| --- | --- | --- | --- |
| user_agent | String | Optional.The browser user agent. Must follow industry convention to ensure device and app_type can be detected automatically.ImportantIf you do not include user_agent, you must include device and app_type. | n/a |
| device | String | Optional.Device used to access the experience.ImportantComputed automatically by default if you include user_agent. | pctabletmobile |
| app_type | String | Optional.Type of app used to access the experience.ImportantComputed automatically by default if you include user_agent. | browserwebviewnative |
