JS Event Emit User Activity

51 views
Skip to first unread message

Alexis Hope

unread,
Dec 15, 2014, 11:31:44 AM12/15/14
to cube...@googlegroups.com
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.

Sean Canton

unread,
Sep 25, 2015, 5:03:01 PM9/25/15
to cube-user
Thanks for heads up about Cubism. Trying to do awesome with lots of sensor events.

If you're still trying to aggregate user event metrics, I recently came across hotjar.com, which has a nice free product. 
Reply all
Reply to author
Forward
0 new messages