Django Privacy Analytics
Django Privacy Analytics is a minimalist, performant, and privacy-focused analytics system that runs in your Django app.
Do Not Track
Django Privacy Analytics fully respects the 'Do Not Track' (DNT) header; if a request has DNT enabled, Django Privacy Analytics will not store a page view.
Installation
- Install Django Privacy Analytics by running
pip install django-privacy-analyticsor addingdjango-privacy-analyticsto yourrequirements.txt - Add
privacy_analyticsto yourINSTALLED_APPSsetting. - Add
privacy_analytics.middleware.AnalyticsMiddlewareto yourMIDDLEWAREsetting, ideally somewhere towards the end (and afterAuthenticationMiddleware). - Create the new necessary models by running
python3 manage.py migrate. - Optionally add a place to view the analytics by adding
path('analytics/', include('privacy_analytics.urls'))to your URL routing configuration.
Access
Currently, the dashboard is only visible to superusers. This will be configurable in a future version.
Settings
In settings.py, you can set the following:
ANALYTICS_IGNORE_PATHS: ignore requests whose paths start with members of this list
Metadata
Release files for django-privacy-analytics 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| django-privacy-analytics-0.1.1.tar.gz | 10.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_privacy_analytics-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.5 kB
Release files / django-privacy-analytics-0.1.1.tar.gz
| Download URL | django-privacy-analytics-0.1.1.tar.gz |
|---|---|
| Size | 10.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
34343fc8d85106bebbd5e5eb7add8b6fd814a635524a4255607e8e81f6d8746b
|
|
BLAKE2b-256 checksum How to use checksums |
dde541a82af6913c46cb6a0eda03b374fb65bdb3ac9fe64d7867b8f155184c2e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8
|
Release files / django_privacy_analytics-0.1.1-py3-none-any.whl
| Download URL | django_privacy_analytics-0.1.1-py3-none-any.whl |
|---|---|
| Size | 13.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7e26984caff7aff93a33fbb55ce323e4b6feeccc4b8f2fa9662fe60532def2ea
|
|
BLAKE2b-256 checksum How to use checksums |
15ec46e77b9d6b2be3bee514eb6fa06409e946dd34ad32d0b6a1260feadfadd3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8
|
Security for django-privacy-analytics 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.