Skip to content

Install Statsdot on Bolt

Updated October 17, 2026

Bolt projects usually have an index.html at the root. Ask Bolt:

Add this script to the <head> of index.html, exactly as written: <script defer data-domain="yourapp.com" src="https://statsdot.com/js/script.js"></script>

Or paste it there yourself in the code editor, then deploy. If your project is Next.js, follow the Next.js guide instead.

Use the domain your visitors see and add the same in Statsdot. Client-side navigation is tracked automatically. Count actions with window.statsdot?.track('Signup').