Guide

How do I record dead clicks, abandoned forms, and failed requests?

Install a behavior SDK that detects this friction for you. With Probie that is one script tag on the web, the @probie-dev/react-native package in Expo, or the Swift package, each carrying the widget token from your project's Integration page. On the web nothing has to be tagged per button: the collector reads the DOM and what follows a click, so dead clicks, rage clicks, form retries and abandons, stuck loading states, scroll locks a closed dialog left behind, and failed requests are recorded on fixed rules, and nothing has to throw an exception first. In Expo the provider captures JavaScript errors, unhandled rejections, and network failures on its own, while taps, forms, and screens are hooks you add to the screens you care about. In Swift every signal is explicit, including errors and failed requests.

Capture works without a repository: a project with none still gets sessions and triage, and only pull requests need the GitHub App. A public project can be inspected with no account and no install at all.

What you install

Web
One script tag with your widget token, on every page you want watched. Clicks, forms, stuck states, failed requests, and JavaScript errors are captured from the moment it loads. One bundle also renders a "Report an issue" button; the other is the collector on its own. Web install
Expo and React Native
npx expo install @probie-dev/react-native and the provider at the root of your app. JavaScript errors, unhandled promise rejections, network failures, and app lifecycle are captured on their own. Taps, forms, and screens are opt-in hooks. Add @react-native-async-storage/async-storage, an optional peer, if you want the anonymous install id to survive cold starts. Expo install
Swift
The package for macOS 12 and iOS 15 and later. Instrumentation is explicit: mark screens and taps, wrap the forms you care about, capture errors in catch blocks, and build URLSession with the instrumented configuration. Swift install
Server events
Optional. Outcomes that happen on your backend, such as a signup or a payment, sent with a per-project secret key. You name these events; they are not detected for you. Server events

Every SDK posts to the same ingest endpoint, but the event types differ by platform. The web collector sends all of them:

pageview, click, rage_click, dead_click, scroll_lock, stuck_overlay, stuck_loading, form_submit, form_retry, form_abandon, js_error, fetch_error, page_leave

The Expo package sends the eight that exist outside a browser:

pageview, click, rage_click, form_submit, form_abandon, form_retry, fetch_error, js_error

dead_click, scroll_lock, stuck_overlay, stuck_loading, and page_leave are web only. Each is read from the DOM or from page lifecycle, neither of which a native app has. The Swift package is a port of the Expo one, so it covers the same ground: screens, taps, and forms are explicit, Swift errors arrive as js_error, and failed requests come from the instrumented URLSession.

The rule behind each event

These are the web collector's detectors. Each has a fixed threshold, and each one is written to miss a real problem rather than report one that is not there. A busy page whose DOM changes constantly can hide a dead click. Expo applies the same thresholds to the taps and forms you hook up: three taps on one control within a second, two submits of one form within ten seconds, a form that was touched and never submitted, and a request that answers 400 or higher or fails outright.

dead_click
A click on something that looks interactive, followed by one second with no DOM change, no hash or route change, no outbound request, and no navigation the browser handles itself. Native inputs, selects, textareas, media, and real links are excluded, and at most ten are recorded per page load.
rage_click
Three or more clicks on the same element. The run resets after about a second with no further click on it.
form_retry
Two submits of the same form within ten seconds.
form_abandon
A form that received focus and was never submitted. It is decided when the page goes away.
fetch_error
A fetch or XMLHttpRequest that answers 400 or higher, or fails with a network error or a timeout. Requests your own code aborted are excluded, since component cleanup routinely aborts stale requests.
stuck_loading
A control you clicked went busy, through disabled or aria-busy, the network went quiet, and the control never recovered.
stuck_overlay
A panel or dialog that appeared right after an interaction and stayed on screen through the dismissal gestures it offers: an outside click, Escape, or its own close control.
scroll_lock
The page cannot scroll, with overflow: hidden on the body and no modal on screen. The usual cause is a dismissed dialog that left its scroll lock in place.

pageview, click, form_submit, js_error, and page_leave carry no threshold; they are recorded as they happen. page_leave also carries the visible time on the route and the furthest scroll depth.

Check that events are arriving

Open Insights in the dashboard. The widget health card reads "Waiting for events" until the first one lands and "Widget connected" afterwards, with the time of the last event. On the web a fresh install reports within about 15 seconds of someone opening a page, because the script tag sends a pageview as soon as it loads. Opening an Expo or Swift app sends nothing by itself, so trigger an instrumented event first: a screen wired to the screen hook, a control wrapped for taps, or in Expo an error or a failed request, which the provider captures on its own. The Recheck button asks again.

