2019-03-18 20:02:26 +01:00
|
|
|
{% extends "hobo/base.html" %}
|
|
|
|
{% load i18n %}
|
|
|
|
|
|
|
|
{% block breadcrumb %}
|
|
|
|
{{ block.super }}
|
|
|
|
<a href="{% url 'matomo-home' %}">Matomo</a>
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block appbar %}
|
|
|
|
<h2>{% trans "User tracking" %}</h2>
|
|
|
|
{% if enabled %}
|
|
|
|
<span class="actions">
|
|
|
|
<a rel="popup" href="{% url 'matomo-disable' %}">{% trans 'Disable' %}</a>
|
|
|
|
{% if mode == 'auto' %}
|
|
|
|
<a href={{ logme_url }}>{% trans "Open visit tracking dashboard" %}</a>
|
|
|
|
{% endif %}
|
2022-09-29 17:24:45 +02:00
|
|
|
</span>
|
2019-03-18 20:02:26 +01:00
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|
|
|
|
|
|
|
|
{% block content %}
|
|
|
|
|
|
|
|
<div class="infonotice">
|
|
|
|
{% if not enabled %}
|
2022-09-29 17:24:45 +02:00
|
|
|
<p>
|
2022-09-29 17:32:15 +02:00
|
|
|
{% blocktrans trimmed %}
|
2019-03-18 20:02:26 +01:00
|
|
|
The audience measurement tools are deployed to obtain information about
|
|
|
|
visitor navigation. They help to understand where users come from on a site
|
|
|
|
and reconstruct their browsing activity. These tools use technologies that
|
|
|
|
permit to trace users on your site and associate a "referrer" or campaign
|
|
|
|
with a unique identifier.
|
|
|
|
{% endblocktrans %}
|
2022-09-29 17:24:45 +02:00
|
|
|
</p>
|
2019-03-18 20:02:26 +01:00
|
|
|
{% if ws_available %}
|
2022-09-29 17:24:45 +02:00
|
|
|
<p>
|
2022-09-29 17:32:15 +02:00
|
|
|
{% blocktrans trimmed %}
|
2019-03-18 20:02:26 +01:00
|
|
|
Publik can automatically use a tool called "Matomo", which is the tracker
|
|
|
|
solution recommended by the National Commission for Data Protection and Liberties (<a
|
|
|
|
href="https://www.cnil.fr/fr/solutions-pour-les-cookies-de-mesure-daudience">CNIL-France</a>).
|
|
|
|
{% endblocktrans %}
|
2022-09-29 17:24:45 +02:00
|
|
|
</p>
|
2019-03-18 20:02:26 +01:00
|
|
|
{% else %}
|
2022-09-29 17:24:45 +02:00
|
|
|
<p>
|
2022-09-29 17:32:15 +02:00
|
|
|
{% blocktrans trimmed %}
|
2019-03-18 20:02:26 +01:00
|
|
|
Matomo is the tracker solution recommended by the National Commission for Data
|
|
|
|
Protection and Liberties (<a
|
|
|
|
href="https://www.cnil.fr/fr/solutions-pour-les-cookies-de-mesure-daudience">CNIL-France</a>).
|
|
|
|
It requires <a href="https://www.cnil.fr/sites/default/files/typo/document/Configuration_piwik.pdf"
|
|
|
|
>little configuration</a> to be exempt from legal consent.
|
|
|
|
{% endblocktrans %}
|
2022-09-29 17:24:45 +02:00
|
|
|
</p>
|
2019-03-18 20:02:26 +01:00
|
|
|
{% endif %}
|
|
|
|
{% else %}
|
|
|
|
{% if mode == 'manual' %}
|
|
|
|
{% trans "Manual configuration." %}
|
|
|
|
{% elif mode == 'auto' %}
|
|
|
|
{% trans "Automatic configuration." %}
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
2022-09-29 17:24:45 +02:00
|
|
|
</div>
|
|
|
|
|
2019-03-18 20:02:26 +01:00
|
|
|
{% if not enabled %}
|
|
|
|
<p>
|
|
|
|
{% trans "Support is currently disabled." %}
|
|
|
|
</p>
|
|
|
|
<p>
|
|
|
|
<a class="button" rel="popup" href="{% url 'matomo-enable-manual' %}">{% trans 'Manual Configuration' %}</a>
|
|
|
|
{% if ws_available %}
|
|
|
|
<a class="button" rel="popup" href="{% url 'matomo-enable-auto' %}">{% trans 'Automatic Configuration' %}</a>
|
|
|
|
{% endif %}
|
|
|
|
</p>
|
|
|
|
{% else %}
|
|
|
|
{% if tracking_js != '' %}
|
|
|
|
{% if cnil_ack_level == 'excellent' %}
|
|
|
|
<div class="successnotice">
|
|
|
|
{% trans "Excellent respect of user rights." %}
|
2022-09-29 17:24:45 +02:00
|
|
|
</div>
|
2019-03-18 20:02:26 +01:00
|
|
|
{% elif cnil_ack_level == 'good' %}
|
|
|
|
<div class="warningnotice">
|
|
|
|
{% trans "Good respect of user rights." %}
|
|
|
|
</div>
|
|
|
|
{% elif cnil_ack_level == 'bad' %}
|
|
|
|
<div class="errornotice">
|
|
|
|
{% trans "No respect of user rights." %}
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if mode == 'manual' %}
|
|
|
|
<form method="post">
|
2020-07-27 14:20:46 +02:00
|
|
|
{% csrf_token %}
|
2019-03-18 20:02:26 +01:00
|
|
|
{{ form.as_p }}
|
|
|
|
|
|
|
|
<div class="buttons">
|
|
|
|
<button class="submit-button">{% trans "Save" %}</button>
|
2022-09-29 17:24:45 +02:00
|
|
|
</div>
|
2019-03-18 20:02:26 +01:00
|
|
|
</form>
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
{% endblock %}
|