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>
|
<h1>CBP What-If Calculator</h1>
|
||||||
<p>Full ladder modeling — profit timeline, referral earnings, and scenario comparison</p>
|
<p>Full ladder modeling — profit timeline, referral earnings, and scenario comparison</p>
|
||||||
<div class="cta-bar" id="calcCtaBar">
|
<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
|
🚀 Sign Up with My Referral Link
|
||||||
</a>
|
</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()">
|
<button class="cta-btn cta-btn-secondary" onclick="copyCalculatorLink()">
|
||||||
📄 Copy Calculator Link
|
📄 Copy Calculator Link
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
Reference in New Issue
Block a user