Metadata-Version: 2.0
Name: django-privacy-killer
Version: 0.2.0
Summary: Template tags for including tracker codes
Home-page: http://github.com/matthiask/django-privacy-killer/
Author: Matthias Kestenholz
Author-email: mk@feinheit.ch
License: BSD License
Platform: OS Independent
Classifier: Environment :: Web Environment
Classifier: Framework :: Django
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Software Development
Classifier: Topic :: Software Development :: Libraries :: Application Frameworks

=================================================================
django-privacy-killer - Template tags for including tracker codes
=================================================================

.. image:: https://travis-ci.org/matthiask/django-privacy-killer.png?branch=master
   :target: https://travis-ci.org/matthiask/django-privacy-killer

.. image:: https://readthedocs.org/projects/django-privacy-killer/badge/?version=latest
    :target: https://django-privacy-killer.readthedocs.io/en/latest/?badge=latest
    :alt: Documentation Status

This module allows specifying tracking codes through settings (and therefore
through the environment). It currently supports Google Tag Manager and
Google Analytics tracking codes, but pull requests for adding support for
additional trackers is very welcome!


Usage variant 1
===============

- Install the module using ``pip install django-privacy-killer``
- Add ``privacy_killer`` to ``INSTALLED_APPS`` and add the list of tracking
  IDS to your settings as ``PRIVACY_KILLER_IDS = ['GTM-****', 'UA-****', ...]``
  (Note! This is a stupid example -- specifying both GTM and UA codes is
  probably not what you want
- Load the template tag library (``{% load privacy_killer %}``) and add the
  two tags, ``{% privacy_killer_head %}`` near the ``<head>`` of your site,
  and ``{% privacy_killer_body %}`` near the ``<body>`` element.


Usage variant 2
===============

Do not use this module, and also do not use any trackers at all.


- `Documentation <https://django-privacy-killer.readthedocs.io>`_
- `Github <https://github.com/matthiask/django-privacy-killer/>`_


