Autocapture Events and Properties

This reference lists Autocapture event types and event property names for web when you use the Browser SDK 2. Use this reference to understand what Amplitude captures automatically, configure your tracking plan, or set up pipelines and validation.

This page is the canonical description of the web Autocapture contract. For a machine-readable version of the same contract, go to Web Autocapture Schema. For native iOS and Android Autocapture event properties, go to Mobile Autocapture Schema.

Web Autocapture conventions

  • Event type values match what Amplitude stores as event_type, for example Page viewed. Property names in bold (for example, Page URL) reflect how they appear in Amplitude.
  • Web event types don't carry the [Amplitude] prefix, with the single exception of [Amplitude] Network Request. Some property names do carry it. Amplitude generates those values automatically and marks them read-only.
  • Session events carry no event properties of their own beyond standard user and session context.
  • Configure which events Amplitude captures through AutocaptureOptions in the Browser SDK 2, or from Autocapture remote configuration without a code change.

Sessions

Session started

Captures when a user session begins, either on first page load or after a period of inactivity.

Session ended

Captures when a user session ends due to inactivity or the browser tab closing.

Page views

Page viewed

Captures each time a user loads or navigates to a page, including single-page app route changes.

File downloads

File downloaded

Captures when a user clicks a link that triggers a file download.

Form interactions

Autocapture captures forms that use the <form> tag.

Form started

Captures when a user initially interacts with a form element, including modifications to a text input, radio button, or dropdown.

Form submitted

Captures when a user submits the form.

Element interactions

Element clicked

Captures clicks on page elements.

The default configuration captures user interactions with interactive elements on your page. The default eliminates event noise such as clicks to highlight text and white-space clicks. The default captures the following:

  • All clicks on form elements: <a>, button, input, select, text area, label, and elements where contentEditable is set to true.
  • All clicks on video and audio elements.
  • Clicks on select elements that result in a change on your page (for example, a modal appearing) or navigation to another page. These elements include divs, spans, and headers.
  • All clicks on elements with an attribute of data-amp-default-track or a class of amp-default-track.
  • You can customize this configuration to add or remove selectors. You can choose whether Amplitude always tracks those selectors or only when the click results in a change to the page.

Element changed

Captures form element interactions, such as changes to a dropdown or entering text in a text box.

Network requests

Captures when the application makes a network request. By default, Amplitude tracks network requests with a response code in the range 500-599 and excludes requests made to any amplitude.com domain.

To enable network request tracking, set config.autocapture.networkTracking to true in your SDK configuration.

For more information about configuring network tracking, including advanced capture rules and filtering options, refer to Track network requests in the Browser SDK 2 documentation.

Web Vitals

Captures Core Web Vitals performance metrics when the browser tab hides.

Each metric includes a performance rating (good, needs-improvement, or poor) based on Web Vitals thresholds and timing data.

Was this helpful?

For AI agents: a documentation index is available at /docs/llms.txt. Append .md to any page URL for markdown, or send Accept: text/markdown.

On this page