Get started
Find the channels that actually pay
VisitTrack is live in a couple of minutes. Install one script, connect your payment provider, and every payment is traced back to the referrer, campaign and page that earned it.
1/ Install the tracking script
Add this to the <head> of every page. No cookies, no consent banner.
<script defer data-site="YOUR_SITE_ID" src="https://visitrack.app/tracker.js"></script>Using Next.js, a CSP or testing on localhost? See the full install guide.
2/ Link revenue to traffic
Pass the visitor id at checkout and register one webhook. Each payment is credited to the visitor's first referrer, UTM campaign and landing page.
3/ Track custom events (optional)
Signups, trials, newsletter subscriptions: one line each. They show up in Goals, Funnels and the visitor timeline.
window.visitrack("signup", { plan: "pro" });More in custom events.
All guides
Get started
Revenue attribution
Revenue attribution
Connect Stripe, Polar, Lemon Squeezy, Paddle or Razorpay and see which referrer, campaign and page each payment came from.
Stripe
Attribute Stripe Checkout and Payment Link payments to the visitor and channel that earned them.
Lemon Squeezy
Attribute Lemon Squeezy orders from the Checkout API or plain checkout links.
Polar
Attribute Polar orders created through the Checkout API.
Paddle
Attribute Paddle Billing transactions from the overlay checkout or the API.
Razorpay
Attribute captured Razorpay payments created through the Orders API.
Tracking
Track signups, conversions and custom events
Signups aren't detected automatically — here's the one line that records them.
Track AI crawlers (ChatGPT, Claude, Perplexity, Googlebot)
See which AI tools read your site. Needs a few lines in your backend — the script tag can't do this one.
Set up mentions tracking (Hacker News, Bluesky, and beyond)
Who's talking about you, next to who's visiting you. Hacker News works today; Bluesky needs two environment variables; anything else is a function you add.
Developers
API, CSV exports and MCP
Read your analytics from a script, a spreadsheet, or straight from an AI assistant.
API reference
Every resource, the parameters it takes, the shape it answers with — plus errors, limits and what v1 promises.
Send events from your server
For the events that never touch a browser — a payment webhook, a background job, anything the tracking script structurally can't see.