Tree před 4 týdny
rodič
revize
7c56b1c9dd
2 změnil soubory, kde provedl 4 přidání a 26 odebrání
  1. 4 0
      app/Http/Controllers/Game/WebRouteController.php
  2. 0 26
      public/h5.html

+ 4 - 0
app/Http/Controllers/Game/WebRouteController.php

@@ -206,6 +206,10 @@ class WebRouteController extends Controller
 
             'recommendGame' => $recommendGame,
 
+            'LandscapeGames' => [962,963,964,965,966,967,972,973,974,975, 976, 977, 978, 979, 980, 982, 983,
+                962, 941, 942, 943, 945, 946, 947, 948, 949, 950, 951, 952, 953,
+                936, 938, 939,940,934],
+
             'getStateToWhereRaw' =>RouteService::getStateToWhereRaw($request),
 
             'serviceLink' => $chat?$chat->StatusString:'',

+ 0 - 26
public/h5.html

@@ -102,23 +102,6 @@
             window.QUERY_PARAMS = query;
         })();
     </script>
-
-    <!-- Facebook Pixel (uses pxid dynamically) -->
-    <script>
-        !function(f,b,e,v,n,t,s)
-        {if(f.fbq)return;n=f.fbq=function(){n.callMethod?
-            n.callMethod.apply(n,arguments):n.queue.push(arguments)};
-            if(!f._fbq)n=f.fbq;n.push=n;n.loaded=!0;n.version='2.0';
-            n.queue=[];t=b.createElement(e);t.async=!0;
-            t.src=v;s=b.getElementsByTagName(e)[0];
-            s.parentNode.insertBefore(t,s)}(window, document,'script',
-            'https://connect.facebook.net/en_US/fbevents.js');
-
-        // Initialize Pixel with pxid
-        fbq('init', window.PIXEL_ID_DEFAULT);
-        fbq('track', 'PageView');
-        fbq('trackCustom', 'LandingView');
-    </script>
 </head>
 <body>
 <div class="stage" id="stageRoot">
@@ -137,15 +120,6 @@
     // Handle click → report Lead → redirect
     function goToUsslot() {
 
-        // Report exactly one Lead event
-        try {
-            fbq('track', 'Lead', {
-                source: 'page_click',
-                pixel_id: window.PIXEL_ID_DEFAULT || '',
-                event_id: 'click_' + Date.now()
-            });
-        } catch (e) {}
-
         // Forward ALL URL parameters + pixel=pxid
         var params = new URLSearchParams(window.location.search || "");