{ "info": { "author": "Simple Analytics", "author_email": "support@mail.simpleanalytics.io", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Plugins", "Framework :: Django :: 1.8", "Framework :: Django :: 1.9", "Framework :: Django :: 2.0", "Framework :: Django :: 2.1", "Framework :: Django :: 2.2", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Topic :: Internet :: WWW/HTTP :: Dynamic Content :: Page Counters" ], "description": "# Simple Analytics for Django\n\nWant privacy friendly analytics for Django? You're at the right place.\n\n> You need an account [on Simple Analytics](https://simpleanalytics.com) to see your stats collected by this plugin.\n\n# Installing it\n\nInstall the plugin:\n\n`pip install django-simpleanalytics`\n\n# Using it\n\nAdd the package to the `INSTALLED_APPS`:\n```python\nINSTALLED_APPS = [\n ...,\n simpleanalytics,\n]\n```\n\nNext use the `templatetag` in your template:\n\n```\n\n{% load staticfiles simpleanalytics_tags %}\n\n\t\n\t\t\n\t\t{% block page_title %}{{ site.name }}{% endblock %}\n\t\t\n ...\n {% simpleanalytics_sync %}\n ...\n \n \n {% simpleanalytics_noscript_block %}\n \n\n```\n\nThis will translate to roughly this:\n```\n\n\n\n\t\n\t\t\n\t\tbrwnppr.com\n\t\t\n ...\n \n ...\n \n \n \n \n\n```\n\n# More\n\nThis app has four templatetags:\n\n- simpleanalytics_sync\n- simpleanalytics_async\n- simpleanalytics_noscript_block\n- simpleanalytics_noscript_img\n\n`simpleanalytics_sync` converts to a plain `