{% endif %}
{% include "../generic_confirmation_dialog.html" %}
- {% include "../tutorials/page_tree.html" with tutorial_id="page-tree" hidden=request.user.page_tree_tutorial_seen %}
+ {% include "../tutorials/page_tree.html" with tutorial_id="page-tree" hidden=tutorial_seen %}
{% include "pages/_page_preview_overlay.html" %}
{% include "pages/_page_xliff_export_overlay.html" %}
{% include "_machine_translation_overlay.html" %}
diff --git a/integreat_cms/cms/templates/statistics/statistics_overview.html b/integreat_cms/cms/templates/statistics/statistics_overview.html
index 2a7c754b34..b45d3afe5a 100644
--- a/integreat_cms/cms/templates/statistics/statistics_overview.html
+++ b/integreat_cms/cms/templates/statistics/statistics_overview.html
@@ -6,6 +6,10 @@
{% translate "Statistics" %}
+
@@ -17,5 +21,6 @@
+ {% include "../tutorials/page_access_statistics.html" with tutorial_id="page-access-statistics-info" hidden=tutorial_seen %}
{% endblock content %}
{% endif %}
diff --git a/integreat_cms/cms/templates/tutorials/page_access_statistics.html b/integreat_cms/cms/templates/tutorials/page_access_statistics.html
new file mode 100644
index 0000000000..c92200366f
--- /dev/null
+++ b/integreat_cms/cms/templates/tutorials/page_access_statistics.html
@@ -0,0 +1,38 @@
+{% extends "../generic_tutorial_dialog.html" %}
+{% load i18n %}
+{% load static %}
+{% block content %}
+
+
+
+ {% translate "Important information about page access" %}
+
+
+
+
+
+ {% translate "There is a text here that helps employees to interpret the numbers and statistics appropriately." %}
+
+
+ -
+ {% translate "Offline access cannot be counted. This means that even a page with few hits in the list can have higher hits that took place offline." %}
+
+ -
+ {% translate "Pages that contain specific information about seasonal or one-time events (e.g. events or election times) may receive higher traffic during certain periods. Outside these phases, traffic may be lower." %}
+
+ -
+ {% translate "Page views should not be viewed in isolation, but always in the context of the overall communication strategy. A page with few hits can still be an important part of user guidance and information." %}
+
+ -
+ {% translate "Some pages may be rarely visited, but are extremely important for specific target groups (e.g. newcomers, people with special needs). For example, information about special advisory services or integration offers could not be used by the general public, but could be indispensable for the target group." %}
+
+ -
+ {% translate "Content that is no longer current or appears outdated can lead to a decrease in traffic. It is therefore important to regularly check whether content has been updated and how this affects the statistics. Low traffic numbers could indicate that the page is no longer perceived as relevant." %}
+
+
+
+ {% translate "You can find more information about this in " %}{% translate "Wiki" %}
+
+
+{% endblock content %}
diff --git a/integreat_cms/cms/views/pages/page_tree_view.py b/integreat_cms/cms/views/pages/page_tree_view.py
index 19430164dc..70e5157358 100644
--- a/integreat_cms/cms/views/pages/page_tree_view.py
+++ b/integreat_cms/cms/views/pages/page_tree_view.py
@@ -154,5 +154,6 @@ def get(self, request: HttpRequest, *args: Any, **kwargs: Any) -> HttpResponse:
currently_in_translation=True,
).count()
> 0,
+ "tutorial_seen": request.user.page_tree_tutorial_seen,
},
)
diff --git a/integreat_cms/cms/views/settings/dismiss_tutorial_view.py b/integreat_cms/cms/views/settings/dismiss_tutorial_view.py
index e59073e19f..30d2e1d98a 100644
--- a/integreat_cms/cms/views/settings/dismiss_tutorial_view.py
+++ b/integreat_cms/cms/views/settings/dismiss_tutorial_view.py
@@ -31,6 +31,8 @@ def post(self, request: HttpRequest, *args: Any, **kwargs: Any) -> JsonResponse:
if (tutorial_slug := kwargs.get("slug")) == "page-tree":
request.user.page_tree_tutorial_seen = True
+ elif (tutorial_slug := kwargs.get("slug")) == "page-access-statistics-info":
+ request.user.statistics_tutorial_seen = True
else:
return JsonResponse(
{"error": f"Tutorial '{tutorial_slug}' not found."}, status=404
diff --git a/integreat_cms/cms/views/statistics/statistics_view.py b/integreat_cms/cms/views/statistics/statistics_view.py
index 6b6fd47aac..7d900748a6 100644
--- a/integreat_cms/cms/views/statistics/statistics_view.py
+++ b/integreat_cms/cms/views/statistics/statistics_view.py
@@ -63,5 +63,6 @@ def get(
{
**self.get_context_data(**kwargs),
"form": form,
+ "tutorial_seen": request.user.statistics_tutorial_seen,
},
)
diff --git a/integreat_cms/locale/de/LC_MESSAGES/django.po b/integreat_cms/locale/de/LC_MESSAGES/django.po
index 3db16416fa..c407308584 100644
--- a/integreat_cms/locale/de/LC_MESSAGES/django.po
+++ b/integreat_cms/locale/de/LC_MESSAGES/django.po
@@ -4353,6 +4353,18 @@ msgstr ""
"Wird auf wahr gesetzt, wenn der:die Benutzer:in das Tutorial zum Seitenbaum "
"angesehen hat"
+#: cms/models/users/user.py
+msgid "Page access statistics tutorial seen"
+msgstr "Tutorial zu seitenbasierten Zugriffe angesehen"
+
+#: cms/models/users/user.py
+msgid ""
+"Will be set to true once the user dismissed the tutorial for page access "
+"statistics"
+msgstr ""
+"Wird auf wahr gesetzt, wenn der:die Benutzer:in das Tutorial zum "
+"Seitezugriff angesehen hat"
+
#: cms/models/users/user.py
msgid "automatically distribute sidebar boxes"
msgstr "Sidebar-Boxen automatisch verteilen"
@@ -8542,6 +8554,84 @@ msgstr "Summe pro Art des Inhalts"
msgid "Total per Status"
msgstr "Summe pro Status"
+#: cms/templates/tutorials/page_access_statistics.html
+msgid "Important information about page access"
+msgstr "Wichtige Hinweise zu Seitenzugriffen"
+
+#: cms/templates/tutorials/page_access_statistics.html
+msgid ""
+"There is a text here that helps employees to interpret the numbers and "
+"statistics appropriately."
+msgstr ""
+"Hier steht ein Text, der Mitarbeiter:innen dabei hilft, die Zahlen und "
+"Statistiken angemessen interpretieren zu können."
+
+#: cms/templates/tutorials/page_access_statistics.html
+msgid ""
+"Offline access cannot be counted. This means that even a page with few hits "
+"in the list can have higher hits that took place offline."
+msgstr ""
+"Offline-Zugriffe können nicht mitgerechnet werden. D.h. auch eine Seite mit "
+"wenigen Zugriffen in der Liste kann höhere Zugriffe haben, die offline "
+"stattgefunden haben."
+
+#: cms/templates/tutorials/page_access_statistics.html
+msgid ""
+"Pages that contain specific information about seasonal or one-time events (e."
+"g. events or election times) may receive higher traffic during certain "
+"periods. Outside these phases, traffic may be lower."
+msgstr ""
+"Seiten, die spezifische Informationen zu saisonalen oder einmaligen "
+"Ereignissen enthalten (z.B. Veranstaltungen oder Wahlzeiten), können in "
+"bestimmten Phasen höhere Zugriffszahlen aufweisen. Außerhalb dieser Phasen "
+"sind die Zugriffe eventuell niedriger."
+
+#: cms/templates/tutorials/page_access_statistics.html
+msgid ""
+"Page views should not be viewed in isolation, but always in the context of "
+"the overall communication strategy. A page with few hits can still be an "
+"important part of user guidance and information."
+msgstr ""
+"Seitenzugriffe sollten nicht isoliert betrachtet werden, sondern immer im "
+"Kontext der gesamten Kommunikationsstrategie. Eine Seite mit wenigen "
+"Zugriffen kann trotzdem ein wichtiger Bestandteil der Nutzerführung und "
+"Information sein."
+
+#: cms/templates/tutorials/page_access_statistics.html
+msgid ""
+"Some pages may be rarely visited, but are extremely important for specific "
+"target groups (e.g. newcomers, people with special needs). For example, "
+"information about special advisory services or integration offers could not "
+"be used by the general public, but could be indispensable for the target "
+"group."
+msgstr ""
+"Manche Seiten werden möglicherweise selten besucht, sind aber für "
+"spezifische Zielgruppen (z.B. Neuankömmlinge, Menschen mit besonderen "
+"Bedürfnissen) extrem wichtig. Zum Beispiel könnten Informationen über "
+"spezielle Beratungsdienste oder Integrationsangebote nicht von der breiten "
+"Masse genutzt werden, aber für die Zielgruppe unverzichtbar sein."
+
+#: cms/templates/tutorials/page_access_statistics.html
+msgid ""
+"Content that is no longer current or appears outdated can lead to a decrease "
+"in traffic. It is therefore important to regularly check whether content has "
+"been updated and how this affects the statistics. Low traffic numbers could "
+"indicate that the page is no longer perceived as relevant."
+msgstr ""
+"Inhalte, die nicht mehr aktuell sind oder veraltet erscheinen, können zu "
+"einem Rückgang der Zugriffe führen. Es ist daher wichtig, regelmäßig zu "
+"überprüfen, ob Inhalte aktualisiert wurden und wie dies die Statistiken "
+"beeinflusst. Niedrige Zugriffszahlen könnten darauf hinweisen, dass die "
+"Seite nicht mehr als relevant wahrgenommen wird."
+
+#: cms/templates/tutorials/page_access_statistics.html
+msgid "You can find more information about this in "
+msgstr "Mehr Informationen dazu finden Sie im "
+
+#: cms/templates/tutorials/page_access_statistics.html
+msgid "Wiki"
+msgstr "Wiki"
+
#: cms/templates/tutorials/page_tree.html
msgid "Introduction - Page Tree"
msgstr "Einführung in den neuen Seiten-Baum"
@@ -11252,9 +11342,6 @@ msgstr ""
#~ msgid "Import calendar"
#~ msgstr "Kalender importieren"
-#~ msgid "Find more information about this"
-#~ msgstr "Mehr Informationen finden Sie"
-
#~ msgid ""
#~ "Easy words and short sentences can increase the text understandability."
#~ msgstr ""
diff --git a/integreat_cms/release_notes/current/unreleased/3132.yml b/integreat_cms/release_notes/current/unreleased/3132.yml
new file mode 100644
index 0000000000..16f9f1c0c1
--- /dev/null
+++ b/integreat_cms/release_notes/current/unreleased/3132.yml
@@ -0,0 +1,2 @@
+en: Add popup with information about page access statistics
+de: Füge Popup mit Informationen über die seitenbasierten Zugriffsstatistiken hinzu