StasteSlightly complicated event tracker for your Django website | |
Download |
Staste Ranking & Summary
Advertisement
- License:
- Other/Proprietary Li...
- Publisher Name:
- Valentin Golev
- Publisher web site:
- http://unfoldthat.com/
Staste Tags
Staste Description
Slightly complicated event tracker for your Django website Staste is a slightly complicated event tracker for your Django websiteInstructionsFirst of all, install Staste from PyPi:pip install staste Define metrica and its axes (optionally):from staste.metrica import Metricafrom staste.axis import Axis, StoredChoiceAxis gender_axis = Axis(choices=) age_axis = StoredChoiceAxis() guests_metrica = Metrica(name='guest_visits_gender_age', axes=)Metrica is fine as a global variable.Now kick it at any event:guests_metrica.kick(gender='girl', age=18)guests_metrica.kick(gender='boy', age=19)That's it! Stats are collecting from now on.Now you can get yourself a cup of tea and explore how to show them. Requirements: · Python · Django
Staste Related Software