Built for Django

Analytics & Monitoring
for Django

Get real-time web analytics, error tracking, distributed tracing, and session replay for your Django application. Add two script tags for frontend monitoring, then pip install our SDK for server-side observability.

  • Django middleware for automatic request tracing
  • Database query tracking (PostgreSQL, MySQL, SQLite)
  • Template rendering time monitoring
  • Celery task tracing for background jobs
  • WSGI/ASGI compatible -- works with Gunicorn, Uvicorn, Daphne
  • Under 5KB frontend script -- no impact on page load
html + python
1# In your Django template (base.html)
2
3<!-- Frontend analytics & monitoring -->
4<script defer
5 src="https://justanalytics.app/tracker.js"
6 data-site-id="YOUR_SITE_ID">
7</script>
8<script defer
9 src="https://justanalytics.app/monitor.js"
10 data-site-id="YOUR_SITE_ID">
11</script>
12
13# Server-side: pip install justanalytics
14# settings.py
15MIDDLEWARE = [
16 "justanalytics.django.TracingMiddleware",
17 # ... your other middleware
18]

Built for Django developers

From Django templates to DRF APIs, JustAnalytics monitors your entire Django application stack.

ORM query tracing

Automatically instruments Django ORM queries. See slow queries, N+1 problems, and database performance directly in your traces.

View performance

Track request/response times across all Django views. Identify slow endpoints and bottlenecks in your Django REST Framework APIs.

Error capture

Catch Django exceptions, 500 errors, and unhandled exceptions. Each error links to the session replay and trace for fast debugging.

No cookies needed

Unlike Django's built-in session-based analytics, JustAnalytics frontend tracking is cookie-free. No GDPR consent banners required.

Full analytics suite

Real-time dashboards, conversion funnels, cohort analysis, attribution modeling, and user segmentation for your Django app.

Alert rules

Set up alerts for error spikes, latency increases, downtime, and traffic anomalies. Get notified via email or webhook.

Full server-side setup for Django

Install the SDK, add the middleware, and you are monitoring requests, database queries, and errors across your entire Django application.

# Install the SDK
pip install justanalytics

# settings.py
JUSTANALYTICS_API_KEY = os.environ.get('JUSTANALYTICS_API_KEY')
JUSTANALYTICS_SERVICE_NAME = 'my-django-app'

MIDDLEWARE = [
    'justanalytics.django.TracingMiddleware',
    'django.middleware.security.SecurityMiddleware',
    # ... rest of your middleware
]

# Optional: Instrument Celery tasks
# celery.py
from justanalytics.integrations.celery import instrument_celery
instrument_celery(app)

# That's it! All Django views, ORM queries,
# and template renders are automatically traced.

Ready to simplify your stack?

Replace five tools with one platform. Start with the free tier or try Pro free for 7 days.

Get Started Free