const express = require('express');
const router = express.Router();
const { trackVisitor } = require('../middleware/visitorTracking');

// Public endpoint - Frontend'den çağrılacak
router.post('/track', trackVisitor, (req, res) => {
  res.json({ success: true });
});

module.exports = router;
