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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for django-client-tracker-0.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | db7b1c088b2d985e432eeb5962858568daf71cb2236cb70b981ef6c6f6d2c882 |
|
MD5 | d7f3b0e04662060e55f22f61b09ec092 |
|
BLAKE2b-256 | 2a5db13d6f9d937249429cd602df26863a9b52344994961f1ae628d729af0843 |
Hashes for django_client_tracker-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bf6378cb09023dbca594246e2661cd4467f57738c5960e81e42796c90888c389 |
|
MD5 | e5bd15c92815b005d9c8442539c159b6 |
|
BLAKE2b-256 | 570aeb8abe3dc9f0cb0a7dbbce69ea897fd08f94967914114f072ca6dc5c8a90 |