install
Analytics for WordPress, in one tag
A 1.2 KB core, no cookies and no stored IP. Replace YOUR_TOKEN with your site token to measure visits and sources, and 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.
<!-- 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.
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.
Adding the tag to a WordPress theme
You can add the tag in the theme or through a plugin. In header.php, paste it just before </head>. If you would rather not edit theme files, any plugin that inserts scripts in the header does the same job, and the tag stays put if you switch themes, since a new theme brings its own header.php.
Moving between pages on a WordPress site loads a new page every time, so the core counts each one with no help. When you add a WordPress site, Vero spots /wp-content/, /wp-includes/ or wp-json on your home page, shows the WordPress snippet and leaves the SPA module off. Scroll, engagement, outbound and leave stay on, and you can change any of them in Dashboard → Settings → Install.
Selling through a Stripe Payment Link or a Lemon Squeezy button on a post? The checkout module adds the visit to those links, so each sale is tied to the page and the source that brought the buyer once you connect the payment provider.
Troubleshooting
Check my site says the snippet is missing, but it is in header.php
Check my site reads your home page exactly as it is served. If a page cache built that copy before you added the tag, the cached HTML does not contain it yet. Clear the cache, view the home page source in a private window to confirm the tag is there, then run the check again.
Frequently asked
Will the tag survive a theme change?
Not if it lives in header.php, because the new theme brings its own. A header scripts plugin keeps the tag in place whatever theme is active.
Do I need the SPA module on WordPress?
Usually not. Each navigation loads a new page and the core sends that pageview, which is why onboarding leaves SPA off for WordPress sites.
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.