2 Commits

Author SHA1 Message Date
martbost 4dd1e5a07f "Use one of my spin links" on the text-ad form (Marty 2026-11-15): a member picks one of their own LinkSpin spin links as the ad link, so one free ad rotates clicks across every page they promote. Listed live from LinkSpin (GET /api/my/spins -> lstrack.spins, /api/partner/vab/links op 'spins'). A LinkSpin /r/<code> link on any LinkSpin host is accepted ONLY when LinkSpin confirms it is the signed-in member's own (lstrack.checkSpin): someone else's, a paused one, one with no active pages, or any while LinkSpin is not answering is refused; the network's fixed nw* links and /r/ links on other sites stay ordinary links; other shortener rules unchanged. A spin-link ad (ad.spin) never gets the "Track with LinkSpin" wrapper: /go/<ad> sends straight to the spin link, the checkbox is greyed with a note. LinkSpin hosts learned from every spins answer (warmed hourly by the sweep). Chatbot: CANNED spin-link + FACTS. my.js?v=7. Smoke 217 pass (14b2: foreign refused, own accepted), chatbot 206 pass
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 14:37:18 -06:00
martbost 4efc1239b0 LinkSpin tracked links for text ads (Marty 2026-11-15): lstrack.js asks LinkSpin (POST LS_URL/api/partner/vab/links, net.v1 with NETWORK_SSO_SECRET, by network username) for a tracked link on the member's own LinkSpin account when they save their ad; /go/<ad> sends through it while it points at the ad's current link. "Track with LinkSpin" toggle on the ad form (default on), {clickid}/{placement} links not tracked, LinkSpin clicks on My page, counters in admin status. Fails soft (plain link) until LinkSpin ships the endpoint; a 2-minute sweep retries. Smoke 179/179 (17 new LinkSpin checks against a stand-in that starts down).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 06:20:32 -06:00