-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add "Rage Clicks" #8300
Comments
We plan to hide the breadcrumbs from the UI for a bit while we figure out the ideal detection logic to avoid alarm on false positives: |
Hmm, I wonder if Also note that tripple clicking in a text field actually selects all content/the paragraph, so this would also def. result in a false positive 😅 |
@mydea Since there's some unknown/disagreements with the timings, let's add this as an experiment. |
This PR reworks the slow click detection to accommodate rage click detection as well. This required substantial changes, as we need to keep track of stuff much more. Now, we keep a list of clicks that come in in a new class. We register a single set of listeners (mutation observer, click listener, scroll listener), and then try to route things to the correct clicks as much as possible. Any clicks within 1 second count as "multi click", so are not considered for slow clicks at all, but counted on the first click. After a second, a click (even on the same element) will be treated as a "new" click. ref #8300
We'll close this through resolving: #8379 |
The Replay SDK should track "rage" clicks (defined as 3 or more clicks within 1 second).
The breadcrumb should be similar to slow click except:
category:
ui.rageClick
and data = url, # of clicks, time (?)Let's also add
metric: true
to the event (example] so that it gets logged in the backend.The text was updated successfully, but these errors were encountered: