Skip to main content
If you built your product with an AI app builder or AI coding agent, you don’t have to hand-place the tracking snippet yourself. Each tool below has a single copy-paste prompt that tells the AI exactly what to add and where — the <head> snippet, the signup event, and the sale event — so tracking is wired up in one shot.
You still need your workspace key. Every prompt loads sa.js?w=YOUR_PUBLIC_KEY. Copy your real key (it looks like pk_live_xxxxxxxx) from Settings → Tracking in your Affixo dashboard and paste it into the prompt before you send it, replacing YOUR_PUBLIC_KEY.

Pick your tool

Lovable

Paste one prompt into Lovable.

Bolt

Paste one prompt into Bolt.

v0

Paste one prompt into v0 (Next.js).

Replit

Paste one prompt into Replit Agent.

Base44

Paste one prompt into Base44.

Cursor

Prompt Cursor, or add the MCP in one click.

Windsurf

Prompt Windsurf, or connect the MCP.

Claude Code

Prompt Claude Code, or connect the MCP.

Claude.ai

Paste one prompt into Claude.

Codex

Prompt Codex, or connect the MCP.

Gemini CLI

Prompt Gemini CLI, or connect the MCP.

VS Code Copilot

Prompt Copilot, or add the MCP in one click.
Don’t see your tool? Any AI builder that lets you edit the site <head> works — follow the manual Integrate Affixo tracking guide, or adapt any prompt above to your tool.

What every prompt sets up

The tracking model is the same everywhere — three events sharing one attribution chain: Each prompt asks the AI to place Steps 2 and 3 in the right spots, then verifies the snippet loads on every page.
Charging with Stripe? The sale event just tags the buyer. When Stripe is connected (Integrations → Stripe), Affixo confirms the real sale amount server-side from the verified charge — including discounts, coupon attribution, and refund reversal. The track('sale') call in the prompt tags the buyer’s email for attribution; the money is confirmed from Stripe, so a spoofed browser amount can’t create a fake commission. If you have no connected payment provider, opt into snippet sale amounts under Settings → Tracking, and pass amount in major units ($99.00 = 99.00) — never cents.

After you paste the prompt

  1. Let the AI make its changes and redeploy your app.
  2. Go to Settings → Tracking and run the live snippet test against your site URL — a confirmed hit means Step 1 is done.
  3. Run the end-to-end test to confirm a lead and a sale both register.
Prefer to check the exact snippet by hand, or on a platform not listed here? The full Integrate Affixo tracking guide has framework-by-framework examples and a pre-launch checklist.