News for hackers. Stuff that matters.
Re:Tracking Scroll Depth with jQuery and Google Analytics by trhaynes on Sunday April 15, 2012 @02:55PM (#3844340)
Tracking scroll depth is interesting, but percentage isn't all that helpful. The number of comments on a blog post will mess with the data, for example (you won't be able to reliably compare Post A to Post B).

What might make more sense is tracking who scrolled down to the end of the .blog-post div, to the end of the .comments div, and to the end of the footer. Or whatever makes sense for the content on your page(s).

Re:Tracking Scroll Depth with jQuery and Google Analytics by robflaherty on Sunday April 15, 2012 @05:05PM (#3844748)
All engagement metrics are pretty loose. Scroll depth percentage doesn't tell the whole story but to the degree that scroll tracking is useful, I think percentage provides a simple, document-independent metric.

Btw, tracking scroll points for specific DOM elements is one of the plugin options, so for instance you could track the end of the .comments div as you mentioned.

Re:Tracking Scroll Depth with jQuery and Google Analytics by onesecond on Sunday April 15, 2012 @04:26PM (#3844624)
Yes there are more exciting options. take a look at pagealizer reports http://www.pagealizer.com/?page=report&type=demo and alenty reports http://www.alenty.com/en/demo/display-ads
Re:Tracking Scroll Depth with jQuery and Google Analytics by hu_me on Sunday April 15, 2012 @11:19AM (#3843846)
nice work. this has become a popular topic in GA circles with single page sites becoming popular and single page visitors increasingly entering directly on to a blog post and leaving and GA showing them as a bounced visitor.

Some other solutions I like http://www.savio.no/blogg/a/114/tracking-content-scrollers-s...

http://cutroni.com/blog/2012/02/21/advanced-content-tracking...

Re:Tracking Scroll Depth with jQuery and Google Analytics by dudus on Sunday April 15, 2012 @05:52PM (#3844888)
Or you can track Scroll Depth without jQuery. https://github.com/CardinalPath/gas
Re:Tracking Scroll Depth with jQuery and Google Analytics by erso on Sunday April 15, 2012 @07:53PM (#3845207)
The number of responses here talking about how cool this is disturbs me.

Yet another reason to use ScriptNo (Chrome).

Re:Tracking Scroll Depth with jQuery and Google Analytics by robflaherty on Sunday April 15, 2012 @08:10PM (#3845248)
I think only one person said it was cool :) What is disturbing about it? Do you feel it's a privacy violation?
Re:Tracking Scroll Depth with jQuery and Google Analytics by navs on Sunday April 15, 2012 @06:03PM (#3844924)
Very cool. Makes me wonder, what other valuable visitor metrics am I missing out on?
Re:Tracking Scroll Depth with jQuery and Google Analytics by rollypolly on Sunday April 15, 2012 @12:18PM (#3843972)
What can be done about Noscript users in that regard? Image bugs?
Re:Tracking Scroll Depth with jQuery and Google Analytics by hu_me on Sunday April 15, 2012 @01:53PM (#3844187)
you could try using server side GA. which try to mimic the js script using php. this is the most fleshed out version I know http://code.google.com/p/php-ga/
Re:Tracking Scroll Depth with jQuery and Google Analytics by jQueryIsAwesome on Sunday April 15, 2012 @01:54PM (#3844195)
For statistical purposes all the people with JS enabled should be enough; but just for the sake of the technical challenge: 1) Link position, if they clicked a link under the first 1000 pixels of the page they probably scrolled. 2) Something similar but more complex can be done with images on CSS hover effects (using the webserver access logs) BTW, using something similar to this together with the "media" attribute on LINK tags allows you to see witch CSS file they are using, and therefore screen resolution.
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?
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).