{% extends "pretixcontrol/event/base.html" %} {% load i18n static %} {% block title %}{% trans "Analytics settings" %} — {{ request.event.name }}{% endblock %} {% block content %}

{% trans "Analytics settings" %}

{% if has_analytics_data %} {% blocktrans count n=analytics_order_count %}{{ n }} order analysed{% plural %}{{ n }} orders analysed{% endblocktrans %} {% if analytics_last_synced %}· {% trans "updated" %} {{ analytics_last_synced|date:"SHORT_DATETIME_FORMAT" }}{% endif %} {% else %} {% trans "No orders analysed yet. Save the settings below, then run a first sync." %} {% endif %}

{% trans "Open dashboard" %}
{% csrf_token %}
{% csrf_token %} {% if form.non_field_errors %}
{{ form.non_field_errors|join:" " }}
{% endif %} {# ── 1. Edition (required) ─────────────────────────────────────────── #}

{% trans "This edition" %}

{% trans "Tell the plugin which recurring event this is, so editions can be compared." %}

{{ form.series }} {% for e in form.series.errors %}

{{ e }}

{% endfor %}

{% trans "All editions of the same festival share one series." %} {% trans "New series" %} · {% trans "Manage series" %}

{% if not form.instance.series_id %}
{% trans "What is a series?" %}

{% blocktrans %}A series is your recurring event — e.g. My Festival. Each year is one edition. Linking editions unlocks returning-people figures, edition comparisons and the forecast. One-off events can skip this.{% endblocktrans %}

{% endif %}
{{ form.edition_year }} {% for e in form.edition_year.errors %}

{{ e }}

{% endfor %}

{% trans "Orders editions on timelines and in comparisons." %}

{{ form.home_country }}

{% trans "Buyers from this country count as local." %}

{# ── 2. Goals & alerts (optional) ───────────────────────────────────── #}

{% trans "Goals & alerts" %}

{{ goals_summary }}

{% trans "Optional. Targets appear next to the sales forecast; the alert e-mails you if sales fall behind last year." %}

{{ form.ticket_target }} {% trans "tickets" %} {{ form.revenue_target }} {{ request.event.currency }}

{% trans "E.g. your capacity or budget break-even. Leave empty if you don't need it." %}

{% trans "E-mail when tickets are" %} {{ form.pace_alert_threshold }} {% trans "% behind the previous edition" %}
{% for e in form.pace_alert_threshold.errors %}

{{ e }}

{% endfor %} {{ form.pace_alert_recipients }} {% for e in form.pace_alert_recipients.errors %}

{{ e }}

{% endfor %}

{% trans "Compared at the same number of days before the event. At most one e-mail a week while sales stay behind. Leave the percentage empty to switch it off." %}

{# ── 3. Question insights (optional) ────────────────────────────────── #}

{% trans "Question insights" %}

{{ questions_summary }}

{% trans "Break down answers to your checkout questions (e.g. “How did you hear about us?”) by first-time and returning attendees. Only yes/no and multiple-choice questions can be used, and only the chosen option is stored." %}

{% if form.tracked_questions.field.choices %}
{{ form.tracked_questions }}

{% trans "Avoid sensitive topics (health, diet related to health) unless you have a legal basis. Changes apply after the next resync." %}

{% else %}

{% trans "This event has no yes/no or multiple-choice questions." %}

{% endif %}
{# ── 4. Where people come from (optional) ───────────────────────────── #}

{% trans "Where people come from" %}

{{ origin_summary }}

{% trans "Each order's country of residence is taken from the first of: a “Country of residence” question, the invoice address, PayPal, the card's billing address, the ID document (if enabled below), the IBAN, and finally the country of the bank that issued the card. Nothing else is guessed — without a source the country stays unknown. The Audience page shows how many orders each source covers." %}

  • {% if origin_questions.residence %} {% trans "Residence:" %} {{ origin_questions.residence }}{% else %} {% trans "No “Country of residence” question" %}{% endif %}
  • {% if origin_questions.travel %} {% trans "Travel:" %} {{ origin_questions.travel }}{% else %} {% trans "No “Travelling from” question" %}{% endif %}

{% trans "Most accurate: add the questions “Country of residence” and “Which country are you travelling from?” (question type Country) under Products → Questions. Ask for residence, not “origin” or nationality, and mention the purpose in your privacy notice." %}

{{ form.id_question }} {% for e in form.id_question.errors %}

{{ e }}

{% endfor %}

{% trans "Optional. If checkout asks for an ID-document number, the issuing country can be read from recognisable national formats with a valid check digit (e.g. Spanish DNI/NIE, Portuguese Cartão de Cidadão). Unclear numbers are left unknown. Only the country is stored — never the number." %}

{% trans "Before you enable this (GDPR)" %}

{% blocktrans %}ID numbers are collected for entry checks. Reusing them for statistics is a new purpose: list it in your privacy notice (e.g. “aggregate statistics on where visitors come from”) and make sure you have a legal basis such as legitimate interest. A document shows the issuing country — usually nationality, not residence — so it is used only when no residence source exists.{% endblocktrans %}

{# ── 5. Advanced ───────────────────────────────────────────────────── #}

{% trans "Advanced" %}

{% if form.instance.is_active %}{% trans "Counted in comparisons" %}{% else %}{% trans "Excluded from comparisons" %}{% endif %}

{% trans "Untick for test events or editions that should not decide who counts as a returning visitor. This event's own dashboard keeps working either way." %}

{% trans "No personal data is stored: e-mails and other identifiers are kept only as irreversible hashes." %}
{% endblock %}