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>
This commit is contained in:
martbost
2026-11-15 06:20:32 -06:00
parent b71284e5c9
commit 4efc1239b0
18 changed files with 200 additions and 35 deletions
+2 -1
View File
@@ -7,7 +7,7 @@ import path from 'node:path';
import { fileURLToPath } from 'node:url';
const PUB = path.resolve(path.dirname(fileURLToPath(import.meta.url)), '..', 'public');
const SITE = 'https://viraladblitz.com';
const V = { css: 4, common: 5, page: 4 };
const V = { css: 5, common: 5, page: 5 };
const F = { co: 'TrustClickz', addr: '615 Green Valley Drive, Moody, AL 35004', updated: 'November 14, 2026', boostUsd: 5, views: '500', days: 30 };
const FONTS = 'https://fonts.googleapis.com/css2?family=Barlow+Condensed:ital,wght@1,700;1,800&family=Chakra+Petch:wght@500;600;700&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500;700&display=swap';
// the daylight look's shared SVG bits (same as common.js)
@@ -190,6 +190,7 @@ ${PAGEHEAD('Your dashboard', 'My page', 'One free text ad for network members. S
<label class="f">First line <input id="fL1" maxlength="90" autocomplete="off" required><span class="cnt" id="cL1"></span></label>
<label class="f">Second line (optional) <input id="fL2" maxlength="90" autocomplete="off"><span class="cnt" id="cL2"></span></label>
<label class="f">Your link <input id="fLink" maxlength="600" autocomplete="off" inputmode="url" placeholder="https://" required></label>
<label class="chk"><input type="checkbox" id="fTrack" checked> <span><b>Track with LinkSpin</b><br><span class="small muted">Your ad link goes out as a tracked link on your own LinkSpin account, so LinkSpin Reports show its clicks. Visitors still land on your link. Untick it for programs that refuse redirected traffic.</span></span></label>
<div class="row" style="margin:0"><button class="btn-red" id="adSave" type="submit">Post my free text ad</button><span class="small muted">Tracking codes work: {clickid} and {placement} are filled on every click.</span></div>
</form>
</section>