Aggiunge heatmaps first-party (click/scroll) con pagina admin Analytics.

Raccoglie eventi aggregati dietro consenso cookie, senza PII né tracking su admin/regia/live/replay; GA4 resta invariato.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-20 22:50:15 +02:00
co-authored by Cursor
parent cc96c0396a
commit 8a07c5d569
36 changed files with 1247 additions and 14 deletions
+42
View File
@@ -935,3 +935,45 @@ body.admin-body {
margin-bottom: 1rem;
}
.admin-scroll-bar {
position: relative;
height: 14px;
border-radius: 999px;
background: #0d0d12;
border: 1px solid var(--card-border);
overflow: hidden;
margin-bottom: 0.5rem;
}
.admin-scroll-bar__avg {
height: 100%;
background: linear-gradient(90deg, #1565c0, #43a047);
border-radius: 999px;
}
.admin-scroll-bar__max {
position: absolute;
top: -2px;
bottom: -2px;
width: 2px;
background: #e53935;
transform: translateX(-1px);
}
.admin-heatmap-wrap {
overflow: auto;
max-height: 70vh;
border: 1px solid var(--card-border);
border-radius: 10px;
background: #0d0d12;
}
.admin-heatmap {
display: block;
width: 100%;
height: auto;
max-width: 800px;
margin: 0 auto;
}