Skip to main content

# 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.

Metadata

Release files for django-client-tracker 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-client-tracker 0.0.2
File Size Uploaded
django-client-tracker-0.0.2.tar.gz 6.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-client-tracker 0.0.2
File Interpreter ABI Platform
django_client_tracker-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 14.7 kB

Release files / django-client-tracker-0.0.2.tar.gz

Download URL django-client-tracker-0.0.2.tar.gz
Size 6.2 kB
Tags Source
SHA-256 checksum
How to use checksums
db7b1c088b2d985e432eeb5962858568daf71cb2236cb70b981ef6c6f6d2c882
BLAKE2b-256 checksum
How to use checksums
2a5db13d6f9d937249429cd602df26863a9b52344994961f1ae628d729af0843
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / django_client_tracker-0.0.2-py3-none-any.whl

Download URL django_client_tracker-0.0.2-py3-none-any.whl
Size 8.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bf6378cb09023dbca594246e2661cd4467f57738c5960e81e42796c90888c389
BLAKE2b-256 checksum
How to use checksums
570aeb8abe3dc9f0cb0a7dbbce69ea897fd08f94967914114f072ca6dc5c8a90
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page