The Atatus browser agent instruments web applications and reports what real visitors experience: the pages they open, the actions they take, the requests that fail, the errors they hit, and a replay of the session when you enable it. The agent is a set of small packages rather than one library, so you install only what you use. This page explains what it collects and which package you need.

What the agent collects

Some signals are on by default and others you turn on:

Packages

Install the entry package for what you need: @atatus/browser-core, @atatus/browser-rum-core, @atatus/browser-worker, and @atatus/js-core are internal dependencies. They are installed for you, and you do not import them directly.

How the agent loads

The agent exposes two globals, ATATUS_RUM and ATATUS_LOGS. Initialize each one once, as early as your application starts, so recording begins before your first component renders:

Next steps

Work through these in order when you are setting up for the first time: