Mouse movement dynamics
Records cursor paths, speed and acceleration.
In one line
Can track how your cursor moves on the page, to tell people from bots
Records cursor paths, speed and acceleration.
Movement curvature, jitter and click timing separate humans from bots and can identify repeat users. Coalesced events give up to 1000 Hz traces on gaming mice.
What it can and can't do
What the user does: You move or click the mouse on the page
It can
- Record cursor paths, speed and how it speeds up
- Time your clicks
- Tell humans from bots by how smooth the movement is
- Spot repeat visitors from their movement style
It cannot
- Follow your cursor outside the page
- Ask permission first
- See what you type
- Follow your hand when the pointer is not over the page
How it differs between platforms: Phones and tablets have no cursor, so touch movement is tracked instead.
Browser support
| Browser | Status | First version | Released | Note |
|---|---|---|---|---|
| Chrome | Supported | 58 | 2017-04-19 | None |
| Edge | Supported | 79 | 2020-01-15 | None |
| Firefox | Supported | 59 | 2018-03-13 | None |
| Safari | Supported | 18.2 | 2024-12-11 | None |
| Safari on iPhone | Supported | 18.2 | 2024-12-11 | None |
| Chrome on Android | Supported | 58 | 2017-04-25 | None |
| Samsung Internet | Supported | 7.0 | 2018-03-16 | None |
How a site asks for it
| API | mousemove, pointermove, getCoalescedEvents(), PointerEvent.pointerType |
| Browser compat keys | api.PointerEvent.getCoalescedEvents |
| How access is granted | none |
| What the user sees | Not listed |
| Needs a secure context (HTTPS) | No |
| Needs a user gesture | No |
| How long it lasts | Not listed |
| How to take it back | Not listed |
| Inside an iframe | Not listed |
Typical flow
- Listen to pointer events
- Record x, y, timestamp
- Compute velocity, acceleration, curvature
- Score human likelihood or identify
Data you get
What comes back: 60 to 1000 samples per second
Shape: event
| Field | Type | Unit | Range | Precision |
|---|---|---|---|---|
clientX | float | CSS px | 0 to viewport | subpixel on high DPI |
movementX | float | px | -1000 to 1000 | 1 px |
Technical limits
- Only inside page viewport
- No readout of pointer outside window except during drag/capture
The story
What it is
A script records cursor paths, speed and acceleration to judge if a human is moving the mouse.
For you
You never see it. Real people move a mouse with small wobbles and pauses. A page that records your movement can tell you apart from a bot, and sometimes tell you apart from other people.
For makers
Fraud and bot defense tools use mouse paths as a key signal, like in invisible CAPTCHAs. Marketers use the same data for heat maps that show where people look and click.
Where you see it
| Type | Example | Apps |
|---|---|---|
| security | An invisible CAPTCHA like reCAPTCHA v3 scores how human your mouse moves are, so most people never see a puzzle. | Google reCAPTCHA v3, Cloudflare Turnstile |
| shopping | A site uses heat maps of mouse movement to see which part of a page people hover over before buying. | Hotjar, Microsoft Clarity |
| shopping | A ticket seller blocks scalper bots that move the cursor in perfectly straight lines. | Ticketmaster |
| banking | A bank adds mouse habits to its fraud score at login, quietly checking you move like usual. | None named |
| games | A browser game catches aim bots that move the cursor in robotic jumps. | None named |
| ads | An ad system checks that clicks on ads came from natural mouse movement, so advertisers are not charged for bot clicks. | None named |
| analytics | A product team watches session replays of cursor movement to find a confusing button. | FullStory, Microsoft Clarity |
Risks
- Behavior is personal
- Replay tools can see a lot
- Used for tracking
Good uses and abuse
Legitimate uses
- Games and drawing tools, accessibility
Known abuse
- Behavioral CAPTCHAs (reCAPTCHA v3, Turnstile, Akamai sensor) and user identification
Scores
| Score | Value | Meaning |
|---|---|---|
| Sensitivity | 2 of 5 | How revealing the data is |
| Utility | 3 of 5 | How useful it is to honest apps |
| Friction | 0 of 5 | How much the user has to do |
| Fingerprint bits | 3 | Rough identifying entropy, when known |
History
- 2019-01, Chrome: PointerEvent getCoalescedEvents ships (Chrome 58 originally)
- 2022-01, Firefox: Firefox adds getCoalescedEvents (version 59)
Related capabilities
Related
- Keystroke dynamics. Can time your key presses to learn your typing rhythm
- Bot detection and CAPTCHA signals. Can combine many browser and network clues to guess if you are a bot
Sources
How well checked: Based on official documentation.