Tracked network links (Marty 2026-11-14: "make sure each of these sites is its own traffic source and link spun so we can track it"). netsites.js: /api/network-sites adds go = the LinkSpin network link for each site with ?src=iap (linkspin.app/r/nwls|nwdlb|nwvbb|nwsp|nwec, fixed codes on Marty's LinkSpin account), this site found by NETWORK_SITE_ID or the request host; common.js + netline.js footers use go (rel nofollow), plain url as fallback. Promo tools > Network sites: every kit link shows a tracked twin, credited to InstantAdPay (?src=iap) as the site that sent the visit; it lands on the same page with ?ref=<member>. Chatbot Network sites answer says so. Same netsites.js in all five sites. common.js?v=20261114ns, netline.js?v=20261114ns, netkits.js?v=20261114ns

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
martbost
2026-11-14 11:39:14 -06:00
parent d033cc7122
commit 4787390e8b
35 changed files with 70 additions and 44 deletions
+4 -2
View File
@@ -105,8 +105,10 @@ async function lockedWhy(email) {
async function waiting() {
// one network tank (Marty 2026-11-14: the InstantAdPay and LinkSpin tanks should show the same people): waiting accounts that
// never signed in here (BTC4Hits and LinkSpin arrivals) count too, as on LinkSpin; quiet accounts the hub made (joinedVia
// 'hub') stay out, as LinkSpin leaves out its hub-made ones. The weekly email only counts the tank, it never mails it.
const all = (await accounts.listAll(1e6, { shells: true })).filter(a => !(a.joinedVia === 'hub' && accounts.isUnclaimedShell(a)));
// 'hub') count too since 2026-11-14 (Marty: the unsponsored old VBB / Downline Banners members go into the holding tank; adopting
// one sends the normal adoption email). Rule 3 still keeps out anyone the hub reports locked or sponsored. The weekly email
// only counts the tank, it never mails it.
const all = await accounts.listAll(1e6, { shells: true });
const cand = all.filter(a => inTank(a) && !remoteOpen(a.email)); // one network tank: someone adopted on LinkSpin is not waiting here
const held = await heldSet(cand); const rows = cand.filter(a => !held.has(lc(a.email))); // rule 3: locked or sponsored elsewhere
// what each of them has earned by surfing on their own, no sponsor (Marty, 2026-09-29), so an adopter can spot the workers