# The Countly alternative with the analysis in the open edition

Pug is the Countly alternative with every insight type in one open edition (funnels, retention, profiles) under plain AGPL-3.0, self-hosted or on Pug Cloud.

Source: https://pug.sh/compare/countly-alternative

Countly is a mature analytics and engagement platform with an SDK for nearly every stack, and its open-source server stops short of funnels, retention and flows, which its pricing page sells as a Flex add-on. Pug puts every insight in the single edition it has, under plain AGPL-3.0. Here is how the two compare, including where Countly is the better platform.

Choose Pug if

- You want funnels, retention and flows without a paid add-on
- You want a license you can rebrand and white-label under
- You want SSO without an Enterprise contract

Stick with Countly if

- You want crash reporting, push, and remote config in one place
- You need an SDK Pug doesn’t ship: React Native, Unity, Java or desktop
- You want a platform with years of production deployments behind it

## Pug vs Countly, feature by feature

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

| Capability                             | Pug                                                      | Countly                                                                           |
| -------------------------------------- | -------------------------------------------------------- | --------------------------------------------------------------------------------- |
| **Licensing & editions**               |                                                          |                                                                                   |
| License                                | AGPL-3.0                                                 | AGPL-3.0, modified §7                                                             |
| Rebrand or white-label                 | Yes                                                      | No                                                                                |
| Self-hostable                          | Yes                                                      | Yes                                                                               |
| Managed cloud                          | Yes                                                      | Yes                                                                               |
| All analysis in the open edition       | Yes                                                      | No                                                                                |
| **Pricing (checked November 2026)**    |                                                          |                                                                                   |
| Free option                            | Cloud up to 100k events a month, or self-hosted          | Self-hosted Lite, community support, no SLA                                       |
| Managed cloud price                    | $1 a month + $20 per million events, falling with volume | Flex from $175 a month, a dedicated instance billed by MAU                        |
| Full product on your own servers       | Free                                                     | Enterprise, priced per deployment, paid annually                                  |
| **Analysis in the open-source server** |                                                          |                                                                                   |
| Event trends & custom dashboards       | Yes                                                      | Yes                                                                               |
| Funnels                                | Yes                                                      | Not in the repo; in Flex’s Intelligence add-on                                    |
| Retention cohorts                      | Yes                                                      | Not in the repo; in Flex’s Intelligence add-on                                    |
| Drill-down on any property             | Yes                                                      | Not in the repo; Drill is in the Intelligence add-on                              |
| User-flow Sankey                       | Yes                                                      | Not in the repo; flows are in the Intelligence add-on                             |
| **Beyond analytics**                   |                                                          |                                                                                   |
| Crash reporting                        | Not in Pug                                               | Yes                                                                               |
| Push messaging                         | Not in Pug                                               | Yes                                                                               |
| Remote config                          | Not in Pug                                               | Yes                                                                               |
| Rating & feedback widgets              | Not in Pug                                               | Yes                                                                               |
| Alerts, hooks & scheduled reports      | Not in Pug                                               | Yes                                                                               |
| **Single sign-on**                     |                                                          |                                                                                   |
| Your own identity provider             | Every plan, over OIDC                                    | Enterprise: OIDC, Okta, Entra ID, AD or LDAP                                      |
| SSO in the open edition                | Yes                                                      | No                                                                                |
| **AI assistants**                      |                                                          |                                                                                   |
| MCP server                             | Hosted, reads plus dashboard edits                       | Read-only until an admin allows changes                                           |
| **Practical**                          |                                                          |                                                                                   |
| SDKs                                   | Web, Android, iOS, Flutter, Node, Go, Ruby               | iOS, Android, Web, Node.js, React Native, Flutter, Unity, Java, plus desktop apps |
| What you run                           | Go binary + PostgreSQL, ClickHouse, NATS, Dragonfly      | Node.js + MongoDB                                                                 |
| Autocapture on web                     | Yes                                                      | Opt-in helpers                                                                    |

