Files
magpie/site/sponsors.js
T
yetone 4b0a32e0f3 site: AIGoCode's two links carry its invite code and a utm tag per place
The owner asked for referral tracking on both. aigocode.net reads no
aff parameter: its attribution takes utm_source (or ref), utm_medium
and the other utm_* from the landing URL, and the referral is the
/invite/<code> path. So /go/aigocode/home and /go/aigocode/readme both
land on /invite/MAGPIE, with utm_source=magpie and utm_medium=home or
readme to tell the places apart.

Run: node --test site/*.test.mjs (45 pass). Both new URLs answer 200.
2026-10-28 06:16:59 +08:00

25 lines
1.5 KiB
JavaScript

// The sponsors' own links on usemagpie.ai's "Sponsored by" and in the
// READMEs' Sponsors row. Neither page links a sponsor directly: each goes
// to usemagpie.ai/go/<id>/<where>, which counts the click and sends the
// browser here (worker.js), so a sponsor's clicks can be told per place.
//
// id a-z, 0-9 and "-"; the same as the sponsor's partners.js id when
// it has an in-app seat too (whose /go links are keys and site)
// home where the home page's card sends the browser
// readme where the READMEs' logo sends it (README.md, README.zh-CN.md)
//
// A link stays here after its seat ends: a copy of the README or the page
// may still point at it.
export const SPONSORS = [
{ id: "yylx", home: "https://app.yylx.io/register?aff=YETONE" },
{ id: "apinebula", home: "https://apinebula.ai/ref/Gs54HwyB", readme: "https://apinebula.ai/ref/qmXqFGpr" },
{ id: "zerotoken", readme: "https://zzq.si/go/22zuh4a" },
{ id: "kimi", readme: "https://www.kimi.ai/code?aff=magpie" },
{ id: "kimi-cn", readme: "https://www.kimi.com/code?aff=magpie" },
{ id: "apikeyfan", readme: "https://apikey.fan/?aff=mg_readme" },
{ id: "wandapi", readme: "https://wandapi.ai/r/magpierepo" },
{ id: "fastai", home: "https://www.fastaitoken.com/register?aff=MAGPIE&utm=official" },
{ id: "soleapi", home: "https://soleapi.com/r/magpie" },
{ id: "aigocode", home: "https://www.aigocode.net/invite/MAGPIE?utm_source=magpie&utm_medium=home", readme: "https://www.aigocode.net/invite/MAGPIE?utm_source=magpie&utm_medium=readme" },
];