Documentation
Getting Started
Add the tracking script to your site in under a minute.
Step 1
Add the script tag
Add the Measure script tag to your website's
<head>
section. You'll find your unique script tag in the dashboard after creating a site.
<script src="https://lets.measure.events/api/script/YOUR_TRACKING_ID"></script>
Replace YOUR_TRACKING_ID
with the tracking ID from your dashboard.
Step 2
How it works
When a visitor loads a page, the script sends a single request to our servers with the page path, referrer domain, and basic device info. We increment a counter for that page and discard everything else.
No cookies are set. No IP addresses are stored. The request payload is processed and immediately discarded — only the aggregated count persists.
That's it. There's nothing to configure, no environment variables to set, and no API keys to manage. The script works with any framework, any hosting provider, and any website.
Step 3
What you'll see
Once the script is installed, pageview data will start appearing in your dashboard in real time. You'll see:
- Top pages by pageview count
- Referring domains driving traffic to your site
- Device, browser, and OS breakdowns
- Country-level geographic data
- Trends over time
Next steps
Now that you're set up, explore the rest of the documentation.
- SPA Support — automatic tracking for single-page applications
- UTM Parameters — track marketing campaigns
- Data Collection — what we collect and what we don't
- AI Agent Analytics — detect traffic from AI agents