Compare

The open-source, self-hostable Amplitude alternative

Amplitude is a broad, mature product-analytics platform that runs only in its own cloud. Pug has the same core shape (autocapture, trends, funnels, retention, flows and profiles) with an AGPL-3.0 server you can self-host. Here is how the two compare, including where Amplitude is the better pick.

Choose Pug if
  • You want to self-host, or keep raw events on your own servers
  • You want SSO without a Growth or Enterprise contract
  • You want bot traffic tagged and kept, not blocked for good
Stick with Amplitude if
  • You need experimentation, session replay, or a built-in CDP
  • You want a free tier of 2M events a month
  • You want the broadest, most mature analytics platform
At a glance

Pug vs Amplitude, feature by feature

Each row sets what ships in Pug today against what Amplitude documents. A dash in Pug’s column is a feature Pug doesn’t have.

Capability Pug this page Amplitude
Ownership & operations
License AGPL-3.0 Proprietary
Open source Yes No
Self-hostable Yes No
Raw events on your own servers Yes No
Pricing (checked November 2026)
Free tier 100k events a month, 1 year of history 2M events a month, 1 year of history
Past the free tier Never blocked or dropped Account blocked after the third month over
Self-serve paid plan $1 a month + $20 per million events, falling with volume Plus from $0, first 2M events free, card required
Self-serve volume Published rates at any volume Plus up to 70M events, then sales
History on the first paid plan 5 years 2 years on Plus
Product analytics (same category)
Autocapture Yes Yes
Trends Yes Yes
Funnels Yes Yes
Retention cohorts Yes Yes
User-flow Sankey Yes Yes
Unified person profiles Yes Yes
Platform breadth
Experimentation & feature flags Not in Pug Yes
Session replay Not in Pug Yes
Customer data platform (CDP) Not in Pug Yes
Warehouse-native pipelines Not in Pug Yes
Integration marketplace Not in Pug Yes
Single sign-on
SSO on the free plan Yes No
Your own identity provider Every plan, over OIDC Growth or Enterprise plan
SAML 2.0 Not in Pug Yes
SCIM provisioning Not in Pug Enterprise plan
AI assistants
Hosted MCP server Yes US and EU endpoints
What an agent can change Creates and edits dashboards, never deletes Charts, dashboards, experiments, cohorts, events and properties
Connect without a browser sign-in A private key, on any plan Service accounts on Enterprise
Listed in Claude’s connectors directory Yes Yes
Listed among ChatGPT’s plugins Yes Yes
Bots
Bot traffic Tagged and kept; an Include bots toggle shows it Blocked by user agent, not recoverable
SDKs
SDKs Web, Android, iOS, Flutter, Node, Go, Ruby Browser, iOS, Android, React Native, Flutter, Unity, Unreal, Node.js, Python, Go, JVM

Checked November 21, 2026 by Praveen Kumar, who builds Pug. Sources: Amplitude pricing, plans and billing, SSO, MCP server, ChatGPT plugin, Claude connector, bot blocking, SDK list, Browser SDK 2. Prices change, so confirm them on Amplitude’s site before you decide.

Open source, not a black box

Amplitude is proprietary and runs only in its cloud, so your raw events live on its servers. Pug’s server and dashboard are AGPL-3.0: read the code, self-host it with every feature, and keep each event on your own servers.

An MCP server with one write

Amplitude’s MCP server reads and writes charts, dashboards, experiments, cohorts, events and properties, and it is listed in Claude’s connectors directory and among ChatGPT’s plugins. Pug is listed in both too. Its server has 17 tools: 16 read, and upsert_dashboard creates or edits a dashboard, so no connection can delete or share a dashboard, erase a person, or send events.

The Pug MCP server

Bots tagged, not deleted

Amplitude blocks bot traffic by user agent, and data a block filter removes can’t be recovered. Pug tags headless browsers, monitors and scrapers ($bot, $bot_reason) as they arrive and leaves them out of insights by default, but drops nothing: an Include bots toggle brings them back.

The honest part

Where Amplitude is still the better choice

Amplitude has each of these and Pug doesn’t. If your team needs one, Amplitude is the better fit.

  • A broad platform: experimentation, feature flags, and session replay
  • A built-in customer data platform and warehouse-native pipelines
  • Mature data governance, ML-driven insights, and forecasting
  • SDKs for React Native, Unity, Unreal, Python and the JVM
  • A free tier of 2M events a month
  • SAML single sign-on, and SCIM provisioning on Enterprise
