Skip to main content
Windsurf 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 Windsurf

Beyond tracking, Windsurf 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. Windsurf has no install link yet, so add it by hand in ~/.codeium/windsurf/mcp_config.json — note the field is serverUrl, not url:
Windsurf opens a browser sign-in on first connect, where you pick the workspace and access level. See MCP Server.

After Windsurf 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.