Scroll Depth is a Google Analytics plugin that tracks how far users are scrolling. The plugin supports Universal Analytics, Classic Google Analytics, and Google Tag Manager.
Bug reports and code contributions are welcome. Please see contributing.md.
There's a test HTML file that mocks the Google Analytics functions and writes the GA Event data to the console.
If you have any questions you can find me on Twitter at @robflaherty.
0.5 (3/1/14): Added Pixel Depth option. Added option to turn off UserTiming. Removed test mode option.
0.4.1 (2/13/14): Fixed GTM firing double events
0.4 (12/23/13): Added support for Google Tag Manager
0.3 (11/21/13): Added throttling of scroll event callback for better performance.
0.2 (11/19/13): Added support for Universal Analytics.
0.1.2 (5/29/12): Added GA User Timing events to allow time tracking for scroll points.
0.1.1 (4/12/12): Added
opt_noninteraction option to GA event to avoid impacting bounce rate.
0.1 (4/7/12): Initial release.
Licensed under the MIT and GPL licenses.