|
|
@@ -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 || "");
|
|
|
|