Skip to main content

User actions tracking and analytics for Django sites.

Project description

User actions tracking and analytics for Django sites

https://travis-ci.org/jose-lpa/django-tracking-analyzer.svg?branch=master https://codecov.io/gh/jose-lpa/django-tracking-analyzer/branch/development/graph/badge.svg https://badge.fury.io/py/django-tracking-analyzer.svg

Requirements

Installation

  1. Install Django Tracking Analyzer from PyPI by using pip:

    pip install django-tracking-analyzer
  2. Add 'tracking_analyzer' entry to Django INSTALLED_APPS setting.

  3. Run the migrations to load the Tracker model in your database:

    python manage.py migrate tracking_analyzer
  4. Install the MaxMind® GeoIP2 Country dataset. You can do this in two ways:

    4.1. By running the provided management command for this:

    python manage.py install_geoip_dataset

    4.2. Or manually, by following the instructions in GeoIP2 Django documentation.

After following those steps, you should be ready to go.

Contribution

All contributions or fixes are welcome. Just make sure to follow this rules:

  • Always include some unit tests for the new code you write or the bugs you fix. Or, update the existent unit tests, if necessary.

  • Stick to PEP-8 styling.

  • Make your pull requests to development branch.

Testing

Run tests:

python setup.py test

Run tests with coverage:

python setup.py test --pytest-args "--cov-report xml --cov tracking_analyzer tests/ --verbose --junit-xml=junit.xml --color=yes"

Run tests with coverage and Pylint/PEP8 checking:

python setup.py test --pytest-args "--cov-report xml --cov tracking_analyzer tests/ --verbose --junit-xml=junit.xml --color=yes --pylint --pylint-rcfile=pylint.rc --pep8"

Acknowledgements

Django Tracking Analyzer makes use of this technologies and apps, without which it wouldn’t be possible:

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-tracking-analyzer-0.1b4.tar.gz (107.6 kB view details)

Uploaded Source

Built Distribution

django_tracking_analyzer-0.1b4-py2.py3-none-any.whl (115.3 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file django-tracking-analyzer-0.1b4.tar.gz.

File metadata

File hashes

Hashes for django-tracking-analyzer-0.1b4.tar.gz
Algorithm Hash digest
SHA256 b615c5acbd65509d7ac1f561bd58a1bd9795d6237eadb9c4a12d6f3c208977d7
MD5 e0e9824c747a09fbc79d7d108112c137
BLAKE2b-256 d9e940979e948657c42dd1f5aa2747dbc4256600e98cfed648c2129de1192e3a

See more details on using hashes here.

File details

Details for the file django_tracking_analyzer-0.1b4-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for django_tracking_analyzer-0.1b4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 41eadeeee8dc5303651d03fe32bf7a8fe65f0b4d9ded045beb4ebbcca9b104dd
MD5 21dff32a016ddd35c51dd3fc06a10aa1
BLAKE2b-256 3a3f93690a38784394a965860310e6afb3e298b76a4b2a0564532d61bc7c3a8d

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page