Drip Runner referrals: /join/<ref>?from=driprunner returns newcomers to the game once they have a username, first-touch source driprunner.saasy.top, hand-off carries sponsorRef/joinedRef

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-09-30 17:14:05 -05:00
parent f1b37e0c4a
commit 2b2e131c3e
3 changed files with 8 additions and 4 deletions
+2
View File
@@ -819,6 +819,8 @@
if (!render.gating) { render.gating = true; showOnboard(true).then(() => { render.gating = false; render(); }); }
return;
}
// came from a Drip Runner share link: once they have a username, straight back into the game (2026-09-30)
if (me.returnTo === 'driprunner' && !render.toGame) { render.toGame = true; location.href = '/api/my/driprunner'; return; }
// arrived from an invite page: run the welcome tour and login ad once
if (/[?&]welcome=1/.test(location.search) && !render.welcomed) {
render.welcomed = true;