Add Plausible analytics with JSON Upload custom event.

Load tagged-events from plausible.elpatron.me on all pages, allow it in CSP, and track successful save uploads with import status.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-19 16:58:58 +02:00
parent 5c87df1e5e
commit 810ad67ab6
5 changed files with 12 additions and 2 deletions
+1
View File
@@ -5,6 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Idle Fantasy Viewer</title>
<link rel="stylesheet" href="/static/style.css">
{% include '_analytics.html' %}
<script src="/static/vendor/chart.umd.min.js" defer></script>
<script src="/static/i18n.js" defer></script>
<script src="/static/app.js" defer></script>