Re:Tracking Scroll Depth with jQuery and Google Analytics
by ahall on Sunday April 15, 2012 @06:19PM
(#3844972)
How does this work with pages with infinite scroll?
[ Parent
| on HN ]
Re:Tracking Scroll Depth with jQuery and Google Analytics
by robflaherty on Sunday April 15, 2012 @07:42PM
(#3845174)
I haven't tested it with infinite scroll but essentially it'll be a race. If the user can scroll to the bottom of the page before infinite scroll is able to load new content, the 100% event will fire. Otherwise it'll just register the previous scroll event (75% or a specified DOM element).