AltFreeStack
Web Analyticsdocker-ready

Countly: the best Open Source alternative to Mixpanel in 2026

Countly is a web and mobile product analytics platform with funnels, retention and user segmentation, offered as a self-hostable community edition versus Mixpanel.

License AGPL-3.0 5.9k stars liveUpdated hoyWebsite GitHub Repository

Technical profile

License
AGPL-3.0
Category
Web Analytics
Replaces
Mixpanel
Tech stack
Node.jsMongoDB

Preview

Countly interface preview

Public image provided by Countly on its own website.

Key features

  • User funnels and retention
  • Native mobile app analytics
  • User segmentation

Countly vs. Mixpanel

Pros

  • Strong support for native mobile SDKs

Things to consider

  • The community edition has fewer features than the Enterprise one

Quick Docker installation guide

Copy this docker-compose.yml, adjust the example passwords and run docker compose up -d on your server. See the full step-by-step guide →

docker-compose.yml
version: "3.9"
services:
  countly:
    image: countly/countly-server:latest
    restart: unless-stopped
    ports:
      - "443:443"
    environment:
      - COUNTLY_CONFIG_HOST=countly-db
    depends_on:
      - countly-db
  countly-db:
    image: mongo:7
    restart: unless-stopped
    volumes:
      - countly_mongo_data:/data/db
volumes:
  countly_mongo_data: