{% extends "base.html" %} {% block title %}Analytics{% endblock %} {% block page_title %}Analytics{% endblock %} {% block content %}
{% include "partials/analytics_tabs.html" %}

{{ pageviews_7d }}

Views (7d){% if bot_views_7d %} +{{ bot_views_7d }} bot{% endif %}

{{ visitors_7d }}

Visitors (7d)

{{ pageviews_30d }}

Views (30d){% if bot_views_30d %} +{{ bot_views_30d }} bot{% endif %}

{{ visitors_30d }}

Visitors (30d)

{{ latency.p50 }}ms

P50 Latency

{{ latency.p95 }}ms

P95 Latency

{{ latency.p99 }}ms

P99 Latency

Top Pages (7d)

{% if top_pages %}
{% for page in top_pages %} {{ page.path }}
{{ page.views }}
{% endfor %}
{% else %}

No data yet

{% endif %}

Referrers (7d)

{% if referers %}
{% for ref in referers %}
{{ ref.domain }} {{ ref.count }}
{% endfor %}
{% else %}

No referrer data yet

{% endif %}

Sessions (7d)

Authenticated {{ sessions.perm }}
Temporary {{ sessions.temp }}
Total {{ sessions.total }}
{% if sessions.total > 0 %}
{{ (sessions.perm / sessions.total * 100) | round }}% auth {{ (sessions.temp / sessions.total * 100) | round }}% temp
{% endif %}

Browsers (7d)

{% if browsers %}
{% for b in browsers %}
{{ b.browser }} {{ b.count }}
{% endfor %}
{% else %}

No data yet

{% endif %}

Devices (7d)

{% if devices %}
{% for d in devices %}
{{ d.device }} {{ d.count }}
{% endfor %}
{% else %}

No data yet

{% endif %}

Auth Funnel (7d)

Portals visited {{ funnel.portals_visits }}
Magic links sent {{ funnel.magic_link_requests }}
Verifications {{ funnel.verifications }}

Daily Traffic

Latency Over Time

API Traffic

7d: {{ api_calls_7d }} calls 30d: {{ api_calls_30d }} calls P50: {{ api_latency.p50 }}ms P95: {{ api_latency.p95 }}ms
{% if top_api_endpoints %}
Endpoint
Calls Avg
{% for ep in top_api_endpoints %} {{ ep.path }}
{{ ep.calls }} {{ ep.avg_ms }}ms
{% endfor %}
{% else %}

No API traffic yet

{% endif %}

Total pageviews recorded: {{ total_pageviews }}

{% endblock %} {% block extra_css %} .range-btn { color: #64748b; border-color: rgba(255,255,255,0.06); background: transparent; cursor: pointer; } .range-btn:hover { color: #94a3b8; border-color: #64748b; } .range-btn.active { color: #e2e8f0; border-color: #00d4ff; background: rgba(0, 212, 255, 0.1); } {% endblock %} {% block scripts %} {% endblock %}