Extend your analytics suite with LightCloud counters
I have extended LightCloud with a simple counter library that can be used to:
Simple counter usage: from lightcloud import counters
counters.update_counter('users')
assert counters.get_counts('users') == 1
Day counters (these counters will automatically split counts in dates they happen on): from lightcloud import counters
counters.update_day_counter('new_user_plurking')
assert counters.get_day_counts('new_user_plurking')[0]['counts'] == 1
InspirationHere are some of the stuff that we track on Plurk - site usage of new users:
This way we can see how our changes affect new users. LightCloud counters can also be used for AB testing, since AB testing is basically counting and afterwards analyzing these counts. DocumentationI'll add some proper documentation to LightCloud and LightCloud counters during this weekend. The code is checked in LightCloud thought: Happy hacking! Post a comment
Commenting on this post has expired.
|
Blog labels |