# django‑zaydany‑analytics — privacy‑first, self‑hosted analytics dashboard for Django

**URL:** <https://forum.djangoproject.com/t/django-zaydany-analytics-privacy-first-self-hosted-analytics-dashboard-for-django/45165>\
**Category:** Show & Tell\
**Created:** [May 24, 2026, 12:22am UTC](https://forum.djangoproject.com/t/django-zaydany-analytics-privacy-first-self-hosted-analytics-dashboard-for-django/45165 "2026-05-24T00:22:13Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![parsazaidane](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/parsazaidane/32/32472_2.png) [@parsazaidane](https://forum.djangoproject.com/u/parsazaidane)\
**Post date:** [May 24, 2026, 12:22am UTC](https://forum.djangoproject.com/t/django-zaydany-analytics-privacy-first-self-hosted-analytics-dashboard-for-django/45165/1 "2026-05-24T00:22:13Z")

</div>

Hey everyone,

Last week I started building something I needed — a simple, privacy‑respecting analytics dashboard for Django projects. Today it’s live on PyPI and GitHub.

It’s called **django‑zaydany‑analytics**.

**What it does:**

- Tracks page views, sessions, bounce rate, pages/session
- Shows referrers, browsers, OS, devices
- Has an offline world map (GeoLite2, no external API calls)
- Supports custom event tracking (just add data attributes to any element)
- Comes with 12 themes and 5 languages (including Arabic RTL)
- Exports every table to CSV/JSON
- Optionally shows billing data if you plug in your models
- Everything is configurable from a single `ZAYDANY_ANALYTICS` dict in settings.py

**The crazy part:** I built this with almost no internet. Downloading the 60 MB GeoIP database took over 4 hours. Pushing this release cost a small piece of savings I had set aside for my main project. I couldn’t Google anything, couldn’t browse documentation — just worked offline with what I had.

Open source is what makes our work possible. This is my small contribution back.

**Links:**

- GitHub: [GitHub - parsazaidane/django-zaydany-analytics: Privacy‑first, self‑hosted analytics dashboard for Django. Beautiful, configurable, and fully offline. · GitHub](https://github.com/parsazaidane/django-zaydany-analytics)
- PyPI: [django-zaydany-analytics · PyPI](https://pypi.org/project/django-zaydany-analytics/)
- Install: `pip install django-zaydany-analytics`

Feedback and stars mean the world to me. Thanks for reading!

 ![overview-gold](https://us1.discourse-cdn.com/flex026/uploads/djangoproject/original/3X/3/f/3f40df7fa2d6cda6d1aa18e2ee601cf291b8d495.png)

 ![geography-indigo](https://us1.discourse-cdn.com/flex026/uploads/djangoproject/original/3X/2/7/27b51336291a55b9a32bf73c56b1fef8692b52d1.png)

 ![billing-gold](https://us1.discourse-cdn.com/flex026/uploads/djangoproject/original/3X/f/4/f4a360e62bf16dea8ce531523e3a0b260deddc73.png)

 ![events-arctic](https://us1.discourse-cdn.com/flex026/uploads/djangoproject/original/3X/1/0/10030ac04bf4428046465f39d26bd8d33ea1e933.png)

 ![overview-onyx](https://us1.discourse-cdn.com/flex026/uploads/djangoproject/original/3X/8/d/8db4b8ef33e14af8cb62f05fe0e86cacde5632e2.png)
