Skip to main content
Paste the prompt below into Lovable’s chat. It adds the tracking snippet to the <head> of index.html and wires up the signup and sale events.
Replace YOUR_PUBLIC_KEY with your workspace key from Settings → Tracking (it looks like pk_live_xxxxxxxx) before you send the prompt.

The prompt

After Lovable applies it

Redeploy, then go to Settings → Tracking and run the live snippet test against your Lovable URL. A confirmed hit means Step 1 is working. Run the end-to-end test to confirm the lead and sale events register. Need to place the snippet by hand instead? See Integrate Affixo tracking.