To add analytics to a Bolt app, put the Obsidesk script tag in index.html inside head, then deploy. You get visitors, sources, signups and, with a revenue source connected, revenue by channel.
What you get
- Visitors and sources on your deployed app
- Signups from forms
- Revenue by channel with Stripe, Paddle, Polar or Whop
- Custom events
- Cookieless tracking
Set it up
- 1Create your account and add your domain
Sign up, add the domain you want to track and copy your site ID from Settings. Every plan has a 14-day money-back guarantee; there is no free trial.
- 2Add the script to index.html
Ask Bolt to add the tag, or edit the file yourself. It goes inside
<head>.<script defer src="https://obsidesk.com/script.js" data-site="YOUR_SITE_ID"></script>
- 3Deploy
Deploy to a live domain. Open your site in a normal browser window and check that the visit appears in the live view. Visits on localhost are not counted unless you add
data-allow-localhost, and your own visits can be excluded by opening#obsidesk-ignoreonce. - 4Connect revenue
Connect Stripe read-only under Settings, then Revenue.
A prompt that works
Paste the tag and ask the builder to place it in index.html unchanged. Check the file afterwards; builders sometimes reformat attributes. The data-site attribute must stay.
Keep tests out
Visits on localhost are ignored by default. For other test URLs, open #obsidesk-ignore once per browser.
FAQ
How do I add analytics to a Bolt project?
Put the Obsidesk script in index.html inside <head> and deploy.
Can I track revenue in a Bolt app?
Yes, by connecting Stripe or another supported source and installing the script.
Does it work for single-page apps?
Yes. History changes are recorded as page views.
Works with
Connect Bolt in about a minute.
14-day money-back guarantee. Installed in 30 seconds. Read-only revenue connections.