Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I have actually wrote a django-clickstream application, I just haven't open sourced it yet, I want to test it out to make sure it works well before releasing it.</p> <p>Here are the steps you need to do to reproduce what I did, it isn't too hard.</p> <p>First off you would need to keep track of each visitor for the life of their session or cookie. You can do this using django-visitor or roll your own. </p> <p>Once you have a visitor you can create a custom middleware that will look at each request and then log what url each visitor visits to a database table. Then all you need to do is create a simple web page where you can view the different click streams by visitor.</p> <p>One important thing to note is that you will need to setup an exclude filter so that the middleware doesn't pick up any urls that you don't want to track (static, etc), I did this with a simple list of regular expressions that I stored in the settings file. If the url doesn't match one of the regular expressions then log it.</p> <p>The table will get pretty big real fast if you have a popular website so you will need to create a management command to clean out the old records from your tables.</p> <p>Django-visitor: <a href="https://bitbucket.org/kencochrane/django-visitor" rel="nofollow">https://bitbucket.org/kencochrane/django-visitor</a></p> <p><strong>Edit</strong>:</p> <p>Check out Django-clickstream: <a href="https://bitbucket.org/kencochrane/django-clickstream" rel="nofollow">https://bitbucket.org/kencochrane/django-clickstream</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload