{% extends "pretixcontrol/organizers/base.html" %} {% load i18n static money analytics_tags %} {% block title %}{{ series.name }} · {% trans "Analytics" %}{% endblock %} {% block content %}

{{ series.name }}

{% blocktrans count n=data.rows|length %}{{ n }} edition{% plural %}{{ n }} editions{% endblocktrans %} · {% blocktrans with n=data.people_total %}{{ n }} different people across the series{% endblocktrans %}
{% trans "People" %} {% trans "Buyers only" %}
{% csrf_token %}
{% trans "All series" %}
{% if not data.rows %}
{% trans "No editions are linked to this series yet. Open an event’s Analytics settings and choose this series." %}
{% else %}
{% trans "Editions side by side" %}
{% for r in data.rows %}{% endfor %}
{% trans "Edition" %}{% trans "Tickets" %}{% trans "Orders" %}{% trans "Revenue" %} {% trans "People" %}{% trans "First-timers" %}{% trans "Retention" %} {% trans "Canceled" %}{% trans "Checked in" %}
{{ r.label }}{% if not r.event_id %} {% trans "imported" %}{% endif %}{% if r.on_sale %} {% trans "on sale" %}{% endif %} {% if r.tickets is not None %}{{ r.tickets }}{% else %}–{% endif %} {% if r.orders is not None %}{{ r.orders }}{% else %}–{% endif %} {% if r.revenue is not None %}{{ r.revenue|money:currency }}{% else %}–{% endif %} {{ r.people }}{% if r.unidentified %} +{{ r.unidentified }}{% endif %} {% if r.first_time_pct is not None %}{{ r.first_time_pct }}%{% else %}–{% endif %} {% if r.retention_pct is not None %}{{ r.retention_pct }}%{% if r.on_sale %} {% trans "so far" %}{% endif %}{% else %}–{% endif %} {% if r.refund_pct is not None %}{{ r.refund_pct }}%{% else %}–{% endif %} {% if r.checkin_pct is not None %}{{ r.checkin_pct }}%{% else %}–{% endif %}
{% trans "Tickets per edition" as gt %} {% include "pretix_event_analytics/_chart.html" with chart=data.growth_chart title=gt size="short" %} {% trans "Who made up each edition" as ft %} {% include "pretix_event_analytics/_chart.html" with chart=data.flow.chart title=ft size="short" %}
{% if data.first_cohorts.rows %}
{% trans "Do first-timers come back?" %}
{% trans "People grouped by the edition they first came to, and the share of them at each later edition." %}
{% for c in data.first_cohorts.columns %}{% endfor %}{% for r in data.first_cohorts.rows %} {% for p in r.pad %}{% endfor %} {% for c in r.cells %}{% endfor %} {% endfor %}
{% trans "First came" %}{{ c }}
{{ r.label }} ({{ r.size }}){{ c.pct|floatformat:0 }}%
{% endif %}

{% trans "For overlaps between any chosen editions and once/twice/three-times counts, open the Loyalty tab of an edition’s dashboard." %}

{% endif %}

{% trans "Past editions from before Pretix" %}

{% trans "Import an attendee list" %}

{% trans "Best: a CSV with a header row and columns for the name and the birth date (e.g. “Name, Birth date” or “First name, Last name, DOB”) — people are then matched to later ticket holders exactly like Pretix tickets. Otherwise, any file with e-mail addresses (a mailing list, an old ticketing export) counts those addresses as past customers." %} {% trans "Everything is hashed on the server with the same secret key as all analytics data; the file itself and the plain values are discarded immediately." %}

{% csrf_token %}
{{ legacy_form.label.label_tag }} {{ legacy_form.label }}
{{ legacy_form.edition_year.label_tag }} {{ legacy_form.edition_year }}
{{ legacy_form.emails_file.label_tag }} {{ legacy_form.emails_file }}

{{ legacy_form.emails_file.help_text }}

{{ legacy_form.emails_text.label_tag }} {{ legacy_form.emails_text }}
{% trans "Imported editions" %}
{% for le in legacy_editions %}{% empty %}{% endfor %}
{% trans "Edition" %}{% trans "People" %}{% trans "Imported" %}
{{ le.label }} ({{ le.edition_year }}){{ le.n }}{{ le.created_at|date:"SHORT_DATE_FORMAT" }}
{% csrf_token %}
{% trans "None yet." %}
{% endblock %}