Posts

Showing posts with the label Django tracking

Monitor website insights on a django powered website

  django-tracking2 tracks the length of time visitors and registered users spend on your site. Although this will work for websites, this is more applicable to web   applications   with registered users. This does not replace (nor intend) to replace client-side analytics which is great for understanding aggregate flow of page views. 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. Requirements Django's  session framework  installed Download pip install django-tracking2 Setup Add  tracking  to your project's  INSTALLED_APPS  setting: INSTALLED_APPS = ( ... ' tracking ', ... ) If you use Django 1.8+  tracking  app should follow the app with your user model Add  tracking.middleware.VisitorTrackingMiddleware  to your pr...