OpenFisca is a versatile microsimulation free software. Check the online documentation for more details.
This package contains the tracker module of the OpenFisca Web API. It is an optional solution to track the calls on an installed OpenFisca Web API. It allows for usage analytics on a Piwik analytics plateform.
This package is optional and when activated, it sends minimal information on Web API calls:
- It logs which Web API endpoint was called.
- It is optional: you can chose to activate it on installation.
- It is configurable: you decide on which Piwik analytics plateform instance you send the information.
- It is a nonblocking solution: OpenFisca will keep working as usual if the tracker is activated but unreachable.
As of today, the tracker only logs which routes are called, without any information about the user. No cookie is set on the user's browser.
For these reasons, this module is not subject to CNIL or EU privacy requirements.
This package requires Python 3.6+. It is designed to work with Piwik analytics plateform.
Check the OpenFisca Official Web API and the Preview Web API documentations to figure out how to use and configure the tracker.
If you want to contribute to the tracker itself, welcome! To install it locally in development mode follow these steps:
git clone https://github.com/openfisca/tracker.git
cd tracker
make install
To install the test dependencies and run the tests in the tracker module directory, follow these steps:
cd tracker
make install
make test