Checked November 21, 2026 by [Praveen Kumar](https://github.com/poluruprvn), who builds Pug. **Sources:** [Countly pricing](https://countly.com/pricing), [Lite edition](https://countly.com/lite), [Enterprise SSO](https://countly.com/enterprise), [MCP](https://countly.com/feature/mcp), [license](https://github.com/Countly/countly-server/blob/master/LICENSE.md), [repository README](https://github.com/Countly/countly-server#readme), [plugins directory](https://github.com/Countly/countly-server/tree/master/plugins), [Web SDK types](https://github.com/Countly/countly-sdk-web/blob/master/lib/countly.d.ts). Prices change, so confirm them on Countly’s site before you decide.

## Why look for a Countly alternative

### The analysis sits behind the edition line

The countly-server repository ships crashes, push, remote config, ratings, dashboards and alerts, with no funnels, cohorts, retention, Drill or flows plugin, and Countly’s pricing page sells funnels, retention, flows and Drill in Flex’s Intelligence add-on. Pug has one edition, self-hosted or on Pug Cloud, and every insight is in it.

### A license you can build a product on

Countly’s server is AGPL-3.0 with a modified Section 7: the logos and branding have to stay, in the source and in every screen. Pug is plain AGPL-3.0, so an embedded or white-labelled deployment is yours to shape within the license.

### The whole product, self-hosted for free

Countly’s free Lite edition comes with community support and no SLA, and self-hosting the full platform means Enterprise, priced per deployment and paid annually. Pug’s self-hosted server is the whole product under AGPL-3.0, SSO included.

## Where Countly is still the better choice

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

- SDKs for React Native, Unity, Java and desktop apps
- Crash reporting, push messaging, remote config, and rating widgets in the open edition
- Alerts, webhooks, and email reports to automate on top of the data
- A Compliance Hub for consent and data subject requests
- Used in 17,000+ apps in 126 countries, by Countly’s count
- A dedicated managed instance, Flex, if you would rather not operate MongoDB yourself

## Moving from Countly to Pug

Countly’s Web SDK queues commands on Countly.q and gives every event a key, count, sum, duration and segmentation; Pug takes an event name and one properties object.

| Countly                                                                     | Pug                                                  | What changes                                                                                                                                                                          |
| --------------------------------------------------------------------------- | ---------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `Countly.q.push(['add_event', { key: 'purchase', sum: 49, segmentation }])` | `track('purchase', { amount: 49, currency: 'USD' })` | count, sum and dur are Countly’s built-in fields. In Pug each call is one event, and amounts and durations are properties; purchase is a well-known event whose fields the SDK types. |
| `Countly.q.push(['set_id', 'user-42'])`                                     | `await identify('user-42')`                          | Merges the anonymous history into the person. In the default cookieless mode it does nothing until the visitor consents.                                                              |
| `Countly.q.push(['user_details', { email, custom: { plan } }])`             | `await identify(id, { email, plan })`                | Countly’s named fields and its custom object are all plain traits in Pug.                                                                                                             |
| `Countly.q.push(['track_clicks'])`                                          | `click (autocaptured)`                               | Countly’s track_clicks, track_scrolls and track_forms helpers are opt-in. Pug’s Web SDK sends click, scroll, form_start and form_submit, plus rage_click and dead_click, from init(). |
| `Countly.q.push(['start_event', 'checkout'])`                               | No equivalent                                        | Pug has no timed events. Measure the duration in your code and send it as a property.                                                                                                 |

- Countly’s crash, push and remote-config calls have no Pug counterpart: keep the Countly SDK for those if you use them.
- Server-side sends move to Pug’s Node, Go or Ruby SDK, where every track call takes the distinct id first.

Pug has no importer for Countly’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.

- [Web, Android, iOS, Flutter, Node, Go & Ruby SDKs](https://pug.sh/sdks)
- [Pug docs](https://docs.pug.sh)

## 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.

- [How the Pug pipeline works](https://pug.sh/platform)
- [The insight types](https://pug.sh/analytics)
- [Self-hosting docs](https://docs.pug.sh/self-hosting/)
- [All open-source analytics tools](https://pug.sh/open-source-analytics)
- [Best self-hosted analytics](https://pug.sh/learn/best-self-hosted-analytics)

## Questions about switching from Countly

### Is Pug a Countly alternative?

For product analytics, yes, and the difference is where the analysis lives. Trends, funnels, retention cohorts, segmentation, user flows, and per-person profiles are all in Pug’s single open edition, while Countly’s open-source server covers events, dashboards, crashes, push, and remote config, with funnels, retention, flows and Drill sold in Flex’s Intelligence add-on.

### Is Countly open source?

Its Lite edition is, with a caveat worth knowing: the license is AGPL-3.0 with a modified Section 7 that forbids removing Countly’s name and logo from the source or from any screen a user sees. That is a real restriction if you plan to embed or white-label it. Pug is plain AGPL-3.0 with no such clause.

### Does Countly have funnels and retention?

Yes, though where depends on which Countly page you read. Its pricing page puts funnels, retention, flows and Drill in Flex’s Intelligence add-on, and its Lite page lists funnels, cohorts and retention among Lite’s plugins. The countly-server repository is what you self-host, and its README and plugins directory have crashes, push, remote config, ratings, dashboards, alerts and hooks, with no funnels, cohorts, retention, Drill or flows plugin (checked November 2026). Install it and look before you plan around it.

### How much does Countly cost?

Countly Lite is free and self-hosted, with community support and no SLA, and there is no free cloud tier. Flex, a dedicated cloud instance billed by monthly active users, starts at $175 a month after a 14-day trial and bills monthly; Enterprise is priced per deployment and paid annually (checked November 2026). Pug Cloud is free up to 100k events a month, then $1 a month plus graduated per-event rates.

### Which SDKs does each ship?

Countly’s server README names SDKs for iOS, Android, React Native, Flutter, Node.js, Unity, Java and JavaScript, and its Lite page adds macOS, Windows and Linux desktop apps. Pug ships seven: Web, Android, iOS, Flutter, Node, Go and Ruby, with React Native in development. On the web, Pug autocaptures page views, clicks, scrolls, form interactions, rage clicks and dead clicks; the Android and iOS SDKs record app opens and closes, installs and updates, and screen views; the Node, Go and Ruby SDKs also read profiles, activity and insights back with your private key.

### Does Pug do crash reporting or push messaging?

No. If you want analytics, crashes, and messaging from one system, Countly does that and Pug does not. This is the clearest case on the page for staying where you are.

### Does Countly support SSO?

In its Enterprise edition: single sign-on over OpenID Connect, Okta, Microsoft Entra ID, Active Directory or LDAP (checked November 2026). The open-source Lite server ships no SSO plugin. Pug’s SSO is part of the single edition it has, self-hosted or cloud.

### Can I use both?

Yes. Countly for the mobile platform features and the SDKs it covers, Pug for product analytics with identity and every insight type. They are independent systems with independent pipelines.

## Other Pug comparisons

- [vs PostHog](https://pug.sh/compare/posthog-alternative)
- [vs Mixpanel](https://pug.sh/compare/mixpanel-alternative)
- [vs Amplitude](https://pug.sh/compare/amplitude-alternative)
- [vs Heap](https://pug.sh/compare/heap-alternative)
- [vs Plausible](https://pug.sh/compare/plausible-alternative)
- [vs Matomo](https://pug.sh/compare/matomo-alternative)
- [vs Umami](https://pug.sh/compare/umami-alternative)
- [vs Segment](https://pug.sh/compare/segment-alternative)
- [vs Google Analytics](https://pug.sh/compare/google-analytics-alternative)
- [Replace GA4, step by step](https://pug.sh/compare/google-analytics-replacement)
- [vs Firebase](https://pug.sh/compare/firebase-analytics-alternative)
- [vs Aptabase](https://pug.sh/compare/aptabase-alternative)
