Skip to main content

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.

  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.

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

  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.

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.

My data is not showing up

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.

IntegrationsPricing

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