{% extends "pretix_event_analytics/base.html" %} {% load i18n money analytics_tags %} {% block section %} {% with o=data.options f=data.forecast %}
{% trans "Group by" %} {% trans "Day" %} {% trans "Week" %} {% trans "Month" %}
{% trans "Split by" %} {% trans "Nothing" %} {% trans "Product" %} {% trans "Category" %} {% trans "New / returning" %} {% trans "Country" %}
{% trans "Date" %} {% trans "Order placed" %} {% trans "Payment" %}
{% if data.series_empty %}
{% trans "No sales match the current filters." %}
{% else %} {% trans "Tickets sold" as t_title %} {% trans "Admission tickets; add-ons are not counted as tickets. Markers: your moments (solid) and price-tier changes (dashed)." as t_note %} {% include "pretix_event_analytics/_chart.html" with chart=data.tickets_chart title=t_title note=t_note group="sales" %} {% trans "Revenue" as r_title %} {% include "pretix_event_analytics/_chart.html" with chart=data.revenue_chart title=r_title note=data.revenue_note group="sales" %} {% endif %}
{% trans "Moments" %}
{% trans "Mark what happened — line-up announcements, newsletters, campaigns — to explain spikes. Shown on the charts above and on the edition comparison." %}
{% if annotations %} {% else %}

{% trans "No moments recorded yet." %}

{% endif %} {% if can_annotate %}
{% trans "Add a moment" %}
{% csrf_token %}
{% endif %}
{% if f %}

{% trans "Forecast" %}{% blocktrans with d=f.days_left %}{{ d }} days to go{% endblocktrans %}

{% trans "Projected tickets" %}
{{ f.tickets|floatformat:0 }}
{% blocktrans with lo=f.tickets_low hi=f.tickets_high %}likely between {{ lo }} and {{ hi }}{% endblocktrans %}
{% if f.revenue %}
{% trans "Projected revenue" %}
{{ f.revenue|money:currency }}
{% blocktrans with lo=f.revenue_low|money:currency hi=f.revenue_high|money:currency %}{{ lo }} – {{ hi }}{% endblocktrans %}
{% endif %} {% if f.ticket_target %}
{% trans "Ticket target" %}
{{ f.ticket_target_pct }}%
{% blocktrans with t=f.ticket_target p=f.tickets_forecast_target_pct %}of {{ t }} sold · forecast {{ p }}%{% endblocktrans %}
{% endif %} {% if f.revenue_target %}
{% trans "Revenue target" %}
{{ f.revenue_target_pct }}%
{% blocktrans with t=f.revenue_target|money:currency %}of {{ t }}{% endblocktrans %}
{% endif %}

{% blocktrans with years=f.basis|join:", " %}Projection: sales so far × how much each previous edition ({{ years }}) still grew from the same number of days out. The range spans the slowest and fastest of those editions.{% endblocktrans %}

{% endif %} {% if data.pacing_tickets %}

{% trans "Editions compared" %}{% trans "same days-before-event timeline" %}

{% trans "Cumulative tickets" as pt %} {% include "pretix_event_analytics/_chart.html" with chart=data.pacing_tickets title=pt size="tall" %}
{% if data.pacing_table %}
{% if data.pacing_point %}{% blocktrans with d=data.pacing_point %}Where each edition stood with {{ d }} days to go{% endblocktrans %}{% else %}{% trans "Final totals by edition" %}{% endif %}
{% if data.pacing_point %}{% endif %} {% if data.pacing_point %}{% endif %} {% for r in data.pacing_table %} {% if data.pacing_point %} {% endif %} {% if data.pacing_point %}{% endif %} {% endfor %}
{% trans "Edition" %}{% trans "Tickets then" %}{% trans "Revenue then" %}{% trans "Current vs then" %}{% trans "Final tickets" %}{% trans "Final revenue" %}{% trans "Share sold by then" %}
{{ r.label }}{{ r.at_tickets|floatformat:0 }} {{ r.at_revenue|money:currency }} {% if r.delta_tickets_pct is not None %}{% if r.delta_tickets_pct > 0 %}+{% endif %}{{ r.delta_tickets_pct }}%{% else %}–{% endif %}{% if r.final_tickets is not None %}{{ r.final_tickets|floatformat:0 }}{% else %}{% trans "on sale" %}{% endif %} {% if r.final_revenue is not None %}{{ r.final_revenue|money:currency }}{% else %}–{% endif %}{% if r.share_at_point is not None %}{{ r.share_at_point }}%{% else %}–{% endif %}
{% trans "Dashboard filters apply to every edition, so you can compare e.g. only first-time buyers or only one country." %}
{% endif %} {% endif %}

{% trans "When people buy" %}

{% trans "How far ahead tickets were bought" as tt %} {% include "pretix_event_analytics/_chart.html" with chart=data.timing.chart title=tt size="short" %}
{% trans "Orders by weekday and hour" %}
{{ data.heatmap.timezone }}
{% for h in "012345678901234567890123"|make_list %}{% if forloop.counter0|divisibleby:3 %}{% endif %}{% endfor %} {% for row in data.heatmap.rows %} {% for c in row.cells %}{% endfor %} {% endfor %}
{{ forloop.counter0|stringformat:"02d" }}
{{ row.day }}{{ c.n }}
{% trans "fewer" %} {% trans "more" %} · {% blocktrans with n=data.heatmap.peak %}busiest hour: {{ n }} orders{% endblocktrans %}

{% trans "By period" %}

{% for r in data.series_table %} {% empty %} {% endfor %}
{% trans "Period" %}{% trans "Orders" %}{% trans "Tickets" %}{% trans "Revenue" %}{% trans "Tickets to date" %}{% trans "Revenue to date" %}
{{ r.label }}{{ r.orders }}{{ r.tickets }}{{ r.revenue|money:currency }}{{ r.cum_tickets }}{{ r.cum_revenue|money:currency }}
{% trans "No sales in this selection." %}
{% endwith %} {% endblock %}