Skip to main content
Cursor edits your repo directly, so give it the prompt below and it will place the snippet and events in the right files, then verify the build.
Replace YOUR_PUBLIC_KEY with your workspace key from Settings → Tracking (it looks like pk_live_xxxxxxxx) before you send the prompt.

The prompt

Or: manage your program from Cursor

Beyond tracking, Cursor can manage your whole affiliate program — campaigns, commission rules, affiliate invites, fraud triage — by connecting the Affixo MCP server. It’s a remote connector: one URL, no key to paste. In Affixo, open Settings → Developer & API → MCP server and click Add to Cursor — Cursor opens with the server pre-filled, and you sign in with Affixo to pick the workspace and access level. Full steps, including the manual .cursor/mcp.json form: Cursor.

After Cursor applies it

Redeploy, then go to Settings → Tracking and run the live snippet test against your site URL, followed by the end-to-end test. Need the manual reference? See Integrate Affixo tracking.