fajifr / recontent

Content recommendation API
MIT License
0 stars 1 forks source link

Implement tracking API #8

Open frankcleary opened 8 years ago

frankcleary commented 8 years ago

We'll need a tracking API, similar to what is outlined in this diff: https://github.com/fajifr/recontent/compare/tracking-psuedocode

Likely mongo (see pymongo) would be a good choice for database.

The recommentAPI resource should record data to the database under a generated unique ID, and return links to the ClickTrackingAPI resource. The ClickTrackingAPI should record the click and return a redirect to the actual URL.