This describes how the plugin handles data. It isn’t legal advice: the consent or privacy notice you need depends on your site and where you are.
Nothing on visitors’ devices
Vireo sets no cookies and doesn’t use local storage for tracking. Nothing is stored on visitors’ devices. Cookieless WordPress analytics covers what that lets Vireo count. How cookieless analytics counts visitors covers whether you still need a banner, and GA4 traffic after a cookie banner shows what a banner hides.
How visitors are counted
Vireo combines a visitor’s IP address and browser with a secret that changes every day, and keeps only a scrambled result. It creates each day’s secret a day ahead, keeps yesterday’s and today’s, and deletes older ones. Once a day’s secret is gone, nobody can work out which address a result came from, and a visitor can’t be followed from one day to the next.
What’s stored
- The raw IP address (or the shortened one, with Shorten IP addresses on) is written to a short-lived file while a view is processed, used to look up the country, and the file is deleted when the view reaches the database, usually within a minute. Raw IP addresses aren’t stored in the analytics tables.
- Country lookups are cached for 30 days under a keyed hash of the address, which can’t be reproduced without your site’s own secret. The address itself isn’t stored.
- The records Vireo uses to tell visitors apart within a day are deleted after two days.
- Vireo Pro keeps the day’s scrambled result on some of its own records so it can link steps taken on the same day: goal completions for 30 days, site searches for 90 days, and orders for as long as the order is stored. Once that day’s secret is deleted, none of them can be traced back to an address.
- Time on page is stored as daily totals per page: how many views reported a time, and their seconds added up. Bounce rate is stored as two daily counts: visitors, and visitors who viewed a second page. Neither keeps anything about a single visitor.
- Daily totals, including time on page, bounce rate and Core Web Vitals, are kept for the period set under Settings, General, “Data retention”: 90 days, 180 days, 1 year, 2 years (the default), 5 years, or Never purge. Before 0.13.0, Core Web Vitals were kept whatever the setting said.
All of it stays in your own WordPress database. Visitor data isn’t sent to RebelCode or anyone else. See Privacy-friendly WordPress analytics for how each view is reduced before it’s kept.
Shortening IP addresses
From 0.23.0, Settings, Tracking, Geo-location has a “Shorten IP addresses” box. It’s off by default, and turning it on changes nothing that’s already stored.
With it on, Vireo zeroes the last part of each address before it uses it. For IPv4 that’s the last of the four numbers, so 203.0.113.9 becomes 203.0.113.0. For IPv6 it keeps the first 48 bits and zeroes the rest. The shortened address is what goes into the daily visitor code, the short-lived file, the country lookup and the country cache.
The full address is still read for a moment and thrown away: Vireo compares it with your excluded IPs, the bot and hosting-network ranges and the rate limit, and keeps nothing from those checks except the answer.
Countries can be less exact, and visitors on the same network are counted as one more often. Turning it on or off partway through a day starts a new visitor code for everyone from that point.
The setting is built for one rule in particular. France’s data protection authority, the CNIL, lists “to truncate the last byte of the IP address” among the conditions for running audience measurement without consent, in Sheet n°16: Use analytics on your websites and applications. That’s one condition of several, and the others depend on how you run your site. The 0.23.0 release post walks through it.
A developer can force it either way with a filter:
add_filter( 'vireo_shorten_ip', '__return_true' );
A site that sets this filter records views through admin-ajax.php, as with the other filters that switch the route.
Do Not Track and Global Privacy Control
Visitors whose browser sends Do Not Track or Global Privacy Control aren’t counted, and nothing about their visit is recorded. It’s on by default with no setting, and it’s checked both in the browser and on your server.
Consent plugins
Vireo works with consent plugins that use the WP Consent API, such as Complianz, Cookiebot and Real Cookie Banner. By default it counts visits without waiting for consent, because it stores nothing on the visitor’s device. If you want it to wait for statistics consent, add this to your theme’s functions.php or a small plugin:
add_filter( 'vireo_require_consent', '__return_true' );
It only takes effect while a consent plugin is active. The check runs in the visitor’s browser, so it works with page caching.
Time on page waits for consent the same way pageviews do: a report made before the visitor agrees is held in the page and sent once they do. Vireo Pro’s scroll-depth measurement follows the same rule from Pro 1.4.2.
Your privacy policy
Visitors can’t be identified, so there’s no per-person data to export or erase through WordPress’s privacy tools. It’s still good practice to say in your privacy policy that you use Vireo Analytics and how it counts visits.
Outside services
Vireo only contacts outside services you choose to use:
- WordPress.com, only while you run a Jetpack Stats import.
- Google Analytics, only while you run a Google Analytics import.
- Google Search Console, once a day and when you click “Fetch the last 90 days”, if you connect it.
- Google PageSpeed Insights, only when someone presses the test button and you’ve added an API key. Without a key, the button opens Google’s website in your browser instead.
- DB-IP, only when you click the button to download the country database.
It also requests its own tracking address once an hour to check it still works. No visitor data goes to any of them.
With Vireo Pro, the license is checked with Freemius. See License and updates.
MainWP
If your site is connected to a MainWP dashboard through MainWP Child, that dashboard can read the site’s totals, top pages and referrers over MainWP’s own signed connection. With Vireo Pro on the dashboard, it can also run any of Vireo’s read-only reports. All of it is aggregate counts, with nothing about individual visitors. See Multisite and MainWP.
Exporting
Settings, Import & export, Export CSV downloads site totals, pages, referrers, countries, devices, broken links or events for any date range. The file goes straight from your server to your browser.