vigetlabs / trackomatic

A high-performance tracking enhancement for Google Analytics.
Apache License 2.0
33 stars 4 forks source link

Measuring visibility time (in seconds) #36

Open vilavb opened 8 years ago

vilavb commented 8 years ago

Hi there!

Is there any way to measure and report the amount of time a DIV with a specific id/class was visible for in the viewport in total, cumulatively? ( so the div may scroll in and out of view during the entirety of the interaction) It's sort of like how long in seconds was an ad viewed for in total ..

awavering commented 8 years ago

Hey Vilav,

That's a great question - trackomatic can't do this, but I've heard good things about Rob Flaherty's Screentime plugin. The main hitch is that jQuery is required, but that's not a problem for most people.