TeaBough / TrackingSwallower

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TrackingSwallower

This is a Play application using ReactiveMongoDB that allows you to store tracking data in a MongoDB database.

Installation

You need to install play2 and mongoDB http://www.playframework.com/

Usage

./activator run

You can then use Postman in order to store a tracking data, set the URL to http://localhost:9000, the verb to POST, the content-type to application/json and the tracking data must have this stucture :

{
        "cookie_id": String,
        "email": String,
    	"session_id": String, 
    	"referer": String,
    	"timestamp": String,
    	"event": String 
}

About

License:Other


Languages

Language:Shell 82.3%Language:Scala 17.2%Language:JavaScript 0.4%Language:CSS 0.0%