Coder Social home page Coder Social logo

condor's Issues

add max-scroll column(s)

The ability to create a scroll distance heatmap would be much easier if the end event contained the max scroll distance.

Tests are faling

They're not only failing, they don't seem to be run correctly at all. I need to investigate what's up with that.

lots of scroll data

I think we should reduce the amount of scroll data collected. Perhaps, we can send the max-Y that was scrolled to instead of every scroll action.

image

Also:

  • 7,030 load events vs 7,141 end events -- why the discrepancy?

Unite initial visibility with onfocus & onblur

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.

Ability to push trackable-custom events

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

Secure tracking

We need to figure out a way to make sure that other people can't send in bogus data to our tracking stream.

Batching data & timestamp on server

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.

visible time elapsed

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.

Track arbitrary data

In some cases we will want to track arbitrary data, this could be contained in a data attribute (ie: data-trackable="...").

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.