Fix calc signup: inline script sets ref dynamically, no hardcoded href
This commit is contained in:
+7
-1
@@ -1151,9 +1151,15 @@
|
||||
<h1>CBP What-If Calculator</h1>
|
||||
<p>Full ladder modeling — profit timeline, referral earnings, and scenario comparison</p>
|
||||
<div class="cta-bar" id="calcCtaBar">
|
||||
<a class="cta-btn cta-btn-primary" id="calcSignupBtn" href="https://clickbaitpays.me/?ref=cryptoteambuild" target="_blank" rel="noopener">
|
||||
<a class="cta-btn cta-btn-primary" id="calcSignupBtn" href="#" target="_blank" rel="noopener">
|
||||
🚀 Sign Up with My Referral Link
|
||||
</a>
|
||||
<script>
|
||||
(function(){
|
||||
var ref = new URLSearchParams(window.location.search).get('ref');
|
||||
if (ref) document.getElementById('calcSignupBtn').href = 'https://clickbaitpays.me/?ref=' + encodeURIComponent(ref);
|
||||
})();
|
||||
</script>
|
||||
<button class="cta-btn cta-btn-secondary" onclick="copyCalculatorLink()">
|
||||
📄 Copy Calculator Link
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user