Plausible alternative: open-source analytics your AI agent sets up, with MRR and replay

Plausible is open-source (AGPL-3.0), cookieless analytics hosted in the EU: Cloud costs from $9 a month for 10k pageviews after a 30-day trial, and the self-hosted Community Edition is free but leaves out funnels, revenue goals and the Sites API (as of 7 November 2026). AgentFirstStack Analytics counts visitors the same way, is free, and an AI agent sets it up over REST and MCP, with MRR, session replay, a tag manager and AI crawler reports. Choose Plausible for a simple dashboard your team reads daily, EU-only hosting, no retention limit or self-hosting on any Docker server.

Updated

Set it up with one prompt

Paste this into your coding agent. It keeps Plausible running, uses Plausible's goal names and brings the history over before anything is removed.

Paste this into Claude Code, Cursor or Codex

Add AgentFirstStack Analytics to this project next to Plausible, and bring Plausible's history over. It's free, open-source, cookieless analytics built for agents, and you can do the setup yourself: there is no signup form. 1. Read https://agentfirststack.com/llms.txt (especially "Move from another tool") and https://analytics.agentfirststack.com/llms.txt. 2. If this project's .env already has AGENTFIRSTSTACK_API_KEY, use it and read AGENTFIRSTSTACK.md. Otherwise get a key: curl -X POST https://agentfirststack.com/v1/signup, and save api_key in .env as AGENTFIRSTSTACK_API_KEY and in the production secrets. 3. Find how Plausible is installed (its script tag, the npm package, a plugin or a proxy) and every event it tracks (plausible('...') calls, class names, revenue goals). Don't remove or change any of it. 4. Create a site for the production domain and serve it from our own domain: a first-party domain on a new subdomain with a neutral name such as edge (POST https://agentfirststack.com/v1/first-party-domains), with its CNAME added if you can change our DNS; until then, or if you can't, the path proxy from the install answer. Put the snippet in the head of every page, next to Plausible. 5. Create a goal for each Plausible goal and each main action on the site, with the same names. If Plausible tracks revenue, connect our payment provider instead (ask me for the key), so renewals and MRR count too. 6. Bring Plausible's history over. If .env has a Plausible Stats API key, query POST https://plausible.io/api/v2/query once per breakdown (time:day alone, then with event:page, visit:source, visit:country and visit:device) and send each answer as it came to POST /v1/sites/:id/imports with source "plausible". Otherwise ask me for the export ZIP (Site Settings > Imports & Exports > Export) and import its CSV files. Include the daily visitors up to today. 7. Deploy (or tell me what to deploy), open the site with ?afsa_debug=1, run verify, then GET https://agentfirststack.com/v1/setup?services=analytics until it says ready. 8. Run GET /v1/sites/:id/imports/compare?source=plausible and tell me what it says. It needs 3 full days with both tools, so tell me how to run it again later. 9. Write the site id, the goals and the env var name (never the key) in AGENTFIRSTSTACK.md, and create a claim link for me with POST https://agentfirststack.com/v1/claim-link. Tell me what you set up, what you imported, what compare returned, and give me the claim link. Leave Plausible installed until I say otherwise.

What Plausible is

Plausible Analytics is web analytics made and hosted in the EU, by an independent team "running since 2018". It shows the main numbers on one page, tracks scroll depth, outbound links, downloads and form completions without code, shows which AI tools send traffic, connects Search Console, and has funnels, user journeys and revenue on its Business plan. It's sold as Plausible Cloud: "Sign up for 30-day free trial. No credit card required." Monthly prices by monthly pageviews, in US dollars (plausible.io pricing, as of 7 Nov 2026):

Pageviews a monthStarterGrowthBusiness
10k$9$14$19
100k$19$29$39
200k$29$44$59
500k$49$74$99
1M$69$104$139
2M$89$134$179
5M$129$194$259
10M$169$254$339
Sites, team members1 siteUp to 3, up to 3Up to 10, up to 10
Added on this plan"No retention limit", goals and custom events, GA import, email and Slack reportsShared links, embedded dashboards, team managementCustom properties, Stats API, ecommerce revenue attribution, funnels and user journeys

Yearly billing gives "2 months free". Above 10M pageviews, and for the Sites API, single sign-on, a managed proxy and scheduled raw event exports, there's Enterprise at a custom price.

Self-hosting: the Community Edition

