<?php
include 'tracking.php';

// Get product ID from URL
$productId = $_GET['id'] ?? 'unknown';

// Track with dynamic page name
logVisitor("Product Detail - ID: $productId");
?>
<!DOCTYPE html>
<html>
<head>
    <title>Product Details</title>
</head>
<body>
    <h1>Product <?php echo htmlspecialchars($productId); ?></h1>
</body>
</html>