Skip navigation

The Bluelinemedia Blog

If you find our web design agency blog articles interesting or useful, please feel free to include our content on your website (we just ask that you reference us and link to the original blog item).

How to detect user scrolling behaviour with JavaScript

Posted 16th February 2012 | Category: Web Development Blog

Tracking user behaviour can help you tailor your website to users' needs and keep them on your site. We've developed a script to track how far down a page a user scrolls before navigating away from that page, which should be especially useful for websites with longer pages. If for example you found that hardly any users actually scrolled to the very bottom of your web page you may then decide to either condense your content or adjust it so more users are likely to view it.