Bolt
Bolt builds your app for you, so installing Wazlytics means getting the snippet into the generated project’s <head>. You can edit the code directly or ask Bolt to do it.
1. Get your snippet
Each site has its own snippet with a unique script URL. Copy the exact one from your dashboard’s Install step, with your site’s ID in place of wa-XXXXXXXX.
2a. Edit the code
Bolt projects are usually Vite apps with an index.html at the root. In the code view, open index.html and paste the snippet inside <head>:
<head>
<!-- …existing tags… -->
<!-- Privacy-friendly analytics by Wazlytics -->
<script async src="https://wazlytics.com/js/wa-XXXXXXXX.js"></script>
<script>
window.wazlytics = window.wazlytics || function(){(wazlytics.q = wazlytics.q || []).push(arguments)};
wazlytics.init = wazlytics.init || function(o){ wazlytics.o = o || {} };
wazlytics.init()
</script>
</head>2b. Or ask Bolt
Alternatively, tell Bolt in the chat to add your snippet to the <head> on every page.
Note
Bolt apps route with the History API, so once the snippet is in, client-side navigations are tracked automatically — see Single-page apps.
Verify
Deploy or preview your app, open Realtime in Wazlytics, and load a page — your visit should appear within a few seconds. If nothing shows up, the troubleshooting guide covers the usual causes.