A static site, a docs site or a landing page you run next to your WordPress site can be counted from the same dashboard. Each connected site keeps its own numbers, separate from your WordPress site’s. One connected site is free.
Connect a site
- Go to Vireo Analytics, Settings, Other sites, Connected sites.
- Enter a “Site name” and the “Site address” readers see in their browser, including
https://. - Click “Connect site”.
- Copy the two tags Vireo shows and paste them before
</body>on every page of that site.
The tags look like this, with your own addresses and the site’s key in them:
<script defer src=".../vireo-analytics/assets/js/tracker.js" data-endpoint="..." data-site="SITE-KEY"></script>
<script defer src=".../vireo-analytics/assets/js/vitals.js" data-endpoint="..." data-site="SITE-KEY"></script>
On an Astro site, install @rebelcode/vireo-astro and add the snippet the screen shows instead of the two tags. The second tag collects Core Web Vitals and can be left out. For a site that changes pages without reloading, add data-spa="history" to the first tag.
Pageviews are accepted only when the browser sends them from the address you entered, so the tags record nothing if they’re pasted anywhere else.
See its numbers
Once a site is connected, a selector next to the Vireo name on the Overview switches between this WordPress site and the others. The selection is remembered for your user.
What a connected site gets
Its pages are listed by address. From Vireo Analytics 0.13.0, a connected site gets time on page and bounce rate like your WordPress site, through the same tag.
How many
The free plugin allows one connected site. With Vireo Pro, each WordPress install can connect one site plus one for every site your license has unused. When you’ve reached the limit, the screen says “This install allows” and the number.
If the allowance later shrinks, sites already connected keep counting, and adding more takes a bigger plan.
With Pro, one AI assistant connected to this install can read every connected site’s numbers. See Ask one AI assistant about all your client sites.
Remove a site
Click “Remove this site…”, type the site’s name to confirm, and click “Remove site and its data”. Everything recorded for it is deleted.
Not the same as a headless front end
A headless front end shows your WordPress posts, and its pageviews count as your WordPress site’s. A connected site is a different site with its own numbers.