Files
wevads-platform/public/postback-setup.html

99 lines
5.1 KiB
HTML

<!DOCTYPE html><html lang="fr"><head>
<meta charset="UTF-8"><meta name="viewport" content="width=device-width,initial-scale=1.0">
<title>🔧 Postback Setup Guide | WEVADS</title>
<style>
*{margin:0;padding:0;box-sizing:border-box}
body{font-family:'Segoe UI',sans-serif;background:#f8fafc;color:#1e293b;min-height:100vh;padding:30px;max-width:900px;margin:0 auto}
h1{font-size:24px;margin-bottom:20px;color:#22d3ee}
.network{background:#ffffff;border:1px solid #e2e8f0;border-radius:12px;padding:24px;margin-bottom:20px}
.network h2{font-size:18px;margin-bottom:16px;color:#10b981}
.step{margin-bottom:14px;padding-left:20px;border-left:3px solid #1e293b}
.step strong{color:#f59e0b;display:block;margin-bottom:4px}
.url-box{background:#f1f5f9;border:1px solid #22d3ee;border-radius:8px;padding:12px;font-family:'Courier New',monospace;font-size:12px;color:#22d3ee;word-break:break-all;margin:8px 0;cursor:pointer;position:relative}
.url-box:hover{border-color:#10b981}
.url-box::after{content:'📋 Click to copy';position:absolute;right:8px;top:8px;font-size:10px;color:#64748b}
.creds{background:#f1f5f9;border:1px solid #f59e0b;border-radius:8px;padding:12px;margin:8px 0}
.creds span{display:block;font-family:monospace;font-size:13px;margin:4px 0}
.note{font-size:11px;color:#64748b;margin-top:8px;font-style:italic}
.test{background:#f1f5f9;border:1px solid #10b981;border-radius:8px;padding:12px;margin-top:16px}
.test h3{color:#10b981;font-size:14px;margin-bottom:8px}
</style></head><body>
<h1>🔧 Configuration Postback — CX3 Ads & Double M</h1>
<p style="color:#64748b;margin-bottom:24px">Ces URLs reçoivent les conversions réelles des sponsors. Sans ça = 0 revenue trackée.</p>
<div class="network">
<h2>🔵 CX3 Ads (CAKE)</h2>
<div class="creds">
<span>🌐 <strong style="display:inline">URL:</strong> https://publisher.cx3ads.com</span>
<span>👤 <strong style="display:inline">Login:</strong> Ymahboub@weval-consulting.com</span>
<span>🔑 <strong style="display:inline">Password:</strong> ***HIDDEN***</span>
<span>🆔 <strong style="display:inline">Affiliate ID:</strong> 10805</span>
</div>
<div class="step">
<strong>Step 1: Login</strong>
Connecte-toi à publisher.cx3ads.com
</div>
<div class="step">
<strong>Step 2: Global Pixel/Postback</strong>
Va dans Settings → Global Pixel (ou Pixel Settings / Postback URL)
</div>
<div class="step">
<strong>Step 3: Colle cette URL</strong>
<div class="url-box" onclick="navigator.clipboard.writeText(this.dataset.url);this.style.borderColor='#10b981'"
data-url="http://95.216.167.89/api/conversion.php?sub1=#s1#&amount=#price#&offer_id=#oid#&txn_id=#tid#&network=cx3">
http://95.216.167.89/api/conversion.php?sub1=#s1#&amount=#price#&offer_id=#oid#&txn_id=#tid#&network=cx3
</div>
<div class="note">Tokens CAKE: #s1# = sub ID, #price# = payout, #oid# = offer ID, #tid# = transaction ID</div>
</div>
<div class="step">
<strong>Step 4: Type = Postback URL (pas Image Pixel)</strong>
Sélectionne "Server Postback" ou "Postback URL", pas "Image Pixel"
</div>
<div class="step">
<strong>Step 5: Save & Test</strong>
Sauvegarde et utilise le bouton "Test" si disponible
</div>
</div>
<div class="network">
<h2>🟢 Double M (Everflow)</h2>
<div class="creds">
<span>🌐 <strong style="display:inline">URL:</strong> https://m-m.everflowclient.io</span>
<span>👤 <strong style="display:inline">Login:</strong> info@weval-consulting.com</span>
<span>🔑 <strong style="display:inline">Password:</strong> Yacine@1985@</span>
<span>🆔 <strong style="display:inline">Affiliate ID:</strong> 21188</span>
</div>
<div class="step">
<strong>Step 1: Login</strong>
Connecte-toi à m-m.everflowclient.io
</div>
<div class="step">
<strong>Step 2: Postback Settings</strong>
Va dans Settings → Tracking → Global Postback URL
</div>
<div class="step">
<strong>Step 3: Colle cette URL</strong>
<div class="url-box" onclick="navigator.clipboard.writeText(this.dataset.url);this.style.borderColor='#10b981'"
data-url="http://95.216.167.89/api/conversion.php?sub1={sub1}&amount={payout}&offer_id={offer_id}&txn_id={transaction_id}&network=doublem">
http://95.216.167.89/api/conversion.php?sub1={sub1}&amount={payout}&offer_id={offer_id}&txn_id={transaction_id}&network=doublem
</div>
<div class="note">Tokens Everflow: {sub1}, {payout}, {offer_id}, {transaction_id}</div>
</div>
<div class="step">
<strong>Step 4: Save</strong>
</div>
</div>
<div class="test">
<h3>✅ Vérification après config</h3>
<p style="font-size:12px">Après avoir configuré le postback chez chaque sponsor, va sur:</p>
<div class="url-box" onclick="window.open(this.dataset.url)" data-url="/profit-orchestrator.html" style="cursor:pointer">
/profit-orchestrator.html → Les conversions RÉELLES apparaîtront en vert ✅
</div>
<p style="font-size:11px;color:#64748b;margin-top:8px">Le système détecte automatiquement test vs réel. Quand un sponsor fire le postback, l'IP ne sera pas la nôtre → marqué "real" → comptabilisé dans le revenue.</p>
</div>
</body></html>