# Autocapture & data attributes
> What OakData captures automatically, and the HTML attributes and classes that opt elements in or out of capture and replay.
Source: https://oakdata.co/docs/sdk/autocapture
---
With `autocapture: true` (the default), OakData records interactions without per-element instrumentation. It listens for clicks, form submits, input changes, and copies at the document level, resolves the meaningful target (walking up to the nearest link, button, or element with a `role`), and attaches a structured descriptor of that element to the event.
## What gets captured
| Name | Type | Description |
| --- | --- | --- |
| `$click` | auto | Every click. Includes the element, its ancestor chain, coordinates, and modifier keys. |
| `$rage_click` | auto | Emitted alongside $click when three or more clicks land in the same spot within a second. |
| `$dead_click` | auto | A click that caused no DOM mutation and no navigation within 300ms - a sign of a broken control. |
| `$outbound_click` | auto | A click on an anchor pointing to a different host. |
| `$form_submit` | auto | A form submission, with a summary of each field. Password fields are always excluded. |
| `$input_change` | auto | A change on an input, select, or textarea. The value is masked unless input capture is enabled. |
| `$copy` | auto | Text copied to the clipboard, with the selection length and a short preview. |
| `$fingerprint` | auto | Emitted once per device, when the tiered hardware fingerprint first resolves (or drifts after a driver update). The value is also cached, so later visits carry it from their very first event. |
> **Environment signals, no permissions** Alongside device context, events carry a small set of permissionless environment signals: OS appearance and reduced-motion preferences, the full language list, storage quota (rounded to GB), and media device counts. None of them trigger a browser prompt; they feed the [profile matching confidence score](https://oakdata.co/docs/concepts/identity) to help distinguish different people on identical hardware.
> **Input values are not captured** Autocapture records element *structure* (tag, id, classes, text, selector), not what users type. Input and form values are masked unless you explicitly enable input capture, and `` is never recorded.
## Opting elements out: data-oak-ignore
Add `data-oak-ignore` to any element to exclude it - and everything inside it - from autocapture. Clicks, changes, submits, and copies within the subtree are dropped.
**ignore.html**
```html
Order total: $4,210.00