Bolt builds and publishes full web apps from a prompt. Because the checkout code it writes lives in your project, Bolt can also add the one thing revenue attribution needs: the visitor id on each checkout.
What you get
- Every page of the published app, including History API navigation.
- Revenue credited to visits from Bolt's Stripe integration.
- Goals for sign-ups and trials, added by prompt.
- Your choice of first-party serving: the managed proxy, or Netlify redirects if you publish there.
How to install it
Bolt usually builds with Vite, which serves every page from index.html. Ask Bolt in the chat to add the snippet exactly as written to the <head> of that file (or the root layout for a Next.js or Astro project), without bundling it or changing its attributes. Or paste it before </head> yourself in code view. The prompt is in the Bolt install guide; Bolt's own help is at support.bolt.new (opens in a new tab).
Then Publish again: the published app doesn't change until you do. In Reveata, add the website with your custom domain or the .bolt.host address (or your Netlify address). The preview inside Bolt is another address and isn't counted. If routes come after a #, add data-hash="true".
If your project is Next.js or Astro, see Next.js analytics or Astro analytics.
How payments are matched to visits
Bolt's Stripe integration uses your own Stripe secret key and writes the checkout as functions in your project (Bolt Database or Supabase edge functions):
- Connect the same Stripe account in Reveata under Settings → Payments (Stripe revenue analytics).
- Paste the prompt from revenue in apps built with AI into the Bolt chat. It sends
window.reveata.metadata()with the request that creates the checkout and puts the ids in the checkout metadata on the server. - Publish and make one test purchase from a link ending in
?ref=test.
In Stripe, the payment's metadata then shows reveata_visitor_id, and Reveata lists the payment with the source test. If the ids are missing, paste the prompt again with the name of the file that creates the checkout.