Grav analytics

Cookieless analytics for Grav, the official plugin.

MetriXs for Grav is the official analytics plugin from MetriXs, available from the Grav package manager. Install it, connect it to your MetriXs account, and get visitors, pageviews, sources, geography, and devices in one clean dashboard. No cookies, no consent banner, GDPR compliant by design, hosted in the EU. Tracking is opt-in and off until you turn it on.

or view the live demo →

MetriXs analytics dashboard, the Grav analytics plugin with visitor stats and sources

Why Grav sites choose cookieless analytics

Grav is a flat-file CMS built for speed, and its owners usually care about the same qualities in their tooling. A Google Analytics setup works against that: it sets cookies, so in the EU it needs valid consent before it may load: a banner, a consent platform, and a share of visitors who click "reject all" and never show up in your numbers.

MetriXs takes a different approach. It sets no cookies and stores no personal data or persistent identifiers, so no consent banner is required under the ePrivacy Directive and GDPR cookie rules. Your visitors browse without a pop-up, and your stats stay complete.

What the plugin does

MX Cookieless Analytics is the official MetriXs plugin for Grav, listed in the Grav package manager and open source on GitHub. After a one-minute setup it adds the MetriXs tracker to every page and verifies your site automatically. Works on Grav 1.7 and 2.0.

Tracking is strictly opt-in. Installing the plugin loads nothing and sends nothing: the tracker only starts after you paste your site API key, save the settings, and enable tracking. You can pause it at any time with one click.

Users with admin access are excluded by default, so your own visits never pollute your stats. Regular logged-in users (members) are tracked.

MX Cookieless Analytics vs. Google Analytics on Grav

MetriXs plugin Google Analytics (manual snippet)
Cookies None Yes (_ga, _gid)
Cookie banner required No Yes, in the EU/UK
Consent management platform Not needed Needed
Site verification Automatic, in the plugin Tag manager setup
IP addresses stored No (daily-salted hash) Collected by GA
Data location EU (Germany) US by default
Script size Small, single script ~50 KB+ (gtag.js)
Admin exclusion Built in, permission-based Manual filtering
Price Free plugin, free plan Free (GA paid tier $50k+/yr)

Why MetriXs fits Grav sites

No cookie banner, ever

No cookies means no consent banner, no consent management platform, and no "reject all" losses in your data. The plugin is GDPR friendly by architecture, not by configuration.

Works on Grav 1.7 and 2.0

Tested on both the classic Admin plugin and the Grav 2.0 Admin/API stack, including the automatic connect flow on settings save.

Light and cache friendly

The tracker is a single small script loaded from app.metrixs.eu with defer, so Grav page caching and aggressive caching setups do not break it. Your site stays fast.

How to set up MetriXs on Grav

From plugin install to live dashboard takes about five minutes. No theme files, no consent banner.

01

Create your MetriXs account

Sign up at app.metrixs.eu and add your site. The free plan covers 5k pageviews/mo, no credit card.

02

Install the plugin

Run bin/gpm install mx-cookieless-analytics from your Grav root, or install it from the Admin plugin list. Nothing is loaded or sent yet.

03

Connect and verify

Paste your site API key (Settings → Sites → API keys) into the plugin settings and save. Verification is automatic. Turn on Enable tracking.

04

Check your Realtime view

Open your site in an incognito window and browse a few pages; pageviews should appear in the dashboard within seconds. Admins are excluded by default, so test incognito.

What about other Grav analytics options?

Most Grav analytics setups are a manual Google Analytics snippet pasted into the theme, with the cookie banner and consent platform that come with it. MX Cookieless Analytics is the official hosted option with the least overhead: cookieless by design, verified automatically from the admin, permission-based admin exclusion built in, and all data in the EU.

Add cookieless analytics to your Grav site today

Free plugin, free plan, no credit card. Install, connect, and your dashboard is live in minutes. No cookie banner, no bloat.

Start free trial →

Frequently asked questions

Is the MetriXs Grav plugin free?
Yes, the plugin is free and open source. MetriXs the service has a free-forever plan (1 website, 5k pageviews/month, 1 month retention) with no credit card. Paid plans with longer retention, more sites, and team features start at €6/month.
Do I still need a cookie banner?
No. MetriXs sets no cookies and stores no personal data or persistent identifiers, so no consent is required under the ePrivacy Directive and GDPR cookie rules. If you remove Google Analytics and other cookie-setting scripts, the banner can go entirely.
Does the plugin track visitors by default?
No, and that is deliberate. Installing the plugin loads nothing and sends nothing. Tracking starts only after you paste your API key, the site is verified, and you enable tracking in the settings. You can pause it any time with one click.
Does it work with Grav 2.0?
Yes. The plugin is tested on Grav 1.7 and 2.0, including the new Admin/API stack, and the connect flow runs on settings save in both. The tracker itself works the same on both versions.
Does it work with Grav page caching?
Yes. The tracker is a single small script served from app.metrixs.eu, injected into the page output and loaded with defer. Grav caching, CDNs, and optimization setups do not interfere with it.