<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Signals Gateway</title>
    <script>
    !function(a,h,e,v,n,t,s){
      if(a.cbq)return;
      n=a.cbq=function(){n.callMethod?n.callMethod.apply(n,arguments):n.queue.push(arguments)};
      if(!a._cbq)a._cbq=n; n.push=n; n.loaded=!0; n.version='2.0'; n.queue=[];
      t=h.createElement(e);t.async=!0;t.src=v;s=h.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s);
    }(window,document,'script','https://m.sgw1-usercentrics.io/sdk/5943134847430468665/events.js');
    
    cbq('setHost', 'https://m.sgw1-usercentrics.io/');
    cbq('init', '5943134847430468665');
    
    // Example PageView
    cbq('track', 'PageView', {
        "action_source": "website",
        "event_time": Math.floor(Date.now() / 1000),
        "event_source_url": window.location.href
    });
    </script>
</head>
<body>
    <h1>✅ Signals Gateway is Active</h1>
    <p><strong>Server endpoint ready.</strong><br>
       Use: <code>POST /manager/category/country</code></p>
    
    <p><strong>Tip:</strong> Check <code>/logs/api_calls.log</code> to see all received data and save status.</p>
</body>
</html>