Web Autocapture Schema
This reference lists Autocapture event types and event property names for web when you use the Browser SDK 2. Use it when you need a stable contract for pipelines, partners, or validation.
For Autocapture setup steps, go to Autocapture. For full property descriptions with examples, go to Autocapture events and properties. For native iOS and Android Autocapture event properties, go to Mobile Autocapture Schema.
Shared conventions
- Event type values match what Amplitude stores as
event_type(for example,Page viewed). - Web event types don't use the
[Amplitude]prefix, except for[Amplitude] Network Request. - Property names appear in Amplitude exactly as listed here.
- Session events carry no additional properties beyond standard user and session context.
Machine-readable schema
json
{
"description": "Web Autocapture event types and event property names for the Amplitude Browser SDK 2.",
"documentation": "/docs/data/web-autocapture-schema",
"web": {
"sdk": "Browser SDK 2",
"events": {
"Session Started": { "properties": [] },
"Session Ended": { "properties": [] },
"Page viewed": {
"properties": ["Page Domain", "Page Location", "Page Path", "Page Title", "Page URL"]
},
"File Downloaded": {
"properties": ["File Extension", "File Name", "Link ID", "Link Text", "Link URL"]
},
"Form Started": {
"properties": ["Form Destination", "Form ID", "Form Name"]
},
"Form Submitted": {
"properties": ["Form Destination", "Form ID", "Form Name"]
},
"Element Clicked": {
"properties": [
"Element ID",
"Element Class",
"Element Tag",
"Element Text",
"Element Href",
"Element Position Left",
"Element Position Top",
"Viewport Height",
"Viewport Width",
"Page URL",
"Page Title",
"Element Hierarchy",
"Element Attributes",
"Element Aria Label",
"Element Parent Label"
]
},
"Element Changed": {
"properties": [
"Element ID",
"Element Class",
"Element Tag",
"Element Position Left",
"Element Position Top",
"Viewport Height",
"Viewport Width",
"Page URL",
"Page Title",
"Element Hierarchy",
"Element Attributes",
"Element Aria Label",
"Element Parent Label"
]
},
"[Amplitude] Network Request": {
"properties": [
"[Amplitude] URL",
"[Amplitude] URL Query",
"[Amplitude] URL Fragment",
"[Amplitude] Request Method",
"[Amplitude] Status Code",
"[Amplitude] Error Code",
"[Amplitude] Error Message",
"[Amplitude] Start Time",
"[Amplitude] Completion Time",
"[Amplitude] Duration",
"[Amplitude] Request Body Size",
"[Amplitude] Response Body Size",
"[Amplitude] Request Body",
"[Amplitude] Response Body"
]
},
"Web Vitals": {
"properties": [
"Page Domain",
"Page Location",
"Page Path",
"Page Title",
"Page URL",
"LCP (Largest Contentful Paint)",
"FCP (First Contentful Paint)",
"INP (Interaction to Next Paint)",
"CLS (Cumulative Layout Shift)",
"TTFB (Time to First Byte)"
]
}
}
}
}
Web (Browser SDK 2)
Configure which events Amplitude captures using AutocaptureOptions in the Browser SDK 2. Go to Autocapture (Browser SDK 2) for configuration options.
| Event type | When it fires | Typical event properties |
|---|---|---|
Session Started | Session begins on first page load or after inactivity. | None. |
Session Ended | Session ends due to inactivity or browser tab closing. | None. |
Page viewed | User loads or navigates to a page, including single-page app route changes. | Page Domain, Page Location, Page Path, Page Title, Page URL. |
File Downloaded | User clicks a link that triggers a file download. | File Extension, File Name, Link ID, Link Text, Link URL. |
Form Started | User initially interacts with a form element (text input, radio button, or dropdown). | Form Destination, Form ID, Form Name. |
Form Submitted | User submits a form. | Form Destination, Form ID, Form Name. |
Element Clicked | User clicks an interactive page element. | Element ID, Element Class, Element Tag, Element Text, Element Href, Element Position Left, Element Position Top, Viewport Height, Viewport Width, Page URL, Page Title, Element Hierarchy, Element Attributes, Element Aria Label, Element Parent Label. |
Element Changed | User changes a form element such as a dropdown or text input. | Element ID, Element Class, Element Tag, Element Position Left, Element Position Top, Viewport Height, Viewport Width, Page URL, Page Title, Element Hierarchy, Element Attributes, Element Aria Label, Element Parent Label. |
[Amplitude] Network Request | Application makes a tracked HTTP request (response codes 500–599 by default). | [Amplitude] URL, [Amplitude] URL Query, [Amplitude] URL Fragment, [Amplitude] Request Method, [Amplitude] Status Code, [Amplitude] Error Code, [Amplitude] Error Message, [Amplitude] Start Time, [Amplitude] Completion Time, [Amplitude] Duration, [Amplitude] Request Body Size, [Amplitude] Response Body Size, [Amplitude] Request Body, [Amplitude] Response Body. |
Web Vitals | Browser tab hides; Amplitude collects Core Web Vitals. | Page Domain, Page Location, Page Path, Page Title, Page URL, LCP (Largest Contentful Paint), FCP (First Contentful Paint), INP (Interaction to Next Paint), CLS (Cumulative Layout Shift), TTFB (Time to First Byte). |
Was this helpful?