Skip to main content

Client Tracker is a Django app to keep track of clients visiting your website

Project description

# Introduction

Client Tracker is a Django app to keep track of clients visiting your website. Client IP, and location is fetched using a client-side script. It keeps track of how long users stay on your site. Users don’t need to login on your site for this to work. Please make sure that you inform the users that the site uses cookies as it is required for this application.

## Prerequisites

  • Django 2.0+

## Installation

  • Copy “clienttracker” application to your project folder

  • Add “clienttracker” to your INSTALLED_APPS setting like this:

    INSTALLED_APPS = [
        ...
        'clienttracker',
    ]
  • Include the clienttracker URLconf in your project urls.py like this::

    path(‘ticker/’, include(‘clienttracker.urls’))

  • Run “python manage.py migrate” to create the clienttracker models.

  • Include tracer.js in base.html at the bottom of the page. If you do not use base.html you will need

    to include the js in every html file separately.

    <script src=”{% static ‘js/tracer.js’ %}”></script>

  • Start the development server and visit http://127.0.0.1:8000/.

## Known Problems

  • As of now the data is not represented in any format, it is only saved in database.

  • There is an issue with logging (inside views.py) which was identified when it was put in pythonanywhere.com. Logging was removed from it since.

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-client-tracker-0.0.2.tar.gz (6.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

django_client_tracker-0.0.2-py3-none-any.whl (8.5 kB view details)

Uploaded Python 3

File details

Details for the file django-client-tracker-0.0.2.tar.gz.

File metadata

  • Download URL: django-client-tracker-0.0.2.tar.gz
  • Upload date:
  • Size: 6.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/38.4.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.4

File hashes

Hashes for django-client-tracker-0.0.2.tar.gz
Algorithm Hash digest
SHA256 db7b1c088b2d985e432eeb5962858568daf71cb2236cb70b981ef6c6f6d2c882
MD5 d7f3b0e04662060e55f22f61b09ec092
BLAKE2b-256 2a5db13d6f9d937249429cd602df26863a9b52344994961f1ae628d729af0843

See more details on using hashes here.

File details

Details for the file django_client_tracker-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: django_client_tracker-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 8.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/38.4.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.6.4

File hashes

Hashes for django_client_tracker-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bf6378cb09023dbca594246e2661cd4467f57738c5960e81e42796c90888c389
MD5 e5bd15c92815b005d9c8442539c159b6
BLAKE2b-256 570aeb8abe3dc9f0cb0a7dbbce69ea897fd08f94967914114f072ca6dc5c8a90

See more details on using hashes here.

Supported by

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