Conversion linkage, LinkSpin side (Marty 2026-11-07, "Yes ship these"): InstantAdPay's sign-ups, wallet links and package purchases on a click count for the click's owner, in one Conversions list. Reporting only: no sponsor, payout, credit or chain path changes.
The landing tag (t.js) adds the kept click id to links to linkspin.app, instantadpay.com and the share domains, also inside a member's own redirect link (Orlando's buttons are go.opgnetwerk.com/go?u=<encoded join link>). Spin and Banner Spin links are left alone and only LinkSpin's own id shapes travel. A spin link or Banner Spin pointed straight at those sites carries lsclk with no goal set up. netconv.js: new partner op 'events' on /api/partner/conv. Append-only ledger DATA_DIR/netconv.jsonl so two app copies cannot overwrite each other, marks.claim plus the ledger keys for once-only, join and wallet once per root click, every purchase by its own key, 30 days from click to event, the first account on a click owns it, the click owner's own account and own clicks kept as tests, each row keeps what the click was so later events survive the hit ageing out of the rotator. Spin events mirror into rotator.conv (replayed on a timer) so per-link counts, sources and placements see them; postbacks fire as for LinkSpin's own conversions. Reports > Conversions lists goals, joins, wallets, purchases, leads and partner postbacks with values, each once; per-link Conv. counts include goals. /join keeps lsclk as well as lsid. Guide, /conversions, privacy and chatbot (CANNED + FACTS) updated; reports.js and join.js tags bumped. The false Pages webhook claim is gone from chatbot.js, join.js and the home page: leads go to the member's list and CSV, or into a pasted autoresponder form. QA: bash qa/run.sh netconv (57 checks, also runs in member). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
ledger: { eyebrow: 'No back office', h: 'No back office. <em>No payday.</em>', lead: 'Your last program paid you on the 15th, if it paid you. Here every payout is a public transaction on Polygon you can read yourself, and the contract holds zero balance.', points: ['Every payout is public. Click it, read it, verify it.', 'The contract has no pause button and no owner power over money.', 'Join free by email. The ledger is one click from your dashboard.'], cta: 'Check the ledger yourself, then decide', sub: 'free account by email' },
|
||||
two: { eyebrow: 'The referral side, exactly as coded', h: 'Two buyers open <em>level two.</em>', lead: 'Every direct buyer pays you half of their package from their very first purchase. Two qualifying buyers open level two at 20 percent. Five open level three at 10 percent. Constants in a verified contract.', points: ['Half of every direct purchase, instantly.', 'Level 2 at two qualifying buyers, level 3 at five.', 'Your invite link is live the moment you are in.'], cta: 'Start your line. Two buyers is the target.', sub: 'free account by email' },
|
||||
links: { video: 'links', eyebrow: 'One link, every page you promote', h: 'Stop <em>juggling links.</em>', lead: 'One short link stands in for all of yours. Behind it, the pages you promote, served in turn by the weights you set, with hours, caps and a fallback. The link never changes, so every copy out in the world keeps working.', points: ['Weights, hours of the day, daily caps, a fallback.', 'A report by source, country and device; your tracker click id filled in.', 'Free. Try a spin on the home page with no account.'], cta: 'Make your first spin link', sub: 'free account by email' },
|
||||
pages: { video: 'pages', eyebrow: 'Bridge pages in a minute', h: 'Point it at any offer. <em>Get a page.</em>', lead: 'Paste the address of the offer you promote. LinkSpin reads its headline and points, you add one line of angle, and you get a bridge, review or squeeze page on a clean pages domain. Leads are yours.', points: ['Bridge, review or squeeze. Your colours, a niche hero image.', 'Leads to your own list: CSV or webhook.', 'Put the page behind your spin link and send traffic by weight.'], cta: 'Scan an offer you already promote', sub: 'free account by email' },
|
||||
pages: { video: 'pages', eyebrow: 'Bridge pages in a minute', h: 'Point it at any offer. <em>Get a page.</em>', lead: 'Paste the address of the offer you promote. LinkSpin reads its headline and points, you add one line of angle, and you get a bridge, review or squeeze page on a clean pages domain. Leads are yours.', points: ['Bridge, review or squeeze. Your colours, a niche hero image.', 'Leads to your own list with a CSV download, or paste your autoresponder form.', 'Put the page behind your spin link and send traffic by weight.'], cta: 'Scan an offer you already promote', sub: 'free account by email' },
|
||||
zones: { video: 'zones', eyebrow: 'Your site pays you', h: 'One script tag. <em>Ad credits for every viewable view.</em>', lead: 'A zone is an ad slot on your own site in any of nine sizes. Member campaigns show first, then network ads, then a house banner. Viewable impressions pay you ad credits you spend on your own campaigns.', points: ['Viewable = half the banner on screen for one second. Bots never count.', 'Paid ads only on the site you declared.', 'Credits spend on your own banner or text campaign.'], cta: 'Add a zone, paste the tag', sub: 'free account by email' },
|
||||
audiences: { video: 'audiences', eyebrow: 'Retargeting, built in', h: 'Reach your own visitors <em>again.</em>', lead: 'Everyone who views your pages or your zones is remembered for 30 days in an audience you own. Paste a pixel on any other site you control. Then show a campaign only to them, or never to them.', points: ['My visitors is automatic. Named audiences take one pixel line.', 'Show only to, or never show to, on any banner or text campaign.', 'Honest match: cookie plus a 24-hour fallback, nothing personal stored.'], cta: 'See your audiences', sub: 'free account by email' },
|
||||
stack: { video: 'stack', eyebrow: 'Three tools, zero dollars', h: 'A rotator, a page builder, an ad slot. <em>Free.</em>', lead: 'Join with just an email and the whole stack is yours: spin links, bridge pages and a zone for your site. View a few ads a day and you earn credits for your first campaign. Buy a package only if you want more.', points: ['No wallet, no card, nothing to install.', 'Spin links, pages and zones never need a package.', 'Packages from $10 when you want more reach.'], cta: 'Start with the free stack', sub: 'type your email, get a code, that is the whole signup' },
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
CR.tile({ k: 'Bots dropped', v: fmt(t.bots), series: sb, delta: CR.delta(b1, b0, 'vs prior'), note: t.served ? Math.round(t.bots / (t.served + t.bots) * 100) + '% of hits' : '' }),
|
||||
CR.tile({ k: 'Joins', v: fmt(t.joins), note: t.unique ? (t.joins / t.unique * 100).toFixed(1) + '% of unique' : '' }),
|
||||
CR.tile({ k: 'Buyers', v: fmt(t.purchases), hi: true, note: t.joins ? Math.round(t.purchases / t.joins * 100) + '% of joins' : '' }),
|
||||
CR.tile({ k: 'Goals', v: fmt(t.goals) }),
|
||||
CR.tile({ k: 'Partner conversions', v: fmt(t.external) }),
|
||||
// Banner Spin totals beside spin links (2026-10-20)
|
||||
CR.tile({ k: 'Banner views', v: fmt(((s.bannerSpins || {}).totals || {}).imps), note: ((s.bannerSpins || {}).count || 0) + ' Banner Spin' + (((s.bannerSpins || {}).count || 0) === 1 ? '' : 's') }),
|
||||
@@ -34,7 +35,9 @@
|
||||
const hmax = Math.max(1, ...(s.hours || [])); $('hourBars').innerHTML = (s.hours || []).map((n, i) => '<i class="' + (n >= hmax * 0.6 ? '' : 'dim') + '" style="height:' + Math.round(n / hmax * 100) + '%" title="' + i + ':00 UTC · ' + n + '"></i>').join('');
|
||||
const best = (s.hours || []).map((n, i) => [n, i]).sort((a, b) => b[0] - a[0]).slice(0, 3).filter(x => x[0]).map(x => x[1] + ':00');
|
||||
$('hourNote').textContent = best.length ? 'Busiest hours (UTC): ' + best.join(', ') + '. Hour rules per link come next.' : 'No clicks yet.';
|
||||
$('convRows').innerHTML = kv(s.conversions || [], 0);
|
||||
// one list (2026-11-07): site and network events first, then goals, a value beside anything that has one
|
||||
const CONV_NAME = { join: 'Joins', lead: 'Leads', wallet: 'Wallets', purchase: 'Purchases', external: 'Partner postbacks' };
|
||||
$('convRows').innerHTML = kv((s.conversions || []).map(x => ({ k: (CONV_NAME[x.k] || String(x.k).replace(/^goal:\s*/, 'Goal: ')) + (x.value ? ' \u00b7 $' + Number(x.value).toFixed(2) : ''), n: x.n })), 0);
|
||||
// -- Pages and Zones (2026-10-10): one bar per Central day in the range (empty days are zero), totals, per-item table
|
||||
const dayBars = (barsId, axisId, rows, f, g, empty) => {
|
||||
const map = {}; (rows || []).forEach(r => { map[r.day] = r; });
|
||||
|
||||
@@ -121,6 +121,7 @@
|
||||
<li class="f-win"><span class="k">5</span><b>Counted in Conversions</b>Against the ad, spin link, page and source that sent them, with cost per goal.</li>
|
||||
</ol>
|
||||
<p class="muted" style="font-size:13px">The id is random. It identifies the click, not the person. Nothing personal is read from your page or sent anywhere. An ad click and the spin-link click it led to count as one click.</p>
|
||||
<p class="muted" style="font-size:13px"><b>Sending people to LinkSpin or InstantAdPay?</b> Those two count by themselves, with no goal and no pixel. The landing tag adds the click id to your links to either site, also when the address sits inside a redirect link of your own. A spin link or Banner Spin pointed straight at either site carries it too. Then their sign-up, wallet link and each package they buy within 30 days of the click show in <a href="/reports">Reports</a> under Conversions, purchases with their USD price. This is reporting only. It never changes who a sponsor is or what anyone is paid.</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -227,6 +228,7 @@
|
||||
<tr><td>Cookie</td><td>Exact, through LinkSpin's own cookie. Some browsers block it.</td></tr>
|
||||
<tr><td>24 h match</td><td>The same network and browser within a day of the click. A good guess, not proof.</td></tr>
|
||||
<tr><td>Test / last test</td><td>When your last test conversion arrived. Tests are recorded apart and never counted.</td></tr>
|
||||
<tr><td>Joins, wallets, purchases</td><td>In Reports, under Conversions, beside your goals. People who came through your click and signed up, linked a wallet or bought a package on LinkSpin or InstantAdPay. A sign-up and a wallet count once per click, every package counts on its own with its USD price, all within 30 days of the click. Your own account is left out.</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="pb" style="border-top:1px solid var(--line)"><p class="muted" style="font-size:13px">Each goal gets its own report: by ad campaign (LinkSpin and InstantAdPay), by spin link, by Banner Spin, by destination page and by traffic source (a source you named under Sources, or else the referring site or ad placement). Press CSV for every conversion with its time in Central time, goal, value, match method, campaign, spin link, page, source, country and device. The counting rules: each goal counts once per click, only within 30 days of a real click, and only for clicks on your own ads, links and Banner Spins. Your own clicks on any of them (made while signed in, or from a browser you sign in from) are kept as tests: the note at the top of "How sure is each count" says how many.</p></div>
|
||||
@@ -258,7 +260,8 @@
|
||||
<div><dt>Will the tags slow down or break my page?</dt><dd>No. Both load in the background, never stop your page from showing and do nothing visible. If LinkSpin cannot be reached, your page works exactly as before.</dd></div>
|
||||
<div><dt>Do I need a separate goal for each link or ad?</dt><dd>No. One goal covers every ad and spin link you own. Each conversion is counted against whichever click sent that visitor.</dd></div>
|
||||
<div><dt>I advertise on InstantAdPay too. Do I set it up twice?</dt><dd>No. Your InstantAdPay goals are these same goals, held on your LinkSpin account under the same email. One landing tag and one goal pixel count clicks from both sites.</dd></div>
|
||||
<div><dt>Is any personal data sent?</dt><dd>No. The click id is random. No name or email from your page is read or sent.</dd></div>
|
||||
<div><dt>Is any personal data sent?</dt><dd>No. The click id is random. No name or email from your page is read or sent. When someone joins InstantAdPay on your click, the two sites match the event to your click server to server, and your reports show counts and values, never who the person is.</dd></div>
|
||||
<div><dt>Why does a sign-up I sent not show?</dt><dd>The click has to reach the join page. Check that your landing tag is on the page and the link is a real link (a button that only runs a script cannot carry it), and that the visitor opened it from your click within the last 30 days. People who joined before this was switched on on 2026-11-07 cannot be matched afterwards.</dd></div>
|
||||
</dl>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -37,6 +37,7 @@
|
||||
<div class="two">
|
||||
<div class="panel">
|
||||
<h2>Set it up in 3 steps</h2>
|
||||
<div class="muted" style="margin:2px 0 6px">Goals show here with their cost. <a href="/reports">Reports</a> shows everything in one list: goals, plus joins, wallets and purchases on LinkSpin and InstantAdPay.</div>
|
||||
<div style="margin:2px 0 6px"><a href="/conversion-tracking" target="_blank" rel="noopener">How to set it up: the step-by-step guide with copy-paste examples (WordPress, page builders, Aweber, GetResponse)</a></div>
|
||||
<ol class="steps">
|
||||
<li><b>Landing page:</b> paste the landing tag once, before </body>. It keeps the click id on your own site for 30 days.</li>
|
||||
|
||||
+1
-1
@@ -117,7 +117,7 @@
|
||||
<article id="pages" class="tile card">
|
||||
<svg class="ico" viewBox="0 0 24 24" aria-hidden="true"><rect x="4" y="4" width="16" height="16" rx="2"/><path d="M8 9h8M8 13h6"/></svg>
|
||||
<h3 class="disp">Pages</h3>
|
||||
<p>Point us at any offer. We read its headline and points, you add one line of angle, and you get a bridge, review or squeeze page on your link domain. Leads are yours: list, CSV, webhook.</p>
|
||||
<p>Point us at any offer. We read its headline and points, you add one line of angle, and you get a bridge, review or squeeze page on your link domain. Leads are yours: your own list and a CSV download, or paste your autoresponder form.</p>
|
||||
<div class="foot-row"><span class="tag t">bridge</span><span class="tag t">review</span><span class="tag t">squeeze</span><span class="tag ok">leads: yours</span></div>
|
||||
</article>
|
||||
<article id="zones" class="tile card">
|
||||
|
||||
+1
-1
@@ -107,6 +107,6 @@ body.squeeze .card{position:sticky;top:16px}
|
||||
</div>
|
||||
</footer>
|
||||
<script src="/assets/common.js?v=20261107tg"></script>
|
||||
<script src="/assets/join.js?v=20261009b"></script>
|
||||
<script src="/assets/join.js?v=20261107nc"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+1
-1
@@ -30,7 +30,7 @@
|
||||
<p>When someone opens one of your spin links or sees a zone on your site, we record the time, the destination chosen, the country, the device type, the referring site and any click id or tracking parameters in the link, plus a daily-salted hash of the visitor that is not reversible to a person. These records power your reports and are kept for the life of the link.</p>
|
||||
<h2 class="disp">Conversion tracking</h2>
|
||||
<p>When someone clicks an ad on LinkSpin or InstantAdPay, or a spin link whose owner tracks goals, we give that click a random click id and add it to the address they land on (as <code>lsclk</code>). We keep the click with its time, campaign, country, device type and where it was clicked, plus a one-way hash of the network address and browser that we use only to match a conversion within 24 hours. We do not store the IP address itself.</p>
|
||||
<p>Advertisers who use our landing tag (<code>t.js</code>) keep that click id on their own website for 30 days, in the browser's local storage and a cookie named <code>ls_clk</code> on their site. When the visitor later reaches the advertiser's thank-you page, the goal pixel (<code>cv.gif</code> or <code>cv.js</code>) tells us the goal was reached for that click id, so the advertiser can see how many of their clicks became, say, subscribers or sales, and what each cost. We also set a cookie named <code>ls.clk</code> on our own domain when an ad is clicked, so the pixel can still match where the advertiser's site has no tag. Nothing personal is read or stored by the tag or the pixel: no names, emails or form contents. A conversion only ever counts for the advertiser who owns the click.</p>
|
||||
<p>Advertisers who use our landing tag (<code>t.js</code>) keep that click id on their own website for 30 days, in the browser's local storage and a cookie named <code>ls_clk</code> on their site. When the visitor later reaches the advertiser's thank-you page, the goal pixel (<code>cv.gif</code> or <code>cv.js</code>) tells us the goal was reached for that click id, so the advertiser can see how many of their clicks became, say, subscribers or sales, and what each cost. We also set a cookie named <code>ls.clk</code> on our own domain when an ad is clicked, so the pixel can still match where the advertiser's site has no tag. Nothing personal is read or stored by the tag or the pixel: no names, emails or form contents. A conversion only ever counts for the advertiser who owns the click. The tag also adds the click id to links to LinkSpin and InstantAdPay. If you then join InstantAdPay, it keeps the click id with your account and tells LinkSpin about your sign-up, wallet link and package purchases on that click, so the owner of the click sees counts and values in their reports, never who you are.</p>
|
||||
<h2 class="disp">Leads on your pages</h2>
|
||||
<p>Email addresses entered on a page you publish belong to you and are shown only to you. We store them so you can download them or forward them to your own autoresponder. Visitors are told on the page who is collecting their email.</p>
|
||||
<h2 class="disp">What we do not collect</h2>
|
||||
|
||||
+2
-2
@@ -42,7 +42,7 @@
|
||||
<div style="display:grid;gap:16px;align-content:start">
|
||||
<div class="panel"><h2>Top links</h2><div class="tbl top"><div class="hd"><span>Link</span><span class="r">Unique</span><span class="r">Clicks</span><span class="r">Conv.</span></div><div id="topRows"></div></div></div>
|
||||
<div class="panel"><h2>Your best hours</h2><div class="bars" id="hourBars" style="grid-template-columns:repeat(24,minmax(0,1fr));height:80px"></div><div class="axis"><span>00</span><span>06</span><span>12</span><span>18</span><span>23</span></div><div class="muted" id="hourNote"></div></div>
|
||||
<div class="panel"><h2>Conversions</h2><div class="kv" id="convRows"></div><div class="muted">Joins, wallets and purchases matched to a click on one of your links, plus anything a partner reported by postback. Your own goals (subscribers, sales) and cost per goal are on <a href="/conversions">Conversions</a>.</div></div>
|
||||
<div class="panel"><h2>Conversions</h2><div class="kv" id="convRows"></div><div class="muted">Everything your clicks led to, each event once: your goals, plus joins, wallets and package purchases on LinkSpin and InstantAdPay, and anything a partner reported by postback. People count when they arrive on a click of yours, through your landing tag or a spin link pointed straight at either site, within 30 days of the click. Your own account and own clicks are left out. Set up goals and see cost per goal on <a href="/conversions">Conversions</a>.</div></div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- Pages: views, uniques, clicks through and leads on the member's bridge / review / squeeze pages (2026-10-10) -->
|
||||
@@ -91,6 +91,6 @@
|
||||
</div>
|
||||
</div>
|
||||
<script src="/assets/cr-shell.js?v=20261107tg"></script>
|
||||
<script src="/assets/reports.js?v=20261020bs3"></script>
|
||||
<script src="/assets/reports.js?v=20261107nc"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
+37
-2
@@ -2,7 +2,8 @@
|
||||
* <script async src="https://linkspin.app/t.js?px=YOUR_PIXEL_ID"></script>
|
||||
* It reads the click id LinkSpin or InstantAdPay put on the link (lsclk, lsid or clickid in the address), keeps it on YOUR
|
||||
* site for 30 days (localStorage + a first-party cookie, both named ls_clk), copies it into hidden form fields named lsclk,
|
||||
* lsid or clickid, and adds it to links that stay on your site. Nothing personal is read or stored.
|
||||
* lsid or clickid, and adds it to links that stay on your site. Links to InstantAdPay and LinkSpin carry it too, also inside a
|
||||
* redirect link of your own, so a sign-up or purchase there is counted on your click. Nothing personal is read or stored.
|
||||
* It never throws and never blocks your page: every step is wrapped, and it only runs after the page has its scripts.
|
||||
*/
|
||||
(function () {
|
||||
@@ -65,7 +66,41 @@
|
||||
u.searchParams.set('lsclk', id); a.href = u.toString();
|
||||
} catch (e) {}
|
||||
}
|
||||
function onClick(e) { try { var a = e.target && e.target.closest ? e.target.closest('a[href]') : null; if (a) decorate(a); } catch (er) {} }
|
||||
// links to the network (2026-11-07): a bridge page's button carries the click to InstantAdPay or LinkSpin, which report sign-ups
|
||||
// and purchases against it. Also inside a redirect link of the member's own (go.example.com/go?u=https%3A%2F%2Finstantadpay.com...):
|
||||
// only that one parameter is rewritten, every other one keeps its exact encoding. Spin and Banner Spin links are left alone, they
|
||||
// make their own click. Only LinkSpin's own id shapes travel, never another network's clickid. Done on load, again when the page
|
||||
// is ready and at the click, so a page script that rewrites its links first or later does not lose it.
|
||||
var NET = /*ls-net*/["linkspin.app","instantadpay.com","instantadpay.link","ctbgo.com","mylinehq.com"]/*ls-net*/;
|
||||
var OURS = /^(?:[a-f0-9]{10}|[aik][a-f0-9]{11})$/;
|
||||
function netUrl(s) {
|
||||
try { var u = new URL(s); return /^https?:$/.test(u.protocol) && NET.indexOf(u.hostname.toLowerCase().replace(/^www\./, '')) >= 0 && !/^\/(r|c|i)\//.test(u.pathname) ? u : null; } catch (e) { return null; }
|
||||
}
|
||||
function carries(u) { for (var i = 0; i < NAMES.length; i++) if (u.searchParams.has(NAMES[i])) return true; return false; }
|
||||
function addId(s) { var h = s.indexOf('#'), b = h < 0 ? s : s.slice(0, h), t = h < 0 ? '' : s.slice(h); return b + (b.indexOf('?') < 0 ? '?' : /[?&]$/.test(b) ? '' : '&') + 'lsclk=' + encodeURIComponent(id) + t; }
|
||||
function network(a) {
|
||||
try {
|
||||
if (!OURS.test(id) || a.getAttribute('data-ls-skip') != null) return false;
|
||||
var href = a.href, n = netUrl(href);
|
||||
if (n) { if (!carries(n)) a.href = addId(href); return true; }
|
||||
var u = new URL(href); if (!/^https?:$/.test(u.protocol) || !u.search) return false;
|
||||
var parts = u.search.slice(1).split('&'), found = false, changed = false;
|
||||
for (var i = 0; i < parts.length; i++) {
|
||||
var eq = parts[i].indexOf('='); if (eq < 1) continue;
|
||||
var v; try { v = decodeURIComponent(parts[i].slice(eq + 1).replace(/\+/g, ' ')); } catch (e) { continue; }
|
||||
var inner = /^https?:/i.test(v) ? netUrl(v) : null; if (!inner) continue;
|
||||
found = true; if (carries(inner)) continue;
|
||||
parts[i] = parts[i].slice(0, eq + 1) + encodeURIComponent(addId(v)); changed = true;
|
||||
}
|
||||
if (changed) a.href = href.slice(0, href.indexOf('?') + 1) + parts.join('&') + (u.hash || '');
|
||||
return found;
|
||||
} catch (e) { return false; }
|
||||
}
|
||||
function sweep() { try { var l = document.querySelectorAll('a[href]'); for (var i = 0; i < l.length; i++) network(l[i]); } catch (e) {} }
|
||||
sweep();
|
||||
if (document.readyState === 'loading') document.addEventListener('DOMContentLoaded', sweep);
|
||||
W.addEventListener('load', sweep);
|
||||
function onClick(e) { try { var a = e.target && e.target.closest ? e.target.closest('a[href]') : null; if (a && !network(a)) decorate(a); } catch (er) {} }
|
||||
document.addEventListener('click', onClick, true);
|
||||
document.addEventListener('auxclick', onClick, true);
|
||||
} catch (e) { /* never break the member's page */ }
|
||||
|
||||
Reference in New Issue
Block a user