Domain & API key
Create a domain in the dashboard and copy the key for your tracking script.
This guide takes you from the dashboard to your first conversion. Work through it end to end, or jump to the section you need.
Domain & API key
Create a domain in the dashboard and copy the key for your tracking script.
One-line script
Drop cvs.js into your <head> — lightweight, no cookies.
Track conversions
Use the JavaScript API or data attributes on buttons and links.
Cookie-free
No cookie banner required — attribution via click IDs and context.
Sign in to the dashboard
Open the usertrax dashboard and sign in.
Create a domain
Go to Domains, create a new domain, and copy your API key.
Install the script
Add this line to your site’s <head> (replace the key):
<script src="https://usertrax.io/cvs.js" data-key="YOUR_API_KEY" defer></script>The script is ~5kb gzipped and sets no cookies — GDPR/CCPA-friendly by default.
window.usertrax = window.usertrax || [];window.usertrax.push({ event: "purchase", total: 99.99, currency: "EUR", // Optional: order ID for deduplication id: "ORDER-123",});<!-- Track button click --><button data-usertrax="purchase" data-usertrax-total="99.99" data-usertrax-currency="EUR" data-usertrax-id="ORDER-123"> Buy now</button>
<!-- Track link click --><a href="/checkout" data-usertrax="checkout_start" data-usertrax-total="99.99" data-usertrax-currency="EUR"> Checkout</a>Fire the event – Click the purchase button or run the API call on your thank-you page / in the console.
Check the dashboard – The conversion should appear in the event explorer / conversion list.
If nothing shows up – Is the script loaded? Correct API key? Hard-refresh / clear cache and try again.
gclid, msclkid, …) from URL parameterstotal / currency)