This is a standalone app to record events broadcasted by segment.io into a postgres backend. This ensures core application performance is never affected by analytics event recording.
- Install node/npm
brew install nodejs
npm install
foreman start
POST /events
Content-type: application/json
Parameters: action, event, userId, anonymousId, properties
action must be type "Track", all other fields are optional