micnews / condor Goto Github PK
View Code? Open in Web Editor NEWTrack what a user does on a site in csv-format
License: Other
Track what a user does on a site in csv-format
License: Other
When a form is submitted we want to track that
that way if we need to track page views or actions tied to single user we can?
We want to batch multiple events into one POST request, update the example to reflect this
Add a close
event when the browser window gets closed
There's sometimes tests failing, even though they (sometimes) pass when ran manually.
In the example we're now batching up data and sendning multiple events in one POST request.
However, we also want to be able to set correct timestamps on each event in the sever, something that isn't duable when we batch data up like this.
They're not only failing, they don't seem to be run correctly at all. I need to investigate what's up with that.
In some cases we will want to track arbitrary data, this could be contained in a data attribute (ie: data-trackable="..."
).
We need to figure out a way to make sure that other people can't send in bogus data to our tracking stream.
Currently we can't push custom events.
My idea is to add a "trackable-custom" event type and expose a condor.log()
method.
For example, after a Facebook share is completed:
function onShare() {
// push trackable-custom event
var trackableType = 'fb-share'
var trackableValue = 'articleId:12345'
condor.log(trackableType, trackableValue)
}
which would post:
trackable-custom,1280,855,0,4107,...,fb-share,articleId:12345
I'm seeing quite large values for duration, i figure because people leave tabs open,
so what would be more meaningful is how long someone actually spends looking at a page,
therefore we should have visible-duration column, which is a timer that would be paused when the page is hidden.
as discussed here: micnews/megafunnel#7
there needs to be some support for a custom column? maybe just pass a string option in when creating condor?
mouse movements can provide insight about what the user is looking at
For example:
https://www.luckyorange.com/heatmaps.php
We want to unite initial visibility
, focus
and blur
events into a visibility
event.
The initial visibility would then be a visibility
that happens at the offset 0.
For this to work a polyfill for older browsers would need to be created.
The ability to create a scroll distance heatmap would be much easier if the end
event contained the max scroll distance.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.