{% extends "pretix_event_analytics/base.html" %} {% load i18n money analytics_tags %} {% block section %} {% if not data.total_orders %}
{% trans "No orders match the current filters." %}
{% else %}

{% trans "Where buyers come from" %}{% if data.local_pct is not None %}{% blocktrans with p=data.local_pct %}{{ p }}% local{% endblocktrans %}{% endif %}

{% trans "Countries" %} {% trans "Exact" %} {% trans "+ inferred" %} {% trans "+ probable" %}
{% trans "Orders by country" as ct %} {% include "pretix_event_analytics/_chart.html" with chart=data.country_chart title=ct size="tall" %}
{% trans "Countries" %}
{% for c in data.countries %}{% endfor %}
{% trans "Country" %}{% trans "Orders" %}{% trans "Tickets" %}{% trans "Revenue" %}{% trans "Avg order" %}{% trans "Returning" %}
{{ c.flag }} {{ c.name }}{{ c.orders }} {{ c.share }}% {{ c.tickets }}{{ c.revenue|money:currency }}{{ c.aov|money:currency }}{{ c.returning_pct }}%
{% trans "How the country is known" %}
{% trans "First available source per order. Exact = what the buyer stated (or a residence document). Italic sources describe a bank or document, not necessarily where the buyer lives. Inferred and probable countries are shown only when switched on above." %}
{% for r in data.country_sources %}{% endfor %}
{% trans "Source" %}{% trans "Orders" %}
{% if r.indirect %}{{ r.label }}{% else %}{{ r.label }}{% endif %}{% if r.tier == "inferred" %} {% trans "inferred" %}{% elif r.tier == "probable" %} {% trans "probable" %}{% endif %} {{ r.orders }} {{ r.share }}%
{% if data.travel %}
{% trans "Travelling from" %}
{% blocktrans with p=data.travel_coverage %}Answers to the “travelling from” question ({{ p }}% of orders){% endblocktrans %}
{% for c in data.travel %}{% endfor %}
{% trans "Country" %}{% trans "Orders" %}
{{ c.flag }} {{ c.name }} {{ c.n }} {{ c.share }}%
{% endif %} {% if data.nationalities %}
{% trans "Nationality" %}
{% blocktrans with p=data.nationality_coverage n=data.nationality_known %}Per ticket holder, where known ({{ n }} tickets, {{ p }}%): a nationality question, or an ID document that proves citizenship. Kept apart from where people live.{% endblocktrans %}{% for r in data.nationality_sources %}{% if forloop.first %} {% endif %}{{ r.label }}: {{ r.n }}{% if not forloop.last %} · {% endif %}{% endfor %}
{% for c in data.nationalities %}{% endfor %}
{% trans "Nationality" %}{% trans "Tickets" %}
{{ c.flag }} {{ c.name }} {{ c.n }} {{ c.share }}%
{% endif %}
{% if data.cities %}
{% trans "Top cities" %}
{% blocktrans with p=data.city_coverage %}From invoice addresses ({{ p }}% of orders include a city){% endblocktrans %}
{% for c in data.cities %}{% endfor %}
{% trans "City" %}{% trans "Orders" %}{% trans "Tickets" %}{% trans "Revenue" %}{% trans "Returning" %}
{{ c.flag }} {{ c.name }} {{ c.orders }} {{ c.share }}% {{ c.tickets }}{{ c.revenue|money:currency }}{{ c.returning_pct }}%
{% endif %}

{% trans "Who they are" %}

{% if data.age_chart %} {% trans "Age" as at %} {% blocktrans with n=data.age_known b=data.age_basis asvar an %}Age on the event date, from {{ n }} {{ b }} with a birth date.{% endblocktrans %} {% if data.age_confirmed %}{% blocktrans with n=data.age_confirmed asvar af %}{{ n }} buyers confirmed they are 18 or older.{% endblocktrans %}{% endif %} {% include "pretix_event_analytics/_chart.html" with chart=data.age_chart title=at note=an foot=af %} {% endif %} {% trans "Group size" as gt %} {% blocktrans with a=data.avg_group asvar gn %}{{ a }} tickets per order on average{% endblocktrans %} {% include "pretix_event_analytics/_chart.html" with chart=data.group_chart title=gt note=gn %} {% trans "Checkout language" as lt %} {% include "pretix_event_analytics/_chart.html" with chart=data.language_chart title=lt size="short" %}
{% trans "Payment methods" %}
{% for p in data.payments %}{% endfor %}
{% trans "Method" %}{% trans "Orders" %}{% trans "Revenue" %}{% trans "Avg order" %}
{{ p.label }} {{ p.orders }} {{ p.share }}% {{ p.revenue|money:currency }}{{ p.aov|money:currency }}

{% trans "Buyer personas" %}{{ data.persona_note }}

{% for p in data.personas %}{% endfor %}
{% trans "Persona" %}{% trans "Orders" %}{% trans "Tickets" %}{% trans "Revenue" %}{% trans "Avg order" %}{% trans "Returning" %}{% trans "Bought add-ons" %}
{{ p.label }}{{ p.orders }}{{ p.tickets }} {{ p.revenue|money:currency }}{{ p.aov|money:currency }}{{ p.returning_pct }}%{{ p.addon_pct }}%
{% if data.caravan %}

{% trans "Caravans & camping" %}{% blocktrans with n=data.caravan.count p=data.caravan.pct %}{{ n }} orders ({{ p }}%) with a caravan pass{% endblocktrans %}

{% trans "Vehicle length" as vt %} {% include "pretix_event_analytics/_chart.html" with chart=data.caravan.chart title=vt size="short" %} {% endif %} {% endif %} {% endblock %}