Migrating

Moving from Amplitude to Pug

Amplitude’s Browser SDK splits identity across setUserId() and an Identify object; Pug’s identify() takes the id and the traits in one call.

Amplitude Pug What changes
amplitude.track('Sign Up Clicked', { plan }) track('sign_up_clicked', { plan }) Pug event names take letters, digits, _, . and -, so a name with a space needs a new one. The SDK drops such an event with a console warning.
amplitude.setUserId('user-12345') await identify('user-12345') Amplitude rejects ids under five characters by default. Pug has no minimum and reserves only the cookieless- and crawler- prefixes. In the default cookieless mode identify() waits for consent.
amplitude.identify(new amplitude.Identify().set('plan', 'pro')) await identify(id, { plan: 'pro' }) Traits overwrite the stored value. setOnce(), add() and append() have no counterpart, so compute the value before you send it.
amplitude.setGroup('company', 'Acme Inc') No equivalent Pug has no group analytics (Amplitude’s needs its Accounts add-on). Put the company on the person as a trait, and filter any insight by it.
amplitude.revenue(new amplitude.Revenue().setPrice(99.99)) track('purchase', { productId, amount, currency }) Pug’s well-known purchase event types these fields. Its amount must be above 0, so a refund is an order_refunded event, not a negative price.
amplitude.reset() reset() Amplitude’s reset() keeps the session; Pug’s also starts a new one, and sends queued events first.
  • Both SDKs autocapture, under different event names. Pug’s Web SDK sends page_view, click, scroll, form_start, form_submit, rage_click and dead_click, so rebuild each chart on Pug’s names.
  • Server code moves to Pug’s Node, Go or Ruby SDK, where every track call takes the distinct id first, as in the Node SDK’s pug.track(userId, kind, props).

Pug has no importer for Amplitude’s history, so it counts from the day its SDK goes in: run both until the reports you rely on are rebuilt in Pug. To bring an export across, the Node SDK’s track() takes a timestamp option.

What Pug does well

What ships in Pug today

Pug ships autocapture on the web, seven insight types (trends, funnels, retention cohorts, segmentation, user flows, Top-K and a map), unified profiles, dashboards and a Live view, in the AGPL-3.0 server and on Pug Cloud alike. A self-hosted install is the pug Go binary on PostgreSQL, ClickHouse, NATS and Dragonfly, with no plans or limits.

Is Pug an Amplitude alternative?

Yes. It’s a direct fit by category. Amplitude and Pug are both product analytics tools with autocapture, trends, funnels, retention, user flows, and unified profiles. The key difference is that Amplitude is proprietary, cloud-only SaaS, while Pug is open source (AGPL-3.0) and self-hostable.

Can you self-host Amplitude?

No. Every Amplitude plan runs in its cloud, with an EU data center as the one hosting choice on its pricing page. Pug self-hosts under AGPL-3.0, or runs on Pug Cloud.

How does Amplitude’s pricing compare?

Amplitude’s free plan covers 2M events a month with a year of history, and blocks an account that goes over three times. Plus starts at $0 with the first 2M events free and a card required, scales to 70M events and keeps two years; Growth and Enterprise are priced through sales (checked November 2026). Pug Cloud is free up to 100k events a month with 1 year of history, then $1 a month plus graduated per-event rates with 5 years of history: 3M events a month bills $55.00, and 10M bills $167.00.

Is Pug as feature-rich as Amplitude?

No. Amplitude is a broad platform with experimentation, session replay, a CDP, data governance, and ML-driven insights. Pug focuses on the core insight types and unified profiles, open and self-hostable.

Do I own my data with Pug?

Self-hosted, every raw event stays in your own ClickHouse. On Pug Cloud, the Node, Go and Ruby SDKs read profiles, activity and insights back with your private key. With Amplitude, your events live in its cloud.

Does Amplitude include SSO?

Only on its Growth and Enterprise plans, through SAML 2.0, and SCIM provisioning is Enterprise only (checked November 2026). Pug includes SSO on every plan, Free and self-hosted included, through Google Workspace or your own OIDC provider such as Okta or Microsoft Entra ID; Pug has no SAML or SCIM.

Send your first event.

Create a project, add the snippet, and watch the Live view fill up. Or open the demo first: the real dashboard on a sample pet shop, with no sign-up.

Questions? Email hello@pug.sh