{% extends "pretix_event_analytics/base.html" %} {% load i18n money analytics_tags %} {% block section %} {% with t=data.tiles c=data.compare ft=data.first_timers f=data.forecast %} {% if data.stale_facts %}
{% blocktrans count n=data.stale_facts %}{{ n }} order was processed by an older version of the plugin.{% plural %}{{ n }} orders were processed by an older version of the plugin.{% endblocktrans %} {% trans "Run a resync so ticket counts, check-ins and returning buyers use the improved logic." %}
{% endif %} {% if ft %}

{% blocktrans with pct=ft.pct count=ft.count people=ft.people %}{{ pct }}% of the {{ people }} identified people at this edition are here for the first time ({{ count }} people).{% endblocktrans %} {% if ft.incl %}{% blocktrans with pct=ft.incl.pct %}Including probable matches: {{ pct }}%.{% endblocktrans %}{% endif %} {% if ft.editions_before %} {% blocktrans with year=ft.history_start %}Based on editions since {{ year }}.{% endblocktrans %} {% else %} {% trans "This is the first edition with data, so everyone counts as new." %} {% endif %} {% trans "Loyalty details" %} →

{% endif %}
{% trans "Revenue" %}
{{ t.revenue|money:currency }}
{% if c and c.revenue_delta is not None %}
{{ c.revenue_delta|abs_value|floatformat:1 }}% {% if c.same_point %}{% blocktrans with label=c.label days=c.point %}vs {{ label }} with {{ days }} days to go{% endblocktrans %}{% else %}{% blocktrans with label=c.label %}vs {{ label }}{% endblocktrans %}{% endif %}
{% endif %}
{% trans "Tickets sold" %}
{{ t.tickets|floatformat:0 }}
{% if c and c.tickets_delta is not None %}
{{ c.tickets_delta|abs_value|floatformat:1 }}% {% if c.same_point %}{% blocktrans with label=c.label n=c.tickets|floatformat:0 %}{{ label }} had {{ n }} at this point{% endblocktrans %}{% else %}{% blocktrans with label=c.label n=c.tickets|floatformat:0 %}{{ label }} sold {{ n }}{% endblocktrans %}{% endif %}
{% endif %}
{% trans "Orders" %}
{{ t.orders|floatformat:0 }}
{% blocktrans with p=t.group_pct %}{{ p }}% with 2+ tickets{% endblocktrans %}
{% trans "Average order" %}
{{ t.aov|money:currency }}
{% blocktrans with p=t.avg_ticket|money:currency %}{{ p }} per ticket{% endblocktrans %}
{% trans "Returning buyers" %}
{{ t.returning_buyers_pct }}%
{% blocktrans count n=t.returning_buyers %}{{ n }} order{% plural %}{{ n }} orders{% endblocktrans %} · {% blocktrans with p=t.attendee_returning_pct %}{{ p }}% of attendees{% endblocktrans %}
{% trans "Canceled or refunded" %}
{{ t.refund_pct }}%
{% blocktrans count n=t.refund_count %}{{ n }} order{% plural %}{{ n }} orders{% endblocktrans %} · {% blocktrans with a=t.refunded_amount|money:currency %}{{ a }} refunded{% endblocktrans %}
{% if t.checkin_pct is not None %}
{% trans "Checked in" %}
{{ t.checkin_pct }}%
{% blocktrans with n=t.checked_in %}{{ n }} attendees{% endblocktrans %}
{% endif %} {% if f %}
{% trans "Forecast: tickets" %}
{{ f.tickets|floatformat:0 }}
{% blocktrans with lo=f.tickets_low hi=f.tickets_high %}range {{ lo }}–{{ hi }}{% endblocktrans %}{% if f.ticket_target %} · {% blocktrans with p=f.tickets_forecast_target_pct %}{{ p }}% of target{% endblocktrans %}{% endif %}
{% endif %}
{% if c and c.same_point and not c.tickets %}

{% blocktrans with label=c.label days=c.point %}No comparison yet: {{ label }} had not started selling with {{ days }} days to go. Comparisons and the forecast appear once earlier editions had sales at the same point.{% endblocktrans %}

{% endif %} {% trans "Sales pace by edition" as pace_title %} {% trans "Cumulative tickets by days before the event. The current edition is drawn thicker." as pace_note %} {% include "pretix_event_analytics/_chart.html" with chart=data.pacing_tickets title=pace_title note=pace_note size="tall" %}

{% blocktrans with pct=data.coverage.identified_pct %}{{ pct }}% of tickets are matched to a person with certainty (attendee name + birth date).{% endblocktrans %} {% if data.coverage.unidentified %}{% trans "The rest are counted in totals but left out of returning-people figures rather than guessed. Sharing an e-mail or a card never makes two ticket holders the same person." %}{% endif %} {% if data.coverage.probable %}{% blocktrans count n=data.coverage.probable %}{{ n }} ticket without a birth date matches a known person by name and a shared e-mail or card (“probable”).{% plural %}{{ n }} tickets without a birth date match a known person by name and a shared e-mail or card (“probable”).{% endblocktrans %}{% endif %}

{% endwith %} {% endblock %}