Add an affiliate program to the app you built in Cursor.
Built it in Cursor? Paste one affixo snippet and connect Stripe — or connect affixo's MCP server and launch the whole program from Cursor in one prompt. No backend, server-side tracking, free until your affiliates have earned you $2,500.
Cursor is where the code happens — so affixo meets you there. Add the script and connect Stripe the manual way, or use affixo's MCP server to set the program up from inside Cursor. Either way it's a script plus your Stripe account, working in any app that ships on the web.
From built in Cursor to shared, in three steps.
No second platform, no backend work. If your app ships on the web and bills with Stripe, you're minutes from your first referral.
Paste one snippet
Drop the affixo script into your app — one line before the closing body tag. No backend, no rebuild, nothing to re-architect.
Connect your Stripe
OAuth into the same Stripe account you already charge with. affixo maps every product and price to campaigns automatically.
Share & get eyeballs
Hand out referral links or coupon codes and watch attributed signups roll in — a few clicks, not a project.
Don't write the integration — paste this into Cursor.
The install prompt below tells Cursor exactly where the script goes and which events to wire — the same prompt from our docs, written to be unambiguous for automated implementation.
Add affixo affiliate tracking to my Cursor app. There are three parts — please set up all three.
STEP 1 · Tracking script (referral clicks — automatic). Add this tag in the <head> so it loads on EVERY page:
<script async src="https://go.affixo.dev/sa.js?w=YOUR_PUBLIC_KEY"></script>
STEP 2 · Referral event — right after a successful signup, run:
window.Affixo && window.Affixo.track('signup', { email: USER_EMAIL });
STEP 3 · Sale event — on the success / thank-you page after payment, run:
window.Affixo && window.Affixo.track('sale', { email: BUYER_EMAIL, amount: ORDER_TOTAL_IN_CENTS, currency: 'usd' });
(Revenue and commission are confirmed from my connected Stripe.)
First, ask me these and use my answers to place the events correctly:
1. Where do users sign up (which page or component)?
2. What page shows after a successful purchase?
3. Do I charge with Stripe? (If yes, sales also reconcile automatically.)
Rules: the script must load on every page; use the real signed-in / buyer email (never a placeholder); amount is an integer in cents ($99.00 = 9900); don't add any other tracking code.Replace YOUR_PUBLIC_KEY with your workspace key from the affixo dashboard → Settings → Tracking (it looks like pk_live_…). Then run the built-in tracking test to watch a click resolve end-to-end.
Launch from Cursor in one prompt.
affixo ships an MCP server, so you don't have to click through a dashboard. Paste this into Cursor — or any MCP client — and it connects affixo and sets up your program for you.
Connect affixo and launch my affiliate program. Add the affixo MCP server as a remote connector: https://go.affixo.dev/mcp (One-click OAuth — I'll sign in and pick my workspace when prompted. No API key.) Then, using the affixo tools: • create a campaign that pays 20% recurring commission • invite my first affiliates by email and create their referral links • show me the program overview when you're done Read-and-configure only — never move money.
Connecting is one-click OAuth — you sign in and pick a workspace and access level; no API key to paste. The MCP server is read-and-configure only — it never moves money.
Why affixo fits a Cursor app perfectly.
You shipped fast — your referral program should too. affixo adds the growth layer without dragging you back into infrastructure.
- No backend or extra infra — it's a script plus Stripe
- Works in any web app that bills through Stripe
- Six server-side methods that survive ad blockers
- Run your whole program from your AI client — MCP included
- Free until affiliates drive $2,500, then from $19/mo — zero transaction fees
- You own payouts — pay from your own Stripe, PayPal or Wise
affixo works with everything you vibe-code in — see the full live-coded apps guide.
Add referrals to your Cursor app today.
Paste one snippet, connect Stripe, and get your project shared — a few clicks, inside the platform you built on.
Adding referrals to a Cursor app
Two ways. Paste the affixo script before your closing body tag and connect Stripe — or connect affixo's MCP server in Cursor and launch the program from a single prompt. Both go live in minutes with no backend.
Yes. affixo ships an MCP server, so in Cursor (or any MCP-capable client) you can connect affixo, link Stripe, create a commission campaign and generate referral links from one prompt. The MCP server is read-and-configure only — it never moves money.
No backend required. You add one affixo script tag to your Cursor app and connect Stripe via OAuth. Coupon-code attribution doesn't even need the script — map a Stripe promo code to an affiliate and the sale is credited.
A live web app that charges through Stripe, and a couple of minutes. The Free plan needs no credit card and stays free until your affiliates drive $2,500 in tracked revenue.
Get your Cursor app shared.
The simplest way to add an affiliate & referral program to the app you built — set up before lunch.
Free until your affiliates earn you $2,500 · No credit card · Live in minutes