|
|
@@ -0,0 +1,174 @@
|
|
|
+<!doctype html>
|
|
|
+<html lang="en">
|
|
|
+<head>
|
|
|
+ <meta charset="utf-8" />
|
|
|
+ <title>USSlot77 - Get Free Bonus</title>
|
|
|
+ <meta name="viewport"
|
|
|
+ content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no" />
|
|
|
+
|
|
|
+ <style>
|
|
|
+ * {
|
|
|
+ box-sizing: border-box;
|
|
|
+ margin: 0;
|
|
|
+ padding: 0;
|
|
|
+ }
|
|
|
+
|
|
|
+ html, body {
|
|
|
+ width: 100%;
|
|
|
+ height: 100%;
|
|
|
+ background: #000;
|
|
|
+ font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
|
|
|
+ Helvetica, Arial, sans-serif;
|
|
|
+ }
|
|
|
+
|
|
|
+ body {
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: stretch;
|
|
|
+ }
|
|
|
+
|
|
|
+ /* Main canvas area (designed for 720x1280) */
|
|
|
+ .stage {
|
|
|
+ position: relative;
|
|
|
+ width: 100%;
|
|
|
+ max-width: 720px;
|
|
|
+ height: 100vh;
|
|
|
+ max-height: 1280px;
|
|
|
+ overflow: hidden;
|
|
|
+ background: #000 url("https://usslots-s3.s3.us-east-1.amazonaws.com/h5-images/bg_01.png") no-repeat top center;
|
|
|
+ background-size: cover;
|
|
|
+ cursor: pointer; /* Entire page is clickable */
|
|
|
+ }
|
|
|
+
|
|
|
+ /* Top green banner */
|
|
|
+ .top-bar {
|
|
|
+ position: absolute;
|
|
|
+ top: 0;
|
|
|
+ left: 50%;
|
|
|
+ transform: translateX(-50%);
|
|
|
+ width: 100%;
|
|
|
+ max-width: 720px;
|
|
|
+ height: auto;
|
|
|
+ z-index: 5;
|
|
|
+ pointer-events: none; /* Click is handled by .stage */
|
|
|
+ }
|
|
|
+
|
|
|
+ /* Popup mask (not closable) */
|
|
|
+ .popup-mask {
|
|
|
+ position: absolute;
|
|
|
+ inset: 0;
|
|
|
+ background: rgba(0, 0, 0, 0.65);
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+ z-index: 10;
|
|
|
+ }
|
|
|
+
|
|
|
+ /* Popup image container */
|
|
|
+ .popup {
|
|
|
+ position: relative;
|
|
|
+ width: 78%;
|
|
|
+ max-width: 563px;
|
|
|
+ }
|
|
|
+
|
|
|
+ .popup__img {
|
|
|
+ width: 100%;
|
|
|
+ display: block;
|
|
|
+ }
|
|
|
+ </style>
|
|
|
+
|
|
|
+ <!-- Parse URL parameters and extract pxid -->
|
|
|
+ <script>
|
|
|
+ (function () {
|
|
|
+ function parseQuery(qs) {
|
|
|
+ var res = {};
|
|
|
+ if (!qs) return res;
|
|
|
+ if (qs.charAt(0) === "?") qs = qs.substring(1);
|
|
|
+ var arr = qs.split("&");
|
|
|
+ for (var i = 0; i < arr.length; i++) {
|
|
|
+ if (!arr[i]) continue;
|
|
|
+ var kv = arr[i].split("=");
|
|
|
+ var k = decodeURIComponent(kv[0] || "");
|
|
|
+ var v = decodeURIComponent(kv[1] || "");
|
|
|
+ if (k) res[k] = v;
|
|
|
+ }
|
|
|
+ return res;
|
|
|
+ }
|
|
|
+
|
|
|
+ var query = parseQuery(window.location.search);
|
|
|
+
|
|
|
+ // Pixel ID is fully controlled by incoming pxid
|
|
|
+ window.PIXEL_ID_DEFAULT = query.pxid || "";
|
|
|
+ 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">
|
|
|
+ <!-- Top banner image -->
|
|
|
+ <img src="https://usslots-s3.s3.us-east-1.amazonaws.com/h5-images/top_01.png" alt="Top Bar" class="top-bar" />
|
|
|
+
|
|
|
+ <!-- Popup always shown (not closable) -->
|
|
|
+ <div class="popup-mask" id="bonusPopup">
|
|
|
+ <div class="popup">
|
|
|
+ <img src="https://usslots-s3.s3.us-east-1.amazonaws.com/h5-images/pop_01.png" alt="Popup" class="popup__img" />
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
+</div>
|
|
|
+
|
|
|
+<script>
|
|
|
+ // 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 || "");
|
|
|
+
|
|
|
+ // pixel must equal pxid
|
|
|
+ if (window.PIXEL_ID_DEFAULT) {
|
|
|
+ params.set('pixel', window.PIXEL_ID_DEFAULT);
|
|
|
+ }
|
|
|
+
|
|
|
+ // c parameter is taken from the landing page URL (no hardcoding)
|
|
|
+ var finalUrl = 'https://www.usslot777.com/';
|
|
|
+ var queryStr = params.toString();
|
|
|
+ if (queryStr) finalUrl += '?' + queryStr;
|
|
|
+
|
|
|
+ window.location.href = finalUrl;
|
|
|
+ }
|
|
|
+
|
|
|
+ // Entire page click → redirect
|
|
|
+ (function () {
|
|
|
+ var stage = document.getElementById('stageRoot');
|
|
|
+ stage.addEventListener('click', function () {
|
|
|
+ goToUsslot();
|
|
|
+ }, false);
|
|
|
+ })();
|
|
|
+</script>
|
|
|
+</body>
|
|
|
+</html>
|