robflaherty/jquery-scrolldepth — pull request #6 by beghbali (2012-09-10 21:43:42+00:00)
Title: Added element expansion + made google analytics optional

I needed the elements list to expand to all the dom elements matching the selectors (e.g. ['section'] should match all

tags) and also have own handler (I didn't need to log to google analytics but rather store data in redis locally). This pull implements the selector expansion and allows an eventHandler to be passed in for those that need to handle the scrollDepth events themselves.