Howdy,
I have a simple enough web application. I want to measure for any day or month how many new free signups I have, how many paid signups, how many paid upgrades, how many cancellations, etc. That data will then be represented on my admin dashboard by sparklines.
Generally, do you suggest:
a) Writing a script that upon each call, anlyses the raw database data and creates statistics for the time period?
b) Running a daily cron job to record, for example, the number of new signups that day, and then using that simplified data to create the sparklines?
Thanks.