{% if h.ckan_version().split('.')|map('int')|list >= [2, 9, 0] %} {% asset "ytp_resources/d3_js" %} {% asset "ckanext-matomo_js/chart-doughnut_js" %} {% asset "ckanext-matomo_js/chart-column_js" %} {% else %} {% resource "ytp_dataset_js/d3.js" %} {% resource "ckanext-matomo_js/chart-doughnut.js" %} {% resource "ckanext-matomo_js/chart-column.js" %} {% endif %}

{% trans %}Audience locations{% endtrans %}

{% trans %}Collected since{% endtrans %} {{ h.render_datetime(data['data']['first_date']) }}

{% if data['data']['top_locations'] %} {% for toplocation in data['data']['top_locations'] %} {% endfor %}
{% trans %}Countries{% endtrans %} {% trans %}Sessions (since recording started){% endtrans %} {% trans %}Sessions{% endtrans %} (%)
{{ _(toplocation.location_name) }} {{ toplocation.total_visits }} {{ toplocation.percent_visits|round(2) }} %
{% else %}

{% trans %}No statistics found for audience locations.{% endtrans %}

{% endif %}