Skip to content

napoleond/Ananke

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#Ananke Ananke is another little internal project of mine from CFSAS. This one took me about a day--it's a (very basic) analytics tool written on top of CakePHP. We wanted to know the distribution of time spent watching various course videos, or reading various material, and couldn't figure out how to get that from Google Analytics. (If it's possible, please let me know!)

Ananke accepts a JSON array POSTed to /visits/triage (where each element is an object that contains a timestamp and an event tag) and calculates the time spent on each event based on the difference between the event timestamps:

{[
	{"time":<seconds since UNIX epoch>,"hash":<event identifier>}
	,{"time":<seconds since UNIX epoch>,"hash":<event identifier>}
	.
	.
	.
	,{"time":<seconds since UNIX epoch>,"hash":<event identifier>}
]}

Some contingencies are in place for missed communications.

About

A very basic web analytics tool written on CakePHP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages