affixo
For v0 apps

Add an affiliate program to your v0 app.

Generated it with v0? Drop in one affixo snippet, connect Stripe or Polar, and turn your users into affiliates, live in a few clicks, no backend, server-side tracking that survives ad blockers.

v0+Stripe or Polar

v0 turns a prompt into a polished front end fast. affixo bolts a growth layer onto it without infrastructure work: a lightweight script plus your payment connection is all it takes for a v0 app that bills through Stripe or Polar to run a full affiliate program.

Live in minutes

From built in v0 to shared, in three steps.

No second platform, no backend work. If your app ships on the web and bills with Stripe or Polar, you're minutes from your first referral.

1

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.

2

Connect your payments

Approve the connection to the Stripe account you already charge with, or paste one Polar token. Sales, renewals and refunds come in on their own.

3

Share & get eyeballs

Hand out referral links or coupon codes and watch attributed signups roll in. A few clicks, not a project.

Let AI install it

Don't write the integration. Paste this into v0.

The install prompt below tells v0exactly where the script goes and which events to wire. It's the same prompt from our docs, written to be unambiguous for automated implementation.

Paste into v0
Add affixo affiliate tracking to my v0 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' });
(With Stripe connected, revenue and commission are confirmed from Stripe. If I charge with Polar, skip this step: Affixo books sales from my connected Polar.)

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, Polar or something else?

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.

Built for builders

Why affixo fits a v0 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 with Stripe or Polar
  • Other checkouts can report sales through the REST API
  • 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 with zero transaction fees
  • You own payouts: PayPal through your own account, or a Wise or crypto file

affixo works with everything you vibe-code in: see the full live-coded apps guide.

Add referrals to your v0 app today.

Paste one snippet, connect your payments, and get your project shared. A few clicks, inside the platform you built on.

Questions

Adding referrals to a v0 app

Paste the affixo script into your v0 project before the closing body tag, connect the Stripe or Polar account you charge with, and set one commission rule. Referral links and the affiliate portal go live the moment you connect.

No backend required. You add one affixo script tag to your v0 app and connect Stripe or Polar. On Stripe, 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 or Polar (or reports sales from its server through our API), 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 v0 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