nice work. one of the biggest problems with external tracking services (mixpanel/kissmetrics/google analytics) is reconciling the data with what's present in your database. this solves that problem really well. great start
I would have no idea how to add the data if you hadn't been tracking it already though.