{% extends 'base.html' %} {% block content %} {% if error %}

{{ error }}

{% else %} {% set chart_colors = [ '#c62828', '#1565c0', '#f2c230', '#d7d3c8', '#303030', '#8f1d1d', '#10498c', '#b18d23', '#5c1313', '#0b305c', '#735c17' ] %} {% set chart_outlines = [ '#ff5252', '#42a5ff', '#ffeb59', '#fffdf5', '#737373', '#e04848', '#3285db', '#dfb53d', '#ae3434', '#2566a6', '#bd9730' ] %}
Report filters {% include 'report_filters.html' %}
Visits by Site Table
{% for site in sites %} {% else %} {% endfor %}
SiteVisitsLast Visited
{{ site.page_views }}
No visits match the current filters.
Total:{{ sites | sum(attribute='page_views') }}
Recent Visits
{% for visit in recent %} {% else %} {% endfor %}
DateTimeCityURL
{% set flag = visit.country_code | country_flag %}{% if flag %}{{ flag }} {% endif %}{{ visit.city_name or '---' }} {{ visit.url }}
No visits match the current filters.

Visits by Location Chart

{% if country_slices %}
    {% for country in country_slices %}
  • {{ country.name }}{{ country.visits }} ({{ '%.1f' | format(country.percent) }}%)
  • {% endfor %}
{% else %}

No visits match the current filters.

{% endif %}

Visits by Language

{% if language_slices %}
    {% set total = language_slices | sum(attribute='visits') %} {% for language in language_slices %}
  • {{ language.name }}{{ language.visits }} ({{ '%.1f' | format(language.visits / total * 100) }}%)
  • {% endfor %}
{% else %}

No visits match the current filters.

{% endif %}
Visits by Location Table
{% for location in locations %} {% else %} {% endfor %}
CountryState/ProvinceCityVisits
{% set flag = location.country_code | country_flag %}{% if flag %}{{ flag }} {% endif %}{{ location.country_name or '---' }} {{ location.region_name or '---' }} {{ location.city_name or '---' }} {{ location.page_views }}
No visits match the current filters.
Total:{{ locations | sum(attribute='page_views') }}
Referrers
{% for referrer in referrers %} {% else %} {% endfor %}
ReferrerVisits
{{ referrer.referrer_host or 'Direct / Unknown' }}{{ referrer.page_views }}
No visits match the current filters.
Total:{{ referrers | sum(attribute='page_views') }}

Visits by Site Chart

{% if sites %}
    {% set total = sites | sum(attribute='page_views') %} {% for site in sites %}
  • {{ site.site }} - {{ site.page_views }} ({{ '%.0f' | format(site.page_views / total * 100) }}%)
  • {% endfor %}
{% else %}

No visits match the current filters.

{% endif %}

All Traffic

{% if daily %} {% else %}

No visits match the current filters.

{% endif %}
{% if country_slices or language_slices or sites or daily %} {% include 'chart_theme.html' %} {% include 'pie_charts.html' %} {% if daily %}{% include 'all_traffic.html' %}{% endif %} {% endif %} {% endif %} {% endblock %}