Build an Analytics Dashboard With Django and Arctype

Introduction

As Python's premier web framework, Django provides the foundation upon which many web applications have been built, facilitating rapid development without sacrificing stability.  Amongst other versatile functionalities, Django integrates seamlessly with SQL databases, so today, we'll be using the framework to implement basic site analytics data recording.  Then, we'll use this data to create gorgeous visualizations in an Arctype dashboard, which will keep track of the following:

  • Registrations, logins, and logouts.
  • User activity by day.
  • Breakdown of user activity on a selected day.

To achieve this, we will be utilizing Django's ORM and Arctype (of course!)