Get Actionable Insights in Minutes
We designed VeritaMetrics to be effortless. No complex configurations, no heavy libraries. You can go from sign-up to seeing live data in less than 5 minutes.
Step 1: Create Your Account
Sign up for a free trial. No credit card required. Simply enter your email and the domain name of the site you want to track.
Step 2: Add the Smart Snippet
Copy your unique code snippet and paste it into the <body> of your website.
This single script does three things automatically:
- Loads asynchronously (<1KB) so it never slows down your site.
- Captures clicks, downloads, and scroll depth without extra config.
- Provides a pixel fallback for users with JavaScript disabled.
<script>
(function () {
// Ensure this only runs in a browser environment.
if (typeof window === 'undefined' || typeof document === 'undefined') {
return;
}
var siteId = 'YOUR-SITE-ID';
var trackingDomain = 'veritametrics.com'; // 1. Initialize the Async Command Queue
// This ensures window.verita() is available immediately.
window.verita =
window.verita ||
function () {
(window.verita.q = window.verita.q || []).push(arguments);
};
window.verita.l = new Date().getTime(); // 2. Load the enhanced tracker script asynchronously.
// It will process the command queue once loaded.
var script = document.createElement('script');
script.src = 'https://' + trackingDomain + '/api/tracker.js?siteId=' + siteId;
script.async = true;
script.defer = true;
script.dataset.siteId = siteId;
script.dataset.trackingDomain = trackingDomain;
document.head.appendChild(script); // 3. Send the initial pageview using the *queue*
window.verita('trackPageView');
})();
</script>
<noscript>
<img
src="https://veritametrics.com/api/track-pageview?siteId=YOUR-SITE-ID&url=YOUR_PAGE_URL&ref=YOUR_REFERRER_URL"
alt=""
width="1"
height="1"
style="display: none"
aria-hidden="true"
/>
</noscript> Step 3: View Your Dashboard
That's it! Visit your website to generate the first event, then head to your dashboard. You will see real-time visitor data, engagement metrics, and conversion goals immediately.
Need More Details?
Looking for platform-specific guides for WordPress, Next.js, Astro, or React? We have dedicated integration guides for every major framework.
→ Go to Documentation