{% extends "admin/base.html" %} {% block head_extra %} {% endblock %} {% block admin_content %}

Analytics

Anonymous visitor tracking. Only an opaque visitor_id cookie is stored; locations are approximate and derived from the visitor's IP — the address itself is never saved.

{{ total_visitors }}Unique visitors
{{ total_visits }}Total visits
{{ unique_pages }}Pages viewed
{{ 'n/a' if total_visitors == 0 else (total_visits | int / (total_visitors or 1) | round(2)) }}Avg. pages/visit
{{ total_countries }}Countries
{{ total_cities }}Cities

Visitor map

{% if map_points %}

Each circle is a city. Larger circles mean more visits — click one for the city, region, country and counts.

{% else %}

No location data yet. The map fills in as visitors arrive; locations come from the visitor's IP (or, for local/LAN visitors, this server's own region).

{% endif %}

Location trends

{% if location_trend.series %}

Visits per day over the last {{ location_trend.labels|length }} days, by location. Hover the chart for daily counts.

{% else %}

No visits in the last 30 days.

{% endif %}

Top countries

{% for r in top_countries %} {% else %} {% endfor %}
CountryVisitorsVisits
{% if r.country_code %}{{ r.country_code|country_flag }} {% endif %}{{ r.country }} {{ r.visitors }} {{ r.visits }}
No location data yet.

Top cities

{% for r in top_cities %} {% else %} {% endfor %}
CityVisitorsVisits
{% if r.country_code %}{{ r.country_code|country_flag }} {% endif %}{{ r.city }} {% if r.region %}{{ r.region }}, {% endif %}{{ r.country }} {{ r.visitors }} {{ r.visits }}
No city data yet.

Where visitors to each page come from

{% if page_locations %}

The busiest pages and the countries their readers came from. Counts are unique visitors per country.

{% for page in page_locations %} {% endfor %}
PageTop locationsVisits
{{ page.path }} {% if page.title %}
{{ page.title }}{% endif %}
{% for c in page.countries %} {% if c.country_code %}{{ c.country_code|country_flag }} {% endif %}{{ c.country }} {{ c.visitors }} {% endfor %} {% if page.more_countries %}+{{ page.more_countries }} more{% endif %} {{ page.visits }}
{% else %}

No page visits yet.

{% endif %}

Most viewed pages

{% for r in top_pages %} {% else %} {% endfor %}
PageTitleVisits
{{ r.page_path }} {{ r.title or "(untitled)" }} {{ r.c }}
No visits yet.

Devices

{% for r in top_devices %} {% else %} {% endfor %}
DeviceVisitors
{{ r.device }}{{ r.c }}
No data yet.

Browsers

{% for r in top_browsers %} {% else %} {% endfor %}
BrowserVisitors
{{ r.browser or "(unknown)" }}{{ r.c }}
No data yet.

Where they came from

{% for r in top_sources %} {% else %} {% endfor %}
SourceVisitors
{{ r.source }}{% if loop.first %} (raw referrers below){% endif %}{{ r.c }}
No data yet.
{% for r in top_domains %} {% else %} {% endfor %}
Referrer domainVisitors
{{ r.referrer_domain or "—" }}{{ r.c }}
No referrers yet.
{% if location_trend.series %} {% endif %} {% endblock %}