Events leave the page in batches of at most 100: every 12 seconds, and once more when the page goes away, where the last batch is sent with sendBeacon.

What the web collector does not read

The web collector is built to see friction without reading content. The native SDKs follow the same rules, with one addition: they store an anonymous install id. What each platform keeps, and for how long, is under Questions below.

Input values
Never read. A form event records that a form was retried or abandoned, not what was typed into it.
Element labels
Hashed before they leave the page, so the same button is recognizable across sessions without its text being stored.
URLs
Fragments are always dropped. Query strings are dropped by default, keeping only utm_* campaign tags. The one exception is opt-in: a project that sets data-capture-query="1" on the script tag, or captureQuery in the Expo SDK, keeps the whole query string, so turn it on only for URLs you know carry no personal data.
Cookies
None set. In the browser the session id, the sampling decision, and any ids you pass live in sessionStorage for the browser session.
Sampling
The data-sample attribute records a share of sessions. The roll happens once per session, so a recorded session is captured whole.
User and group ids
Sent only when your code calls identify or group, or includes them in a server event. Probie stores the id you pass and nothing else about the person, so prefer an internal id over an email address.

The full list is in What the SDKs capture.

What Probie does with the events

  • A detector flags a session, and a model reads the session trace to decide whether it shows a real problem. Sessions it judges to be noise open no issue.
  • Sessions that hit the same problem are grouped into one issue with the evidence attached.
  • For a project connected through the GitHub App, a coding agent in an isolated container writes the change and a regression test, and a reviewer checks the diff against the acceptance criteria before the pull request opens.
  • A person on your team reviews and merges. A behavior baseline per route flags the route if the same friction returns.

Probie does not verify individual fixes after merge. The route baseline is the check that the friction stayed gone.

The roles in that pipeline are listed in How a fix is made.

If you have not installed anything yet

A free inspection drives a real browser through your public pages and reports the friction it can reproduce without real users: controls that do nothing, fields that drop input, failed requests the screen never mentions, work with no visible acknowledgment, and slow first responses. It needs no account and no install.

Questions

Do I have to tag every button?

No. On the web the detectors read the DOM and what happens after a click, so friction events need no instrumentation of your own. track is for the named outcome events you choose, such as a completed signup or a purchase. In Expo, taps, forms, and screens are hooks you place, while JavaScript errors, unhandled rejections, and network failures are captured by the provider. In Swift nothing is automatic: mark screens and taps, wrap the forms you care about, call Probie.captureError in catch blocks, and build URLSession from Probie.instrumented so failed requests are recorded.

Does this set cookies or store identifiers?

No cookies are set on any platform and input values are never read. What is stored, and for how long, differs between the browser and a native app.

Web
The session id, the sampling decision, and any ids you pass to identify or group are kept in sessionStorage, so they last for the browser session and clear when it ends. Nothing goes to localStorage, and no identifier outlives the session.
Expo and React Native
The SDK keeps an anonymous install id and the session id in AsyncStorage, which is an optional peer: install @react-native-async-storage/async-storage to get it. With it, the install id is generated on first run and survives cold starts until the app is removed or its storage is cleared. Without it the SDK falls back to an in-memory store, so a new install id is generated on every cold start. A cold start also starts a new session by default; set idleTimeoutMs to resume the previous session when the app reopens inside that window. The id you pass to identify is held in memory only, and reset clears it and starts a new session without changing the install id.
Swift
The same two ids, the anonymous install id and the session id, kept in UserDefaults, which needs no extra dependency, so the install id persists across launches until the app is removed. The package ships a privacy manifest that declares the UserDefaults use and no tracking.

Probie generates the install and session ids at random. No device or advertising identifier is read, and element labels are hashed before they leave the device.

Can I record only a share of sessions?

Yes. Set data-sample on the script tag to a number between 0 and 1. The roll happens once per session and is kept in sessionStorage, so a recorded session is captured from start to finish rather than in fragments. track events are sampled with the session, so conversion counts are sampled at the same rate.

Does this work without a GitHub repository?

Yes. A project with no connected repository gets session capture and triage: the events, the grouped issues, and the evidence. Pull requests are the part that needs the GitHub App.