{% extends "pretix_event_analytics/base.html" %}
{% load i18n money analytics_tags %}
{% block section %}
{% if not data.admissions %}
{% trans "No tickets match the current filters." %}
{% else %}
{% trans "Products" %}{% blocktrans with n=data.admissions %}{{ n }} admission tickets{% endblocktrans %}
{% trans "Tickets by product" as pt %}
{% include "pretix_event_analytics/_chart.html" with chart=data.product_chart title=pt size="tall" %}
{% trans "Product performance" %}
| {% trans "Product" %} | {% trans "Tickets" %} | {% trans "Revenue" %} | {% trans "Avg price" %} | {% trans "Returning" %} | {% if data.products.0.checkin_pct is not None %}{% trans "Checked in" %} | {% endif %}
{% for p in data.products %}| {{ p.name }} | {{ p.tickets }} {{ p.share }}% |
{{ p.revenue|money:currency }} | {{ p.avg|money:currency }} |
{% if p.returning_pct is not None %}{{ p.returning_pct }}%{% else %}–{% endif %} |
{% if p.checkin_pct is not None %}{{ p.checkin_pct }}% | {% endif %}
{% endfor %}
{% if data.capacity %}
{% trans "Capacity" %}
{% trans "Live from Pretix quotas: paid, reserved (pending payment) and still available." %}
| {% trans "Quota" %} | {% trans "Size" %} | {% trans "Paid" %} | {% trans "Pending" %} | {% trans "Available" %} | {% trans "Waiting list" %} | |
{% for q in data.capacity %}
| {{ q.name }} | {{ q.size }} | {{ q.paid }} | {{ q.pending }} |
{{ q.available }} | {{ q.waiting }} |
{{ q.sold_pct }}% |
{% endfor %}
{% endif %}
{% if data.categories or data.variations %}
{% if data.categories %}
| {% trans "Category" %} | {% trans "Tickets" %} | {% trans "Items incl. add-ons" %} | {% trans "Revenue" %} |
{% for c in data.categories %}| {{ c.name }} | {{ c.tickets }} | {{ c.items }} | {{ c.revenue|money:currency }} |
{% endfor %}
{% endif %}
{% if data.variations %}
| {% trans "Product" %} | {% trans "Variation" %} | {% trans "Sold" %} | {% trans "Revenue" %} | {% trans "Avg price" %} |
{% for v in data.variations %}| {{ v.product }} | {{ v.name }} | {{ v.count }} | {{ v.revenue|money:currency }} | {{ v.avg|money:currency }} |
{% endfor %}
{% endif %}
{% endif %}
{% if data.price_points %}
{% trans "Price tiers" %}{% trans "every list price a product sold at, in order of first sale · voucher sales excluded" %}
| {% trans "Product" %} | {% trans "Price" %} | {% trans "Sold" %} | {% trans "First sale" %} | {% trans "Last sale" %} |
{% for g in data.price_points %}{% for p in g.points %}
| {% if forloop.first %}{{ g.product }}{% if g.addon %} {% trans "add-on" %}{% endif %}{% endif %} |
{{ p.price|money:currency }} | {{ p.count }} |
{{ p.first|date:"SHORT_DATE_FORMAT" }} | {{ p.last|date:"SHORT_DATE_FORMAT" }} |
{% endfor %}{% endfor %}
{% endif %}
{% if data.addons %}
{% trans "Add-ons" %}
{% trans "Add-on products" %}
| {% trans "Add-on" %} | {% trans "Sold" %} | {% trans "Revenue" %} | {% trans "In % of orders" %} |
{% for a in data.addons %}| {{ a.name }} | {{ a.count }} | {{ a.revenue|money:currency }} | {{ a.attach_pct }}% |
{% endfor %}
{% if data.addon_segments %}
{% trans "Who buys add-ons" %}
| {% trans "Segment" %} | {% trans "Orders" %} | {% trans "With add-ons" %} |
{% for s in data.addon_segments %}| {{ s.label }} | {{ s.total }} |
{{ s.pct }}% |
{% endfor %}
{% endif %}
{% endif %}
{% if data.vouchers %}
{% trans "Vouchers & discount codes" %}{% blocktrans with p=data.voucher_share %}{{ p }}% of items used a voucher{% endblocktrans %}
| {% trans "Voucher tag" %} | {% trans "Codes used" %} | {% trans "Orders" %} | {% trans "Items" %} | {% trans "Revenue" %} | {% trans "Avg price" %} |
{% for v in data.vouchers %}| {{ v.tag }} | {{ v.codes }} | {{ v.orders }} | {{ v.tickets }} | {{ v.revenue|money:currency }} | {{ v.avg|money:currency }} |
{% endfor %}
{% endif %}
{% endif %}
{% endblock %}