This repository has been archived by the owner on Oct 20, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
Show a count of emails written on the homepage (or per candidate?!) #39
Comments
Other stats to think about:
|
Can you think of a good technical way to store this? Given currently my only writeable store is S3 :) Main requirement is 1) can count per candidate, 2) can efficiently get the numbers back out again at page render time (maybe with a big cache). |
SimpleDB might be a good candidate if you're already using AWS stuff |
Looks good! @symroe can I have a SimpleDB key :) |
My plan is to use Google Analytics events for this. Using gapy you can get the events out like this: events = client.query.get(analytics_view_id,
datetime.datetime(2005, 1, 1), datetime.datetime.now(),
["totalEvents"], ["eventCategory", "eventAction"]
) I can do that on a separate cron job and write out as on JSON file somewhere for in app reporting. |
Hmmm, just found myself not recording my own events... Because I'm using uBlock. Should I be doing this server side via PYGA or similar? |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I can track the number of CVs uploaded… But that number doesn’t change very quickly (at the moment, anyway.) Seeing the number of people writing letters is probably going to be more motivating for prospective letter writers.
Also, if we store figures per candidate, we can compute various badger stats! (e.g. average number of emails before CV upload).
This isn’t currently tracked… But I suppose we could start tracking the count and do:
total
emails written sincedate
Or alternatively:
x
emails sent to this candidate sincedate
The text was updated successfully, but these errors were encountered: