Tracking all page events, without predefining them?

92 views
Skip to first unread message

LPG

unread,
Jul 27, 2015, 7:37:44 PM7/27/15
to Snowplow

With snowplow it would be useful to track all events that happen in a page, without coding them in the client tag. I know it would be heavy for the database, but it would be useful for small scale debugging and experients.

Is there a quick way to do this? I don't see it in the docs.

Perhaps one could set up a single master "structured event" that took all the element's  (button) id and class selectors and submitted it to tracker? That would be sufficient for my purposes.

Alex Dean

unread,
Jul 28, 2015, 3:27:45 AM7/28/15
to Snowplow
Hey Lucas,

The JavaScript Tracker already has some auto-capture capabilities:
  1. Page dwell time - https://github.com/snowplow/snowplow/wiki/2-Specific-event-tracking-with-the-Javascript-tracker#enableActivityTracking
  2. Clicks - https://github.com/snowplow/snowplow/wiki/2-Specific-event-tracking-with-the-Javascript-tracker#link-click-tracking
  3. Form input activity and form submits - https://github.com/snowplow/snowplow/wiki/2-Specific-event-tracking-with-the-Javascript-tracker#enableFormTracking

For everything else - yes you could certainly send them in using structured events. If there are specific families of DOM events which the above misses but which you think would be useful for analytics/debugging, please create a ticket in the tracker for discussion:

https://github.com/snowplow/snowplow-javascript-tracker/issues/new

Cheers,

Alex



--
You received this message because you are subscribed to the Google Groups "Snowplow" group.
To unsubscribe from this group and stop receiving emails from it, send an email to snowplow-use...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Co-founder
Snowplow Analytics
The Roma Building, 32-38 Scrutton Street, London EC2A 4RQ, United Kingdom
+44 (0)203 589 6116
+44 7881 622 925
@alexcrdean

LPG

unread,
Aug 7, 2015, 12:49:15 PM8/7/15
to Snowplow
Thanks Alex, that was helpful. 

The docs you pointed me to on: "Clicks" is what I'm looking for.
However it seems it only works for <a>  tags? 

No clicks on other elements ( such as <button>  ) will be tracked. Is that correct?

Alex Dean

unread,
Aug 7, 2015, 1:24:17 PM8/7/15
to Snowplow
Yes it's tracking link clicks rather than all clicks - create a ticket to suggest expanding this and we can definitely explore that...

A

--
You received this message because you are subscribed to the Google Groups "Snowplow" group.
To unsubscribe from this group and stop receiving emails from it, send an email to snowplow-use...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages