django-no-floc

Middleware to opt out of Google's FLoC cohort tracking.


Keywords
django-no-floc, chrome, cohorts, django, floc, tracking
License
MIT
Install
pip install django-no-floc==0.1.0

Documentation

title
django-no-floc

image

image

image

Middleware to opt out of Google's FLoC cohort tracking.

Documentation

The full documentation is at https://django-no-floc.readthedocs.io.

Quickstart

Install django-no-floc:

pip install django-no-floc

Add it to your `INSTALLED_APPS`:

MIDDLEWARE = (
    ...
    'no_floc.middleware.NoFLoCMiddleware',
    ...
)

Running Tests

Does the code actually work?

source <YOURVIRTUALENV>/bin/activate
(myenv) $ pip install tox
(myenv) $ tox

Development commands

pip install -r requirements_dev.txt
invoke -l

Credits

Tools used in rendering this package: