snapapps / edgy

a visual programming language inspired by Scratch
http://snapapps.github.io/
GNU Affero General Public License v3.0
51 stars 21 forks source link

Clickstream logging #166

Closed stevenbird closed 10 years ago

stevenbird commented 10 years ago

At the end of a session, before the browser tab is closed, prompt the user to agree to save their session data to our database for research purposes (NB search the codebase for "clickstream"). Prompt for the student id.

It will be necessary to identify a cloud-hosted file store where we can upload the logfile, create an account, get token details, and store this in the code (e.g. DropBox API).

stevenbird commented 10 years ago

@russell would you please advise on a simple cloud storage solution for JSON blobs, with datestamps, permitting retrieval of all blobs within a specified date range.

stevenbird commented 10 years ago

(This older issue contains the working draft specification for logging.)

stevenbird commented 10 years ago

Note that "save" actions are logable, since they allow us to link the clickstream to a later student submission, cf https://github.com/snapapps/edgy/issues/168

russell commented 10 years ago

Sorry i can't think of any storage solutions at the moment, besides hosting a simple app that accepts json blobs and stores them. Using the dropbox api sounds as good as any idea, provided it can be used easily

stevenbird commented 10 years ago

I have another project that is using Google Fusion tables for logging user activity. Perhaps we can adapt that code for our needs.

https://github.com/langtech/aikuma/tree/cloud-storage-integration/AikumaCloudStorage/src/org/lp20/aikuma/storage

stevenbird commented 10 years ago

@Muon submitted a pull request to implement clickstream logging with browser storage, https://github.com/snapapps/edgy/commit/edaee2ac65ef00a626bd9719714153fcb8c6fe5d