Flaker tracker in Django

What is Flaker?

Flaker is a Polish social networking platform. It is closest to Friendfeed, but has lots of unique features.

What is Flaker tracker?

One of those features is "Tracker". It's a small piece of JavaScript that you can install on your website. Each time a Flaker user enters your website, this fact is added as an activity on their Flaker feed. Most popular entries are also promoted by Flaker, so installing the tracker on your site can bring you some new visitors.

Problem with a site-wide tracker

However, there is a privacy problem with installing a site-wide tracker. You don't want your visitors to be "spied" on Flaker with all their activities on your site, like viewing provate messages, visiting other people's profiles, etc.

This is the reason we implemented a very very simple django module that makes it easy to integrate Flaker Tracker on your django website tracking only those pages that you specify.

How does it work?

You simply decorate your views that you want tracker with the @flaker_tracker decorator!

Then you need to include this code somewhere in your footer:

{% include_flaker_script request %}

and define a FLAKER_LINK constant in your settings.py file:

FLAKER_LINK = 'your_flaker_tracker_code_here'

And that's it!

Get the code for the module here: Flaker tracker module code

It says AGPLv3 but if you don't like it you can assume it's BSD :>

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.