Quickstart Guide
Get VeloStats up and running on your website in less than a minute.
Step 1: Obtain Your Site Key
- Log in to your VeloStats dashboard at velostats.dev/dashboard.
- Go to Settings > Sites or click Add Site.
- Enter your domain name (e.g.
example.com). - Copy your unique Site Key (looks like
vs_81397464ab4a89b6).
Step 2: Add the Script to Your Website
Add the following snippet directly before the closing </head> tag on every page you want to measure:
<!-- VeloStats Analytics -->
<script
defer
src="https://velostats.dev/velo.js"
data-site-key="YOUR_SITE_KEY">
</script>
Replace YOUR_SITE_KEY with the key you copied in Step 1.
Step 3: Verify Tracking
- Open your website in a regular browser tab.
- In your VeloStats dashboard, navigate to the Realtime view.
- You should see an active visitor indicator appear within 2–3 seconds.
Next Steps
- Check out our HTML & Framework Guides for Next.js, Astro, React, and Vue setups.
- Learn about First-Party Proxy Setup to maximize data accuracy against aggressive ad blockers.