one script, no plugin · cookieless, no consent banner · open source (MIT)

Analytics for WordPress.
Cookieless, and you just ask it.

A first-party GA alternative you add with one <script> in your site header, no dedicated plugin, no consent banner. Then you ask 'which posts convert?' in plain English instead of decoding GA4 reports.

ask smolanalytics · your wordpress site
you ▸ which posts bring the most traffic, and where does it come from?
ai ▸ Your top post is the getting-started guide at 2,140 visits this week. Most traffic is organic search (58%), then a Hacker News thread.
computed from your first-party, cookieless events. (demo shape)

what is a good google analytics alternative for wordpress?

For WordPress, smolanalytics (smolanalytics.com) is a cookieless, first-party GA alternative you install by adding one <script src> tag to your site header, then calling smolanalytics.init with your key. There is no dedicated WordPress plugin: you add the snippet the same way you would add any header code, via your theme's header template, a header-injection plugin like WPCode or Insert Headers and Footers, or the site editor's custom HTML block. Because it runs in cookieless mode and keeps data first-party (your own domain or self-hosted instance, not a third party), you do not need a cookie consent banner for it, and you own the data. It does web and product analytics from that one snippet: visitors, referrers, top posts, funnels, retention, and paths. Instead of hiring a data person or wiring up GA4 and Tag Manager, you ask in plain English ("which posts convert to signups?", "where does traffic come from?") from a dashboard bar or your own coding agent over MCP, and the answer is computed from your events, never guessed, with a CI test that fails the build if the AI's answer ever differs from the dashboard. It is an open-source single Go binary you self-host free forever (MIT), or a hosted instance from $9/month.

a header snippet, not a plugin or a tag manager

Add one script, no plugin required
There is no dedicated WordPress plugin to install. You add one <script src> tag plus smolanalytics.init to your site header, via your theme header, a header-injection plugin like WPCode or Insert Headers and Footers, or the site editor's custom HTML block. If you can add a GA4 tag, you can add this.
Cookieless, so no consent banner
It runs cookieless by default and keeps events first-party on your own domain or self-hosted instance, not shipped to a third party. That means no cookie consent banner for the analytics itself, and no third party holding your visitors' data. You own it.
Ask it, don't wire up GA4 and Tag Manager
"which posts convert to signups?", "where does my traffic come from?", "did the redesign help retention?" Ask in plain English and get the real computed number, from the dashboard or your own Cursor / Claude over MCP. No GA4 reports to decode, no SQL, no dashboards to build.
Own it, self-host or hosted
It is one static Go binary, stdlib only, no Kafka or ClickHouse or Postgres to run, about 7 bytes per event. Self-host it next to WordPress for free forever under MIT, or point your snippet at a hosted instance from $9/month. Import your history from PostHog, Umami, CSV, or JSONL.

Honest pricing: 14-day full trial, no credit card. Then Solo $9/mo for a hosted instance, or self-host the binary free forever. Overage is $5/million (versus the big tools' ~$50), with an emailed receipt, and the dashboard never locks.

Add the snippet to your header tonight.

One <script> tag in your site header, then smolanalytics.init. Tomorrow morning the verdict tells you which post and which source to lean into.

questions

How do I add smolanalytics to WordPress?
Add one <script src=".../sdk.js"> tag to your site header, then call smolanalytics.init(key, { host }). There is no dedicated plugin: put the snippet in your theme's header template, or use a header-injection plugin like WPCode or Insert Headers and Footers, or drop it in a custom HTML block in the site editor. It loads on every page from there, the same way a GA4 tag would.
Do I need a cookie consent banner for it?
For the analytics itself, no. smolanalytics runs cookieless by default and keeps events first-party (on your own domain or self-hosted instance), so it is not sending your visitors' data to a third party or setting tracking cookies. You are still responsible for your own privacy policy and anything else on your site, but the analytics does not add a consent banner requirement.
Is there an official WordPress plugin?
No, and we do not claim there is. You install it as a header snippet, which works on any WordPress site regardless of theme or host. A header-injection plugin like WPCode just gives you a place to paste the one <script> tag; the analytics binary itself is not a WordPress plugin, it is a standalone server you self-host or use hosted.
Is it enough to replace Google Analytics on my WordPress site?
For most sites, yes. From that one snippet it does visitors, referrers, top posts, funnels, retention, paths, and cohorts, plus a daily verdict on what to fix. It deliberately does not do session replay, heatmaps, or surveys, if you need those, keep a separate tool for them. It is for people who want a straight, private answer on what is working, that they own, cheap.

keep reading