What this page covers
Bolt builds websites and web apps from a chat and hosts them. This page is about measuring what people do in the app you built, which is the measure step of the vibe coding loop.
Facts about Bolt come from the Bolt help center, last checked December 4, 2026.
You need an Orwel workspace (the Free plan is enough to start) and your project open in Bolt.
What Bolt's own analytics covers
Bolt has an Analytics page in the project settings, on paid plans. It reports unique visitors, page views, top pages, bandwidth, sources, locations and 404s for the last 30 days, and it counts bots. It is hosting analytics: useful to see traffic, not to see which features people use or where a signup funnel leaks.
Step 1: Save the rules as project instructions
Do this first, so the install follows them. Open All project settings, then Knowledge, and paste the rules block from the CLAUDE.md analytics template into Project instructions. The rules tell the agent to use event codes from your catalog, fire them after the action succeeds and await conversions.
Step 2: Paste the install prompt
Bolt generates JavaScript projects. Open the install overview, pick the guide for the framework Bolt generated (for a Vite project, the Vite guide) and paste its agent prompt into the Bolt chat. It asks the agent to install the orwel package, create one wrapper module, initialize once on the client, identify users when they sign in and await a conversion when a form is submitted.
Bolt also has a terminal in Code view if you prefer to run npm install orwel yourself. It is not available in Safari or on mobile.
Step 3: Put the key in the right place
The Orwel production key (it starts with orwel_) is public: it can send events and cannot read data. It goes in the project's .env file with the name your framework expects:
| Framework | Variable |
|---|---|
| Vite (React, Vue, Svelte) | VITE_ORWEL_KEY |
| Next.js | NEXT_PUBLIC_ORWEL_KEY |
| SvelteKit, Astro | PUBLIC_ORWEL_KEY |
Bolt's Secrets feature only works with server functions and needs a connected database, so it is not the place for this key. Bolt's docs warn that anything your code reads in the browser is sent to every visitor. That is fine for the Orwel production key and not fine for an orwel_sk_ API key, which must never be in the app.
Step 4: Verify in Dev mode
Use the development key (orwel_dev_...) while you test in the preview. Sign up, use each tracked action and submit a form, then open Dev mode in Orwel:
- Errors mean rejected, for example
event_not_found. - Warnings mean accepted with a problem, for example
conversion_no_email.
Paste any warning back into the Bolt chat. Switch to the production key before you publish.
Step 5: Publish
Use Publish, then Update for each change. If you host on Netlify through Bolt's integration, set the same variable there.
Step 6: Connect the Orwel MCP server
Bolt supports custom MCP servers. In Orwel, open Settings, API keys and create a key with the mcp scope. In Bolt, open the plus menu in the chat, then Connectors, Manage connectors, Custom MCP server, and fill in:
- Name: Orwel
- URL:
https://api.orwel.io/mcp - Transport type: HTTP
- Authentication: API key, with your
orwel_sk_key
Orwel expects the key as an Authorization: Bearer header. Bolt's docs do not say which header its API key option uses, so if the connection is rejected, read the numbers in the Orwel dashboard and paste them into the chat instead.
Once connected, ask before you build: "Check Orwel for conversions and detected issues in the last 14 days, then propose the next change." On the Free plan the server answers with aggregated data; individual leads and visitors need Pro. See the vibe coding feedback loop.