Plausible Community Edition is "the free, self-hosted, AGPL-licensed release" of the same code. Its differences from Cloud (Plausible CE, as of 7 Nov 2026):

  • Funnels, user journeys, ecommerce revenue goals, SSO and the Sites API "are not available".
  • It's "a long term release published twice per year", and "Self-hosting is community supported only."
  • Bot filtering is basic (user agent and referrer spam), where Cloud also excludes about 32K data center IP ranges.
  • It runs on any server you choose, with Docker and Docker Compose; the CPU must support SSE 4.2 or NEON for ClickHouse, and "At least 2 GB of RAM is recommended" (community-edition README, which installs v3.2.1).

What Plausible tracks, and how it counts

Plausible's data policy lists page URLs, referral sources and campaigns, browser, OS and device type, country, region and city, scroll depth and engagement time, and custom events, properties and revenue when you set them up. Unique visitors come from "hash(daily_salt + website_domain + ip_address + user_agent)", and "The salt is rotated and deleted every 24 hours." It uses no cookies or local storage to identify visitors, and "Visitor data does not leave the EU" (Data policy, as of 7 Nov 2026). Plausible's own pages say this means "No need for cookie banners or GDPR consent".

AgentFirstStack's default is the same idea: a SHA-256 hash of a daily salt, the site, the IP address and the user agent, with the salt rotated daily and nothing stored on the device. On your own traffic, imports/compare shows how close the two counts are, and its note lists the usual causes of a gap.

Plausible's APIs and MCP

  • Stats API: "Stats API is a Business plan feature." It's "a read-only HTTP interface for viewing historical and real-time stats" at POST https://plausible.io/api/v2/query, with "a rate limit of 600 requests per hour by default" (Stats API, as of 7 Nov 2026).
  • Sites API: "Sites API is an Enterprise plan feature." It creates and deletes sites and manages goals, custom properties, shared links and guests (Sites API).
  • Events API: sends pageviews and events from servers and apps without the script (Accessing your data).
  • MCP: the server Plausible's docs point to was "built by the Sentry team", is described as community-built rather than an official integration, and "requires a Stats API key to connect" (Accessing your data). Our Google Analytics MCP page has a short note on it.

So an agent can read a Plausible site on the Business plan and create one on Enterprise, after a person has signed up.

What AgentFirstStack adds

  • Agent setup on every plan. POST https://agentfirststack.com/v1/signup returns a key with no email. The agent creates the site, goals, funnels, alerts and reports, imports the history and runs verify and the setup check, over REST or MCP. Read-only keys see only the read tools. You claim the project with a link and your Google sign-in.
  • Revenue and MRR. Plausible's docs say "Use your billing tool for MRR, churn and refunds", and that Plausible revenue will be lower than your billing tool's (Revenue tracking). AgentFirstStack takes payments and subscriptions from Stripe (one call with a restricted key, 90 days of history), Polar, Paddle and LemonSqueezy, links each to the visit that brought it, keeps renewals on the original source, and reports MRR, ARR, churn and trial conversion by channel, campaign, country or plan. See revenue analytics.
  • Session replay and a tag manager. Neither is in Plausible's plans. On the same key: replay, masked in the browser and read as transcripts, and a tag manager that sends conversions to GA4, Google Ads, Meta, TikTok and others from the browser and the server.
  • AI search. Plausible shows which AI tools send traffic. AgentFirstStack also counts which AI crawlers read which pages, reported by your server, and lists the pages they read that no AI visitor lands on. It doesn't track brand mentions in AI answers. See AI search.
  • Page speed. Core Web Vitals from real visitors by page, device, country and browser; the Stats API's metrics don't include them. See page speed.
  • First-party serving on the free plan. Plausible says visitors with strict blockers are missed, "typically between 5% and 25% depending on your audience", without a proxy; you set one up yourself, or get the managed proxy (a CNAME) on Enterprise (Proxy). Our first-party domain is one CNAME on any plan: POST https://agentfirststack.com/v1/first-party-domains serves analytics, tags and replay from a subdomain of your site, with no server code.

Side by side

