Kale Partner Group
All insights
Design

Software that notices when someone is stuck

Most tools that spot a frustrated user tell an analyst about it a week later. We built one that tells the screen, in the moment, on the visitor's own machine, and sends nothing anywhere.

Kale Partner GroupNovember 24, 20265 min read
The Kale Sense cursor readout on our homepage: corner brackets around the pointer, a burst of small squares from three quick clicks, and a label reading frustrated, shake

Move your mouse around this page. The small brackets that follow it are Kale Sense, a detector we wrote that runs in your browser. Shake the pointer, click the same spot three times, or circle a button without pressing it, and the readout changes. Press the x-ray button in the menu to see what it thinks is going on.

It is a small thing to look at. The idea behind it matters more for the systems we build for clients: a screen that can tell when the person in front of it is stuck, and help before they give up or pick up the phone.

Everyone else tells the analyst

Spotting frustration from behaviour is not new. Microsoft Clarity flags rage clicks, dead clicks, excessive scrolling and quick backs. FullStory, Hotjar, LogRocket and Contentsquare all score frustration across recorded sessions. Datadog defines a rage click as more than three clicks within a second.

Almost all of them work the same way. They record the session, send it to their servers, and show the result to a product team later. That is useful for finding a broken page. It does nothing for the person who hit the broken page, and it means a copy of their session now lives with a third party.

ApproachWhen it actsWhere the data goes
Session replay and analytics (Clarity, FullStory, Hotjar, LogRocket)Afterwards, for the teamRecorded and sent to the vendor
Real-time alerts (Contentsquare, Quantum Metric)During the session, for the teamSent to the vendor
In-session recovery (Glassbox Rapid Response)During the session, for the userSent to the vendor, replay link to agents
Kale SenseDuring the session, for the userStays in the browser, held for seconds, never sent
How the common tools handle frustration signals

What it reads, and what it never reads

Kale Sense reads positions and timings: where the pointer goes and how fast, where clicks land, how the page scrolls, and the rhythm of typing. For a click it notes plain facts about the element, such as whether it is a button and whether it was disabled. For typing it notes only whether a key added a character or deleted one.

It never reads text on the page, what was typed into a field, which key was pressed, or the screen itself. It keeps about twenty seconds of these events in memory, works out a reading ten times a second, and throws the rest away. There is no server, no cookie and nothing to consent to, because nothing is collected.

The cursor readout at rest: four corner brackets, two small orbiting squares, and a label showing neutral with all scores near zero
At rest. The four numbers are the current scores for frustrated, confused, lost and away

Four readings, each from plain rules

  1. Frustrated

    The pointer thrown back and forth. Three or more clicks in one spot within a second. Clicks on a disabled button. Clicks on things that do nothing. A field deleted and retyped, twice.

  2. Confused

    The pointer circling one spot, or hovering around a button for several seconds without pressing it. On a call to action it also keeps a timer: resting on it for a few seconds, or coming back to it three or four times without pressing, reads as hesitating on that CTA.

  3. Lost

    Scrolling up and down and back to the same places, opening section after section, with nothing that leads anywhere.

  4. Away

    The tab hidden, the pointer out of the window, or no input for a while. Away is never treated as a problem to fix.

These are rules, not a trained model, and we chose that on purpose. Every reading can be traced to the behaviour that caused it, which is what a compliance team will ask for. A model trained on real, consented sessions can come later, once there is data that earns it.

What the research supports, and what it does not

81.7%accuracy inferring negative emotion from cursor distance and speed in a controlled studyHibbeln et al., MIS Quarterly, 2017
32 to 48%accuracy predicting states such as frustration from mouse features aloneAzcarraga and Suarez, ICCE 2011
3+clicks within one second, the point at which a common definition calls it a rage clickDatadog, browser frustration signals

Cursor behaviour does carry signal. Hibbeln and colleagues found that negative emotion makes pointer paths longer and slower. The same study found the effect much weaker in the field than in the lab, and other work shows mouse data alone is a modest predictor of mood. So we do not claim to read emotions. We claim something smaller and more useful: some patterns mean a person is probably stuck, and when they appear the screen can offer a way out.

Where it earns its place

  • Financial services: a loan or account application where someone keeps clicking a disabled Continue button. Point to the field that is holding it, in plain words, instead of waiting for the abandoned-form report.
  • Manufacturing: quality and shop-floor screens. Count how often each screen reads frustrated or lost, per screen and never per person, and fix the worst screens first.
  • Healthcare: front-desk and billing screens inside software the practice does not own. A struggling user gets the next step or the checklist at the moment they need it.
  • Any website: when a visitor reads as lost, offer the two pages most people want. That is what this site does now.

Why on-device matters for regulated work

Session replay has drawn legal attention. In Javier v. Assurance IQ, the Ninth Circuit held that consent under California's wiretap law has to come before a session is recorded, not after, and a wave of suits followed. A later Ninth Circuit ruling, Popa v. Microsoft, dismissed one such case, so the risk is litigation rather than settled liability. France's data regulator has said session replay needs consent. In healthcare, guidance on tracking technologies on health websites still applies in part after a 2024 court ruling narrowed it.

Each of these turns on the same thing: behaviour captured and sent to someone else. A detector that keeps a few seconds of positions in memory and sends nothing avoids that problem by design. It is the same principle as the rest of our work. The data stays on your machines, and the system does its job there.

Others are working on this too

We are not the only ones who think the browser is the right place for this. Libraries.dev publishes a mood recognition model for React that also runs on the device, and it shaped how we thought about the problem. We wrote Kale Sense from scratch as a small set of rules we can explain line by line and adapt to each client's screens.

If your team has a screen where people get stuck, and you would rather fix it than record it, we would like to hear about it.

Bring us the workflow

The first call is about your operation, not our services. Bring the thing that costs the most to get wrong.