install
One snippet. Any framework.
Replace YOUR_TOKEN with your site token and paste it to measure visits and sources without a single cookie, then connect Stripe, Lemon Squeezy, Paddle, or the revenue API to see the revenue behind them.
Copy your site token
It is in Dashboard → Settings → Install, inside the snippet. Before launch, you get a dashboard once we pick your account for the beta.
Paste the snippet
Once, in a place every page loads. Replace YOUR_TOKEN with your token.
Deploy and open your site
Vero counts visits to your domain and its subdomains, so a localhost test never shows up. With the snippet live, open your site in another tab: your dashboard notices the first visit by itself.
<head>
<script defer src="https:// api.getvero.dev/ t.js ?s=YOUR_TOKEN"></script>
</head>Paste the tag once inside the <head> of every page you want to track. HTML guide
import Script from 'next/script';
export default function RootLayout({ children }) {
return (
<html>
<body>
{children}
<Script src="https:// api.getvero.dev/ t.js ?s=YOUR_TOKEN" strategy="afterInteractive" />
</body>
</html>
);
}Use next/script with afterInteractive. The optional SPA module auto-tracks App Router navigations. Next.js guide
<head>
<script defer src="https:// api.getvero.dev/ t.js ?s=YOUR_TOKEN"></script>
</head>Add the tag to your shared layout head so it loads on every page. Astro guide
<head>
%sveltekit.head%
<script defer src="https:// api.getvero.dev/ t.js ?s=YOUR_TOKEN"></script>
</head>Add it to app.html. Enable the SPA module to track client-side route changes. SvelteKit guide
export default defineNuxtConfig({
app: {
head: {
script: [
{ src: 'https:// api.getvero.dev/ t.js ?s=YOUR_TOKEN', defer: true },
],
},
},
});Register the script in nuxt.config so it is injected on every route. Nuxt guide
export default function App() {
return (
<html>
<head><Meta /><Links /></head>
<body>
<Outlet />
<script defer src="https:// api.getvero.dev/ t.js ?s=YOUR_TOKEN" />
<Scripts />
</body>
</html>
);
}Drop the tag into root.tsx before <Scripts />. Remix guide
<!-- In your theme's header.php, before </head> -->
<script defer src="https:// api.getvero.dev/ t.js ?s=YOUR_TOKEN"></script>Add it before </head> in header.php, or use any "insert header scripts" plugin. WordPress guide
<!-- Site settings → Custom code → Head code -->
<script defer src="https:// api.getvero.dev/ t.js ?s=YOUR_TOKEN"></script>Paste it into Site settings → Custom code → Head code, then publish the site. Vero does not read Webflow Ecommerce orders: revenue comes from Stripe, Lemon Squeezy, Paddle or the revenue API. Webflow guide
<!-- layout/theme.liquid, just before </head> -->
<script defer src="https:// api.getvero.dev/ t.js ?s=YOUR_TOKEN"></script>In Online Store → Themes → Edit code, open layout/theme.liquid and paste the tag just before </head>. Vero does not read Shopify orders: revenue comes from Stripe, Lemon Squeezy, Paddle or the revenue API. Shopify guide
<script defer src="https:// api.getvero.dev/ t.js ?s=YOUR_TOKEN"></script>Create a Custom HTML tag with this snippet, fire it on All Pages, then publish the container. Google Tag Manager guide
After the tag
- Connect your revenuePaste one webhook URL into Stripe, Lemon Squeezy or Paddle and each sale arrives with its visit.
- Send your own eventsA signup, a click on a plan: point a goal at the event and get its conversion rate.
- Pick your modules9 optional modules, such as SPA routes, scroll or Web Vitals, turned on per site.
Ask for a place in the beta.
Anyone can join the list. The accounts we pick get Pro free for the whole beta.