Get started in 4 steps
Add one script tag, see your first visitor on the live globe, track a goal, and connect payments so every sale is credited to its source.
Statsy is web analytics that ties every visit to the money it made. Setting it up is four steps, and the first two take a couple of minutes.
Add your website
Sign in, choose Add a site, and enter the domain you want to measure. Pick the tracking mode while you are there: Auto is cookieless for visitors in the EU, UK and Switzerland and uses a cookie elsewhere; Cookieless never sets one. You can change it later.
Install the script
Copy the tag from the install screen and paste it inside
<head>on every page. It is about 3 KB, loads deferred, and never blocks a paint.html <script defer data-website-id="ws_XXXXXXXX" data-domain="yourstartup.com" src="https://statsy.co/js/script.js"></script>The install screen has the exact tag for your site, plus notes for Next.js, WordPress, Shopify and the rest. Open your site once and the screen turns green when the first pageview arrives.
Track a goal
A goal is anything you want more of: a sign-up page, a button click, a scroll. Page-visit goals need no code: open Goals, choose the path, done. For anything else, call
statsy.goal()from your page. See Track goals.Connect payments
In Site settings › Integrations, connect Stripe, Lemon Squeezy, Paddle, Polar or Razorpay with a webhook. From then on every payment is matched to the visitor who made it, and revenue shows up under the channel, page, campaign and post that brought them. See Revenue attribution.
Tip. Open Live right after installing. The globe shows each visitor as they arrive, which is the quickest way to confirm the script works on every page.
What to do next
- Share a dashboard with your team, investors, or the public.
- See which post on X sent the traffic, down to the exact tweet.
- Get alerted when traffic spikes, a goal fires, or the script goes quiet.
Last updated · Markdown version