Skip to main content

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.

  1. 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.

  2. Paste the snippet

    Once, in a place every page loads. Replace YOUR_TOKEN with your token.

  3. 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.

HTML

index.html
<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

Next.js

app/layout.tsx
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

Astro

src/layouts/Layout.astro
<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

SvelteKit

src/app.html
<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

Nuxt

nuxt.config.ts
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

Remix

app/root.tsx
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

WordPress

header.php
<!-- 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

Webflow

Custom code → Head code
<!-- 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

Shopify

layout/theme.liquid
<!-- 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

Google Tag Manager

Custom HTML tag
<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

Hand-picked beta, waitlist open

Ask for a place in the beta.

Anyone can join the list. The accounts we pick get Pro free for the whole beta.

By joining you agree to receive launch updates and accept our Privacy Policy.

See the demo