django-analytical
Analytics service integration for Django projects
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained, has no known vulnerabilities, supports current Python and Django versions, and solves a real problem—keeping analytics configuration clean and maintainable in Django projects. The single dependency on django and low install friction make it a low-risk addition. Use it if you need to integrate multiple analytics services or want to keep tracking code out of your templates.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Django to be installed and configured; analytics service credentials must be set in Django settings before template tags will output tracking code.
- Low friction install with a single runtime dependency on django.
- Active maintenance with recent commits and a stable production release status.
License · maintenance · safety
MIT (permissive) — MIT license permits unrestricted use, modification, and distribution in both open-source and commercial projects with minimal restrictions.
last release 2025-07-10 (400 days) · last repo commit 2026-03-08 · 1,301 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 93,008 downloads/mo, #13,408 on PyPI
Alternatives
Verify before relying
pip install django-analytical
# In Django settings.py, add to INSTALLED_APPS:
# 'analytical'
# In a template:
{% load analytical %}
{% google_analytics %}
# Configure your analytics service ID in settings.py:
ANALYTICAL_GOOGLE_ANALYTICS_PROPERTY_ID = 'UA-XXXXX-Y'- Whether all listed analytics services (Chartbeat, Clickmap, Clicky, etc.) are actively maintained or if some integrations are deprecated.
- Performance impact of loading multiple analytics service integrations when only a subset are enabled.
- Whether the package handles analytics service API changes automatically or requires manual updates.
What it is and what it does
django-analytical is a Django application that centralizes the integration of third-party analytics services—such as Google Analytics, Mixpanel, Hotjar, and many others—into your project. Instead of manually adding service-specific JavaScript tracking code to templates and scattering configuration across your codebase, you configure each service once in Django settings and use simple template tags to inject the tracking code. The package abstracts away the differences between services, using asynchronous JavaScript where possible and keeping sensitive identifiers out of templates.
The package supports a large roster of analytics and monitoring services, from traffic analysis tools like Google Analytics and Clicky to user feedback platforms like Hotjar and UserVoice, as well as A/B testing and conversion tracking services. It's designed for developers who want a clean, maintainable way to manage analytics across a Django project without duplicating boilerplate or hardcoding credentials in templates.
Use it for
- Add Google Analytics tracking to a Django site without manually embedding the tracking snippet in every template.
- Switch between multiple analytics providers (e.g., from Google Analytics to Matomo) by changing settings rather than rewriting templates.
- Centralize analytics configuration so credentials and service IDs are managed in one place, not scattered across template files.
- Integrate user feedback tools like Hotjar or UserVoice alongside traffic analytics in a single, unified setup.
- Enable or disable analytics services per environment (development, staging, production) via Django settings.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained, has no known vulnerabilities, supports current Python and Django versions, and solves a real problem—keeping analytics configuration clean and maintainable in Django projects. The single dependency on django and low install friction make it a low-risk addition. Use it if you need to integrate multiple analytics services or want to keep tracking code out of your templates.
Install
django-analytical on PyPI
Before you install
Low friction install with a single runtime dependency on django. Active maintenance with recent commits and a stable production release status. Supports current Python versions (3.9–3.13) and recent Django versions (4.2, 5.1, 5.2).
Requires Django to be installed and configured; analytics service credentials must be set in Django settings before template tags will output tracking code.
License in practice
MIT license permits unrestricted use, modification, and distribution in both open-source and commercial projects with minimal restrictions.
Quickstart
pip install django-analytical
# In Django settings.py, add to INSTALLED_APPS:
# 'analytical'
# In a template:
{% load analytical %}
{% google_analytics %}
# Configure your analytics service ID in settings.py:
ANALYTICAL_GOOGLE_ANALYTICS_PROPERTY_ID = 'UA-XXXXX-Y'
Verify before relying
- Whether all listed analytics services (Chartbeat, Clickmap, Clicky, etc.) are actively maintained or if some integrations are deprecated.
- Performance impact of loading multiple analytics service integrations when only a subset are enabled.
- Whether the package handles analytics service API changes automatically or requires manual updates.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 1 packagedjango |
| Maintenance | Actively maintained 400 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 93,008 / month, #13,408 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentFramework :: DjangoFramework :: Django :: 4.2Framework :: Django :: 5.1Framework :: Django :: 5.2Intended Audience :: DevelopersOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9Topic :: Internet :: WWW/HTTPTopic :: Internet :: WWW/HTTP :: Dynamic ContentTopic :: Software Development :: Libraries :: Python Modules |
Evidence: django_analytical-3.2.0-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “django analytics integration”
- django-analyticalIntegrates multiple third-party analytics services into Django…
- django-clickhouseIntegrates Django applications with ClickHouse, a columnar database,…
- posthogPostHog Python SDK integrates product analytics and feature flagging…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also django-invitations · django-nose · django-graphiql-debug-toolbar · universal-analytics-python3 · django-embed-video · sphinxcontrib-googleanalytics · django-taggit · analytics-python · django-clickhouse · segment-analytics-python