Three ways a click says something's wrong
This runs automatically. Nothing on this page tells the agent what counts. It's on by default on the Pro and Pro+SPA browser agent (init.user_actions.enabled), watching every click on every page.
Rage click: the same element gets 4 or more clicks, and the first and the fourth land under a second apart.
Dead click: a click on a button or link, then 2 seconds in which nothing on the page changes: no DOM update, no request, no navigation.
Error click: a click on a button or link, then a JavaScript error inside that same 2-second window, thrown or reported with noticeError().