{%- import "partials/_ui.html" as ui -%}
Docs: Analytics → Export data →

{% if active_range == "7d" %}Last 7 days{% else if active_range == "30d" %}Last 30 days{% else if active_range == "90d" %}Last 90 days{% else %}All time{% endif %}

{% for stat in stats %}
{{ stat.label }}
{{ stat.value }}
{% if let Some(change) = stat.change %}
{{ change }}
{% endif %}
{% endfor %}

Revenue Over Time

{% if bars.is_empty() %} {% call ui::empty_state_chart("No revenue data yet. Revenue will appear here after your first sale. Publish an item and share it to get started.") %} {% else %}
{% for bar in bars %}
{{ bar.label }}
{% endfor %}
{% endif %}

Top Performing Items

{% if items.is_empty() %}

No sales data yet. Publish and promote your items to see analytics here.

{% else %} {% endif %}