Add Telegram handoff steps and dynamic first-payout guidance to plan generator
- New 'connect with me first' block: join Telegram group, announce sponsor username - Conditional PIF: funds transferred only after referral confirms in group - Activation + campaign purchase instructions after funds land - Dynamic first-payout guidance varies by gift level (L1, L1-L2, L1-L3) - Uses refUser from URL param so plan is personalized to each sponsor - Only shows for gift-to-plan (non-already-joined) when giftCost > 0
This commit is contained in:
+39
@@ -1308,6 +1308,43 @@ function generatePlan() {
|
|||||||
|
|
||||||
updateSharedLinkBox();
|
updateSharedLinkBox();
|
||||||
|
|
||||||
|
// ── Dynamic post-PIF instructions based on gift level ──────────
|
||||||
|
let pifSteps = '';
|
||||||
|
if (giftCost > 0) {
|
||||||
|
// What to do with their first payout varies by what was gifted
|
||||||
|
let firstPayoutGuidance = '';
|
||||||
|
if (giftLevel >= 3) {
|
||||||
|
firstPayoutGuidance = `Your L2 and L3 are already activated and ready. Once that first L1 payout clears (~$17.17), put it toward buying the L2 campaign ($${LEVELS[1].camp}). Run L2 alongside L1 for a few cycles and you'll stack up toward L3 quickly.`;
|
||||||
|
} else if (giftLevel >= 2) {
|
||||||
|
firstPayoutGuidance = `Your L2 is already activated. Once that first L1 payout clears (~$17.17), put it toward your L2 campaign ($${LEVELS[1].camp}) — every cycle gets you closer.`;
|
||||||
|
} else {
|
||||||
|
firstPayoutGuidance = `Once that first L1 payout clears (~$17.17), you can buy L1 again and run it back-to-back. Stack a few cycles and you'll have enough for L2 activation ($${LEVELS[1].total}).`;
|
||||||
|
}
|
||||||
|
|
||||||
|
const firstPhase = phases.filter(k => k !== '3xL7')[0];
|
||||||
|
const fp = HYBRIDS[firstPhase];
|
||||||
|
pifSteps = `
|
||||||
|
**Before we start — connect with me first:**
|
||||||
|
|
||||||
|
Here's how this works. When you're ready to get started:
|
||||||
|
|
||||||
|
1. Join the Telegram sponsor group: https://t.me/+mzXTku1wR7pkODBh
|
||||||
|
2. Announce in the group that **${refUser} is my sponsor** — just say it so I know who you are
|
||||||
|
3. I'll find you in the group, confirm you're my referral, and transfer your Level 1 funds right then
|
||||||
|
|
||||||
|
**Once the funds hit your account:**
|
||||||
|
|
||||||
|
4. Go to **"Activate Earnings"** → buy the Level 1 activation ($${LEVELS[0].act}) if you don't already have it
|
||||||
|
5. Go to **"Buy Ad Campaigns"** → purchase the Level 1 campaign ($${LEVELS[0].camp})
|
||||||
|
6. Start clicking! ${LEVELS[0].clicks} ads per day for 12 days — the campaign pays out ~$${LEVELS[0].payout} after
|
||||||
|
|
||||||
|
**What to do with that first payout:**
|
||||||
|
|
||||||
|
${firstPayoutGuidance}
|
||||||
|
|
||||||
|
From there, you follow the roadmap below — the system feeds itself, no new money needed.`;
|
||||||
|
}
|
||||||
|
|
||||||
let rawPlan = alreadyJoined
|
let rawPlan = alreadyJoined
|
||||||
? `📋 Your ClickBaitPays Plan — Full Roadmap
|
? `📋 Your ClickBaitPays Plan — Full Roadmap
|
||||||
|
|
||||||
@@ -1367,6 +1404,8 @@ After you sign up, come back to that link — it'll walk you through what's poss
|
|||||||
|
|
||||||
${giftCost > 0 ? `With me as your sponsor, I'm covering **$${giftCost}** to get you started through Level ${giftLevel} (L${giftLevel === 1 ? '1 only' : `1-L${giftLevel}`}). You owe nothing for this — it's funded up front, and you keep 100% of your earnings.` : `I haven't pre-funded any levels on my end — you'll be building entirely on your own using the link below.`}
|
${giftCost > 0 ? `With me as your sponsor, I'm covering **$${giftCost}** to get you started through Level ${giftLevel} (L${giftLevel === 1 ? '1 only' : `1-L${giftLevel}`}). You owe nothing for this — it's funded up front, and you keep 100% of your earnings.` : `I haven't pre-funded any levels on my end — you'll be building entirely on your own using the link below.`}
|
||||||
|
|
||||||
|
${giftCost > 0 ? pifSteps : ''}
|
||||||
|
|
||||||
Your full roadmap to $3,960/month:
|
Your full roadmap to $3,960/month:
|
||||||
|
|
||||||
${phases.filter(k => k !== '3xL7').map((k, i) => {
|
${phases.filter(k => k !== '3xL7').map((k, i) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user