Hi All,
Is there an existing lib for logging user activity to cube? Scrolling, mouse moving, mouse clicking etc. Or perhaps someone has a starting point?
I've been googling and searching stackover flow, but I keep getting links to paid analytic programs which aren't quite what I'm after.
I'm tempted to start building something myself, but the more I think about it, the harder I realise it'll be and I'd be better off using some existing lib.
What I'm thinking.
I'm assuming I could listen on the body element and capture all mouse events that bubble up.
It'd be nice to batch and minify data before emitting. As in remove mode or frequently occurring data.
If a user scrolls I don't need all the scroll events, only the meaningful ones where they start, accelerate or stop.
Could emit batch ever X number of events or X seconds. And send final batch onbeforeunload.
Spotted cube & cubism a while back but never had the chance to play with it.