Note: This is not a new version of django-tracking. These apps have very different approaches and, ultimately, goals of tracking users. This app is about keeping a history of visitor sessions, rather than the current state of the visitor.django-tracking keeps track of visitors to Django-powered Web sites. It also offers basic blacklisting capabilities.git
pip install django-tracking
github
pip install django-tracking2
django
Note會出錯: no module named listenersbash
解決方案: pip install git+https://github.com/bashu/django-tracking.git
session
First of all, you must add this project to your list of INSTALLED_APPS insettings.py:app
INSTALLED_APPS = (this
'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.sites', ... 'tracking', ...
).net
未完待續~code
參考連接
1.Django訪問量和頁面點擊數統計
2.Django訪問量和頁面點擊數統計blog