Skip to content

Commit 9946ff1

Browse files
committed
feat(develop): Allow to pass user_agent as browser context
1 parent d44f7d2 commit 9946ff1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

develop-docs/sdk/data-model/event-payloads/contexts.mdx

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -402,6 +402,12 @@ The `type` and default key is `"browser"`.
402402

403403
: _Optional_. Version string of the browser.
404404

405+
`user_agent`
406+
407+
: _Optional_. The user agent of the browser. If this is set, `name` may also be omitted (as it will be derived from the user agent).
408+
409+
- Example: `"Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36"`
410+
405411
## GPU Context
406412

407413
GPU context describes the GPU of the device.

0 commit comments

Comments
 (0)