For developers & store owners
A creator sent you here? This page takes ~3 minutes. You will let them (and you) see which of their links turn into actual sales — with zero cookies and zero personal data.
What you received
Visitors arriving through a tosho.my tracked link land on your site with an extra query parameter:
https://yourstore.com/product?tsh_click=k3x9w2m1p0ab
That value is an anonymous, single-use click id. It identifies a click, not a person. Store it for the session (it survives normal navigation if you keep it in sessionStorage or your cart metadata).
Option A — the pixel (no backend needed)
On your order confirmation / thank-you page, add:
<img src="https://tosho.my/px?c=CLICK_ID&v=ORDER_TOTAL" width="1" height="1" alt="" style="display:none">
Example with JavaScript picking the id up from the URL/sessionStorage:
<script>
var c = sessionStorage.getItem('tsh_click') ||
new URLSearchParams(location.search).get('tsh_click');
if (c) { var i = new Image(1,1);
i.src = 'https://tosho.my/px?c=' + encodeURIComponent(c) + '&v=49.90'; }
</script>
Option B — server-side (more reliable)
curl -X POST https://tosho.my/api/conversions \
-H 'content-type: application/json' \
-d '{"click_id": "k3x9w2m1p0ab", "amount": 49.90}'
Returns 201 {"ok":true}. Unknown or already-used click ids return 404 — conversions are idempotent (one per click id), so retries are safe.
Privacy & trust
- The click id maps to a click event that stores only: timestamp, country, referrer hostname, device class. No IPs, no fingerprints, no cookies.
- You decide what to send:
amount is optional. We never see your customer's identity.
- The creator sees aggregate numbers only: clicks, conversions, conversion rate.
Core API (no key required)
POST /api/links {"url": "...", "slug?": "...", "track?": true} → 201
GET /api/links/:slug/stats?key=SECRET → JSON stats
POST /api/conversions {"click_id": "...", "amount?": 0} → 201
POST /api/report {"slug": "...", "reason": "..."} → 201
Rate limit: 10 link creations / minute / IP. Be nice. Questions → contact.