Aggiunte analytics in ogni pagina (no pagine admin di managing)

This commit is contained in:
2026-04-30 09:01:26 +02:00
parent d4b19bf71a
commit 3afe958740
9 changed files with 45 additions and 6 deletions
+5
View File
@@ -119,6 +119,11 @@ $conn->close();
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title><?php echo $success ? 'Ordine confermato' : 'Errore ordine'; ?> - TechStore</title>
<link rel="stylesheet" href="assets/style.css">
<?php
if(getenv('ITSTRACKER_KEY')){
echo "<script src=\"https://projectits.altervista.org/tracker.js?key=" . getenv('ITSTRACKER_KEY') . "\"></script>";
}
?>
</head>
<body>
<header style="display: flex; justify-content: space-between; align-items: center; padding: 10px; background-color: #f2f2f2; border-bottom: 1px solid #ddd;">