PlausibleAgentFirstStack Analytics
LicenseAGPL-3.0AGPL-3.0; the tracker MIT
Hosted priceFrom $9 a month for 10k pageviews; 30-day trialFree with fair-use limits (10 sites per project)
Self-hostingCommunity Edition on Docker with ClickHouse; twice-yearly releases; no funnels, journeys, revenue goals, SSO or Sites APICloudflare Workers Paid and a domain on Cloudflare; the same code as the hosted service
Counting visitorsDaily-salted hash of domain, IP and user agent; no cookiesDaily-salted hash of site, IP and user agent; no cookies; opt-in persistent mode
Where data livesEU; Cloud on servers in GermanyCloudflare; no EU-only option
History"No retention limit"Up to 400 days of raw events hosted; imported history as daily totals
Funnels and journeysBusiness planIncluded
RevenueRevenue goals from the site, Business planPayments and subscriptions from the billing provider, with MRR and churn
APIStats API (Business, read-only, 600 an hour); Sites API (Enterprise); Events APIREST, read and write, on every project; 300 reads a minute per service
MCPCommunity-built by Sentry, with a Stats API keyOurs, reads and writes, on the same key
Ad blockersYour own proxy; managed proxy on EnterpriseA first-party domain (one CNAME) or a path proxy, on any plan
Search ConsoleConnected in the dashboardNo integration
Replay and tagsNot in its plansSeparate services on the same key, free hosted

When to choose which

Use Plausible if

  • People on your team will read the dashboard every day, and you want a simple one, from a team that has run it since 2018.
  • Your visitor data has to stay in the EU.
  • You want history with no retention limit, or Search Console queries next to your traffic.
  • You want to self-host on your own server with Docker, not on Cloudflare.
  • Plausible's bot filtering on Cloud, which excludes data center IP ranges by default, matters for your traffic.

Use AgentFirstStack if

  • An agent should set up analytics from nothing and keep it current, with API and MCP writes on the free plan.
  • You sell subscriptions and want MRR, churn and trial conversion by the channel that brought each customer.
  • You want session replay, a tag manager with server-side conversion APIs, or an inbox for the agent, on the same key.
  • You want first-party serving without an Enterprise plan.

Moving from Plausible

  1. Keep Plausible installed and add our snippet next to it.
  2. Same goal names. Your agent creates a goal for each Plausible goal with the same name, so reports line up.
  3. History. A Stats API v2 response goes to POST /v1/sites/:id/imports as it came: dimension time:day plus at most one of event:page, visit:source, visit:country or visit:device, with visitors and optionally visits, pageviews, bounce_rate and visit_duration. Or the CSV files of Plausible's export: imported_visitors, imported_pages, imported_sources, imported_locations (summed per country) and imported_devices.
  4. What doesn't come over: the browser, entry page and custom event files, custom properties and revenue. Imported days count in reports with imported=true only before our first live event, and filtered reports leave them out.
  5. Check the numbers. Import Plausible's daily visitors for the days since our tracker went live too. GET /v1/sites/:id/imports/compare?source=plausible compares the complete days both ran (3 at least) and answers close (within 0.75 to 1.25), lower or higher, with a note on the usual causes.
  6. Remove Plausible when you decide, once compare says close and you've said so.

FAQ

How much does Plausible cost?

As of 7 November 2026, Plausible Cloud starts at $9 a month (Starter), $14 (Growth) and $19 (Business) for up to 10k monthly pageviews, rising with traffic to $169, $254 and $339 at 10M. Yearly billing gives 2 months free, and there is a 30-day trial with no credit card. The Community Edition is free to self-host.

Do Plausible and AgentFirstStack count visitors the same way?

Almost. Both hash a daily salt with the site, the IP address and the user agent, rotate the salt every day and set no cookies. AgentFirstStack also offers an opt-in persistent mode with an id in localStorage, for sites that want to link visits across days.

Can an AI agent set up Plausible?

Once a person has an account, partly. Creating sites and goals by API needs the Sites API, an Enterprise plan feature. The Stats API, a Business plan feature, is read-only, and the MCP server Plausible's docs point to is community-built by the Sentry team and connects with a Stats API key.

Can I move my Plausible history to AgentFirstStack?

Yes, as daily totals and by page, source, country and device: send a Stats API v2 response as it came, or the CSV files of Plausible's export. Browsers, entry pages and custom events aren't imported. Keep your goal names, run both for a week, and imports/compare checks the daily visitors.

Does Plausible track MRR?

No. Revenue goals on the Business plan count purchases sent from the site, and Plausible's docs say to use your billing tool for MRR, churn and refunds. AgentFirstStack computes MRR, ARR, churn and trial conversion from Stripe, Polar, Paddle and LemonSqueezy subscriptions, by the channel that brought each customer.

Product names belong to their owners. AgentFirstStack isn't affiliated with Plausible Analytics or Sentry.