Skip to Content

The Next Big Thing in Analytics: Tracking Your Cursor’s Every Move

With a more fine-grained proxy for gaze direction, advertisers are about to get one step closer to what you’re actually thinking

Media, search engines, advertisers and social networks have been tracking what you click since the birth of the web, but this measurement yields an incomplete picture of what you’re actually doing when you browse. What marketers, advertisers and the analytics junkies who serve them would really like to know is what you’re thinking, and the gold standard for determining that is gaze-tracking studies, which can only be conducted in the laboratory.

Now, researchers at Microsoft have come up with an easy way to track the gaze direction of an unlimited number of remote users’ attention on any website, with nothing but a standard web browser. They accomplished this feat (pdf) with a single Javascript that weighs in at less than 1k and can be run invisibly on any page without slowing its load time or your browser’s performance.

The key to their innovation is that they track where your cursor is at any given moment. It turns out there’s a high correlation between what we look at on webpages, especially search results, and where we place our mouse cursor. Even more intriguing: tracking cursor position provides information about the relevance of search results that is richer than simple click data.

The researchers’ trial of their script was conducted only on searches coming from people who worked at Microsoft, so it’s not clear if anyone has yet implemented this on a publicly-accessible website. When they do, the implications could be profound.

For example, much advertising on the web is impossible to value except through the blunt instrument of click-throughs. This makes it difficult to measure the effectiveness of banners, brand advertising and other forms of sponsorship that are about building mindshare rather than inducing users to click. Tracking where a user’s cursor hovers – in other words, where their gaze falls – could allow media buyers, for the first time ever, to evaluate who is really looking at their ads, and for how long. And we’re not talking about a sampling exercise, in which they evaluate a few users and extrapolate a larger trend; we’re talking about measuring the behavior of every user.

The code that makes this analytics technique possible is so lightweight there’s no reason it couldn’t be implemented as a standard part of any analytics package. By recording only events in which a user’s cursor was still for more than 40 milliseconds, the inventors of the technique were able to reduce the stream of recorded events to 2 or 3 kilobytes of information that could be sent off when a user navigated away from the page. Recording these pauses, rather than a continuous stream of cursor information, yielded a good approximation of where the user’s cursor had been.

Deep Dive


Uber Autonomous Vehicles parked in a lot
Uber Autonomous Vehicles parked in a lot

It will soon be easy for self-driving cars to hide in plain sight. We shouldn’t let them.

If they ever hit our roads for real, other drivers need to know exactly what they are.

stock art of market data
stock art of market data

Maximize business value with data-driven strategies

Every organization is now collecting data, but few are truly data driven. Here are five ways data can transform your business.

Cryptocurrency fuels new business opportunities

As adoption of digital assets accelerates, companies are investing in innovative products and services.

Mifiprex pill
Mifiprex pill

Where to get abortion pills and how to use them

New US restrictions could turn abortion into do-it-yourself medicine, but there might be legal risks.

Stay connected

Illustration by Rose WongIllustration by Rose Wong

Get the latest updates from
MIT Technology Review

Discover special offers, top stories, upcoming events, and more.

Thank you for submitting your email!

Explore more newsletters

It looks like something went wrong.

We’re having trouble saving your preferences. Try refreshing this page and updating them one more time. If you continue to get this message, reach out to us at with a list of newsletters you’d like to receive.