Swetrix

Best Self Hosted Alternatives to Swetrix

A curated collection of the 16 best self hosted alternatives to Swetrix.

Privacy-focused web analytics SaaS for tracking website traffic and events without invasive profiling. Offers dashboards, funnels, UTM tracking, alerts and lightweight reports for web and product analytics.

Alternatives List

#1
Umami

Umami

Umami is an open-source, privacy-friendly web and product analytics platform—an alternative to Google Analytics—with fast dashboards, events, and insights.

Umami screenshot

Umami is a modern, privacy-focused analytics platform for tracking website and product usage. It provides a lightweight tracking script and a clean dashboard to understand traffic, engagement, and user journeys while prioritizing data minimization.

Key Features

  • Website analytics dashboards for pageviews, sessions, referrers, devices, and geography
  • Event tracking for product interactions and custom actions
  • Audience segmentation and filtering for deeper analysis
  • Cohort analysis and user journey-style insights to understand retention and flows
  • Multi-website support with user accounts and access controls
  • Supports deployment with PostgreSQL and containerized setups

Use Cases

  • Privacy-friendly traffic analytics for marketing and content sites
  • Product analytics for SaaS apps (events, funnels/journeys, cohorts)
  • Internal analytics for organizations that want to keep data under their control

Umami is well-suited for teams that want straightforward analytics without invasive tracking, and it can replace common hosted analytics tools for many standard reporting needs.

34.7kstars
6.3kforks
#2
Plausible Analytics

Plausible Analytics

Open-source, lightweight web analytics with a simple dashboard, privacy-first metrics, and goal/conversion tracking as an alternative to Google Analytics.

Plausible Analytics screenshot

Plausible Analytics is an open-source web analytics platform designed to provide useful website insights without cookies or personal data collection. It offers a fast, simple dashboard for traffic and conversion reporting while keeping visitor privacy as a core principle.

Key Features

  • Lightweight tracking script and event-based measurement
  • Cookie-free analytics with anonymized, aggregated reporting
  • Real-time dashboard and key metrics on a single page
  • Goal and conversion tracking (including custom events and dimensions)
  • Campaign tracking (for example UTM parameters) and referrer/source reporting
  • Team access, shared dashboards, and optional public stats pages
  • API access for sending events and retrieving stats
  • Integration options such as Google Search Console and Google Tag Manager template

Use Cases

  • Privacy-focused analytics for websites that want to avoid cookie banners
  • Monitoring marketing campaigns and conversions without user-level tracking
  • Sharing simple, read-only analytics dashboards with clients or teammates

Limitations and Considerations

  • The Community Edition has a slower release cadence than the managed cloud offering
  • Some advanced features are reserved for paid/managed plans (for example SSO and certain premium analytics features)

Plausible Analytics is well-suited for individuals and organizations that want clear website metrics with minimal performance impact and strong privacy guarantees. It combines a modern UI with a straightforward data model that emphasizes actionable insights over invasive tracking.

24.1kstars
1.3kforks
#3
Matomo

Matomo

Matomo is an open-source web and app analytics platform that provides real-time insights, customizable dashboards, and privacy controls with full data ownership.

Matomo screenshot

Matomo is a web and app analytics platform designed to measure traffic, user behavior, and conversions while keeping analytics data under your control. It is widely used as a privacy-focused alternative to Google Analytics and can be extended through a plugin-based architecture.

Key Features

  • Website and mobile app tracking via JavaScript tag (and SDK integrations)
  • Real-time visitor analytics and customizable dashboards with drag-and-drop widgets
  • Goals, campaigns, and e-commerce tracking for conversion measurement
  • Segmentation and reporting features for deeper traffic and behavior analysis
  • Privacy features to support privacy-by-design analytics and data control
  • Extensible platform with plugins and an analytics API for integrations

Use Cases

  • Privacy-conscious web analytics for businesses, public sector, and nonprofits
  • Conversion and campaign performance tracking for marketing teams
  • Product and content analytics dashboards for internal stakeholders

Limitations and Considerations

  • On-premise deployments require a compatible PHP and database setup and ongoing maintenance
  • High-traffic sites may require tuning and scaling of the database and application stack

Matomo provides a robust analytics suite for teams that need accurate measurement and strong data ownership controls. Its extensibility and reporting capabilities make it suitable for everything from small websites to large organizations with strict privacy requirements.

21.2kstars
2.8kforks
#4
Rybbit

Rybbit

Open-source, cookieless web and product analytics alternative to Google Analytics with real-time dashboards, funnels, journeys, and session replays.

Rybbit is an open-source, privacy-friendly web and product analytics platform designed as a modern alternative to Google Analytics. It provides actionable insights without relying on cookies, helping teams understand user behavior while reducing privacy and compliance overhead.

Key Features

  • Cookieless tracking designed to be privacy friendly
  • Core web analytics metrics (sessions, unique users, pageviews, bounce rate, session duration)
  • Real-time dashboard with live activity
  • Funnels, goals, user journeys, and retention analysis
  • Custom events with JSON properties
  • Advanced filtering across multiple dimensions
  • Location analytics with country/region/city and map visualizations
  • Session details and session replays for behavioral analysis
  • User profiles and organization support (multi-site)
  • Public dashboards and built-in bot detection

Use Cases

  • Privacy-friendly analytics for websites and SaaS products without cookie banners
  • Conversion and product analysis using funnels, goals, journeys, and retention
  • UX and troubleshooting workflows using session replays and session timelines

Limitations and Considerations

  • Some features (such as Web Vitals) may be limited to paid/hosted tiers depending on deployment and plan

Rybbit fits teams that want a simpler, more intuitive analytics experience than traditional enterprise tools while maintaining strong privacy defaults. It can be used for both small sites and multi-site organizations needing real-time, event-based insights.

10.8kstars
530forks
#5
GoatCounter

GoatCounter

Open source web analytics focused on privacy, lightweight tracking, and simple, meaningful reports as an alternative to Google Analytics or Matomo.

GoatCounter screenshot

GoatCounter is an open source web analytics platform you can run as a hosted service or self-host on your own infrastructure. It focuses on privacy-friendly, easy-to-understand metrics without tracking users with personal identifiers.

Key Features

  • Privacy-aware analytics without user profiles or persistent personal identifiers
  • Lightweight JavaScript snippet, plus a no-JavaScript image-based tracking option
  • Cookie-less unique visit counting using a non-identifiable hash
  • Tracks useful aggregate stats such as referrers, campaigns, browser info, location, and screen size
  • Data export so you can retain and move your analytics data
  • Multiple ingestion options: JavaScript, HTTP/REST API (backend integration), and web server log import
  • Built-in TLS support with automatic ACME certificate provisioning
  • Accessible web UI designed to work well with assistive technologies

Use Cases

  • Privacy-friendly traffic analytics for personal websites and blogs
  • Simple analytics for small-to-medium business sites without heavy tracking
  • Server-side or log-based analytics when client-side JavaScript is undesirable

GoatCounter is a good fit if you want straightforward web analytics with strong privacy defaults, low overhead, and flexible ways to collect pageview data. It can run with SQLite for smaller setups or PostgreSQL for higher-volume deployments.

5.4kstars
249forks
#6
Ackee

Ackee

Ackee is a self-hosted, privacy-focused website analytics tool built with Node.js and MongoDB, offering a minimal UI and a GraphQL API for collecting traffic and events.

Ackee screenshot

Ackee is a self-hosted website analytics platform designed for privacy-conscious site owners. It provides essential traffic insights in a minimal interface while keeping tracked data anonymized and avoiding invasive user identification.

Key Features

  • Privacy-oriented analytics with anonymized data collection
  • Cookie-less tracking approach designed to avoid unique user tracking
  • Event tracking for interactions such as clicks and sign-ups
  • Central GraphQL API used by the UI and available for custom integrations
  • Lightweight architecture based on Node.js and MongoDB
  • Minimal, focused dashboard for website traffic statistics

Use Cases

  • Replace third-party analytics for small to medium websites with privacy-friendly metrics
  • Track key site interactions (events) without running a full marketing analytics suite
  • Use the GraphQL API to build custom dashboards, reports, or internal analytics tooling

Ackee is a good fit when you want straightforward website analytics and event tracking with strong privacy characteristics and a clean interface, while retaining full control over where analytics data is stored and processed.

4.6kstars
388forks
#7
Vince

Vince

Vince is a self-hosted alternative to Google Analytics with a lightweight script, cookie-free tracking, goal conversions, custom events, and shareable dashboards.

Vince screenshot

Vince is a self-hosted web analytics platform designed as a privacy-friendly alternative to Google Analytics. It provides actionable website traffic insights with a lightweight tracking script and an operationally simple, single-binary deployment.

Key Features

  • Cookie-free analytics designed to support privacy compliance (GDPR, CCPA, PECR)
  • Lightweight tracking script (under 1 KB)
  • Custom event tracking and goal conversions
  • Outbound link, file download, and 404 page tracking
  • Time period comparisons for reporting
  • Public dashboards and shareable dashboard links with optional password protection
  • Automatic TLS with native Let’s Encrypt support
  • Unlimited sites and events (scales with available resources)
  • Single-binary, zero-runtime-dependency deployment

Use Cases

  • Privacy-focused analytics for marketing and product teams without cookie banners
  • Replacing Google Analytics (or a simpler Plausible-style setup) for owned data and control
  • Sharing read-only analytics dashboards with stakeholders via public or protected links

Limitations and Considerations

  • Not intended for multi-tenant or enterprise feature parity with Plausible (for example, funnels and multi-tenancy are not included)

Vince is a solid choice for teams that want fast, straightforward web analytics with minimal operational overhead and a strong focus on privacy. Its single-binary approach and built-in TLS make it particularly convenient for small to mid-sized deployments.

2kstars
72forks
#8
Aptabase

Aptabase

Open-source, privacy-first analytics for mobile, desktop, and web apps with a simple dashboard, anonymous session tracking, and no cookies or device identifiers.

Aptabase screenshot

Aptabase is an open-source analytics platform for mobile, desktop, and web applications, designed as a privacy-first alternative to services like Firebase Analytics. It focuses on collecting minimal, anonymous usage data without cookies, fingerprinting, or long-term user identification.

Key Features

  • Privacy-first tracking with anonymous, untraceable sessions and no device identifiers
  • No cookies or fingerprinting, supporting privacy-friendly app analytics
  • Built-in dashboard for essential metrics and actionable insights
  • Broad SDK support across popular platforms (including mobile, desktop, and web)
  • Data ownership and export, with options for different data residency or self-hosting

Use Cases

  • Product and feature usage analytics for mobile apps without collecting personal data
  • Lightweight analytics for desktop apps (for example Electron or Tauri-based apps)
  • Privacy-friendly analytics for web apps where cookie-based tracking is undesirable

Limitations and Considerations

  • Focused on simple, privacy-preserving app analytics rather than user-level tracking, which may limit deep user attribution and long-term cohort analysis

Aptabase is a strong fit for teams that want straightforward app analytics while minimizing legal and privacy risks. Its open-source codebase and broad SDK ecosystem make it practical to adopt across multiple app platforms.

1.6kstars
115forks
#9
Offen

Offen

Open-source, self-hosted web analytics with opt-in data collection, end-to-end encryption, and user data access.

Offen screenshot

Offen is an open-source, self-hosted analytics platform that prioritizes user privacy and consent. It enables operators to collect analytics only from users who opt in and ensures end-to-end encryption so data remains private. Users can access and manage their own data, supporting GDPR-friendly operation.

Key Features

  • End-to-end encryption of usage data across the stack, ensuring privacy by design.
  • Self-hosted, GDPR-compliant architecture with no ads or third parties involved.
  • Opt-in only data collection; users must actively consent to tracking.
  • Supports analyzing multiple websites within one installation; accounts can be shared within teams.
  • Data is stored for a limited period (e.g., previously seven months in typical setups) and then deleted to minimize exposure.
  • Localize Offen for multiple languages and customize the consent banner to fit branding.
  • Test drive and deployment guidance are available for quick evaluation.

Use Cases

  • Privacy-friendly website analytics where users opt in and can review their own data.
  • GDPR-compliant, self-hosted analytics without transferring data to third parties.
  • Organizations managing analytics for multiple sites with team access control.

Limitations and Considerations

  • As of mid-2024, Offen reached a maturity stage and was described as not actively developed but maintained; users should verify current maintenance status and roadmap in the repository.

Conclusion Offen provides a privacy-first, opt-in web analytics option that runs on-premises, giving users control over data and reducing reliance on third-party services. It is suitable for teams seeking GDPR-friendly analytics with strong data protection guarantees.

964stars
54forks
#10
Medama Analytics

Medama Analytics

Medama Analytics is a self-hosted, cookie-free web analytics platform with a lightweight tracker, real-time dashboards, and a built-in API focused on user privacy.

Medama Analytics screenshot

Medama Analytics is an open-source web analytics service designed for self-hosting with a strong focus on privacy. It provides useful traffic insights using a very small tracker script while avoiding cookies and other user identifiers.

Key Features

  • Real-time analytics dashboards for monitoring traffic and user interactions
  • Cookie-free tracking without storing IP addresses or additional identifiers
  • Lightweight tracker (under 1KB) to minimize performance impact
  • Single-binary deployment designed to run with minimal resources
  • OpenAPI-based HTTP API for integrating analytics into custom dashboards and tools

Use Cases

  • Privacy-friendly analytics for personal sites, blogs, and small business websites
  • Replacing third-party analytics tools while keeping data under your control
  • Embedding website metrics into internal dashboards via the API

Limitations and Considerations

  • Built around a minimal-data approach, so it may not support identity-based or highly granular user tracking common in traditional analytics products

Medama Analytics is a good fit when you want actionable website metrics with minimal operational overhead and strong privacy defaults. Its lightweight tracker and API-first approach make it suitable for both simple sites and custom analytics integrations.

588stars
10forks
#11
AWStats

AWStats

Perl-based web logfile analyzer that produces graphical reports (visitors, pages, hits, referrers, errors) from server logs via CLI or CGI.

AWStats screenshot

AWStats is a logfile-based web analytics tool written in Perl that generates detailed graphical reports from web, ftp or mail server logs. It can be run from the command line or as a CGI to produce dynamic or static HTML reports and supports many log formats and platforms.

Key Features

  • Parses common web log formats (Apache, IIS, proxy, streaming, ftp, mail) and supports very large and split logs
  • Produces detailed metrics: visits, unique visitors, pages, hits, bandwidth, referrers, search keywords, browsers, OS, robots and HTTP errors
  • Can run as a CLI updater or as a CGI for near-real-time reports with dynamic filters
  • Supports reverse DNS lookups, country/city detection via GeoIP plugins, and optional WHOIS links
  • Stores analysis in portable XML format and includes XSLT tools and icon sets for customization
  • Plugin architecture and many configuration options; multi-named site (virtual host) support

Use Cases

  • Generate historical and per-period web traffic reports from server logs without page tags
  • Provide multi-site / virtual-host usage statistics for hosting providers or administrators
  • Investigate unusual traffic patterns, bots, broken links and HTTP error trends from raw logs

Limitations and Considerations

  • Project status: officially deprecated and no longer actively developed; future security or feature updates are not guaranteed
  • Relies on Perl and CGI support on the host; some users may prefer modern JS-tag-based analytics or maintained alternatives
  • GeoIP/city/ISP reports require external GeoIP databases or paid data for full functionality

AWStats is a mature, feature-rich log analyzer useful for privacy-conscious, server-log-driven reporting and troubleshooting, but users should consider its deprecated status and evaluate actively maintained alternatives for new deployments.

417stars
128forks
#12
PoeticMetric

PoeticMetric

Open-source, cookie-free web analytics alternative to Google Analytics. Privacy-focused, GDPR/CCPA-compliant with lightweight dashboards and self-hosting or managed options.

PoeticMetric screenshot

PoeticMetric is an open-source, privacy-first website analytics platform that provides lightweight, regulation-compliant metrics without using cookies or collecting personal data. It is designed as a performant alternative to mainstream analytics services with an emphasis on data protection and transparency.

Key Features

  • Cookie-free tracking that avoids personal data collection and minimizes privacy risks
  • Regulation compliance (GDPR, CCPA and other privacy laws) by design and minimal data retention
  • Fast, efficient architecture optimized for low resource usage and quick reporting
  • Self-hostable with provided Docker images and sample configuration; managed hosting available from the project author
  • Simple dashboards and reports focused on essential web metrics and traffic insights
  • AGPL-3.0 licensed project ensuring source availability and copyleft network-use protections

Use Cases

  • Privacy-conscious websites and organizations that need analytics without cookie banners or personal data processing
  • Small to medium sites that want a lightweight, self-hosted analytics solution with low infrastructure overhead
  • Businesses requiring compliance with European and other privacy regulations while retaining visitor metrics

Limitations and Considerations

  • Smaller ecosystem and fewer third-party integrations compared to major analytics vendors
  • AGPL-3.0 license has strong copyleft implications for hosted/modified deployments and should be reviewed before commercial use
  • Scaling to very high event volumes may require careful infrastructure planning (database tuning, clustering, and resources)

PoeticMetric is suitable for teams and operators who prioritize privacy and legal compliance while needing core web analytics. It offers a focused feature set and straightforward self-hosting path for organizations that prefer control over visitor data.

267stars
15forks
#13
Liwan

Liwan

Rust-based, single-binary web analytics with a sub-1KB tracking script, no database required, real-time dashboard, and privacy-first defaults.

Liwan screenshot

Liwan is a lightweight, privacy-first web analytics platform designed for simple, self-hosted tracking. It runs as a single, self-contained binary and provides a tiny tracking script that works with any website while avoiding cookies and persistent identifiers.

Key Features

  • Single self-contained binary with minimal setup; no external database required by default
  • Extremely small tracking script (under 1 KB) that is easy to embed on any site
  • Privacy-first defaults: no cookies, no cross-site tracking, no persistent user identifiers
  • Real-time dashboard that updates automatically as visitors arrive
  • Bot and crawler detection with filtered analytics for more accurate metrics
  • Lightweight and efficient implementation in Rust, suitable for low-resource hosts
  • Open source (Apache 2.0) with a modern TypeScript-based frontend

Use Cases

  • Privacy-conscious websites and blogs that need basic visitor metrics without third-party trackers
  • Small projects or low-resource servers (VPS, NAS, Raspberry Pi) requiring simple analytics
  • Developers and maintainers who want a minimal, real-time analytics dashboard with quick setup

Limitations and Considerations

  • Not focused on complex, enterprise reporting features such as funnels, cohort analysis, or advanced segmentation
  • Designed for simplicity and low resource usage; very high-traffic deployments may require additional scaling or external storage

Liwan is a practical choice for anyone who needs straightforward, privacy-respecting web analytics with minimal operational overhead. It emphasizes accuracy and resource efficiency over large-scale, feature-rich analytics suites.

144stars
8forks
#14
Prisme Analytics

Prisme Analytics

Open-source, privacy-first web analytics. Lightweight cookie-less tracking, real-time dashboards, ClickHouse storage, Grafana-based UI, optimized for high ingestion rates.

Prisme Analytics screenshot

Prisme Analytics is an open-source, privacy-focused web analytics platform designed for self-hosting or managed deployment. It captures anonymized pageviews and custom events with a tiny tracking footprint and exposes real-time metrics through a Grafana-driven interface.

Key Features

  • Privacy-first, cookie-less tracking that collects only anonymized data and filters bots and scrapers
  • Extremely lightweight tracking: ~2 KB JavaScript tracker and a 35-byte transparent pixel for no-JS tracking
  • High-performance ingestion optimized for ClickHouse, capable of tens of thousands of requests per second on appropriate hardware
  • Grafana-based dashboards for user/team management, permissions, multi-organization support, and custom visualizations
  • Support for SPA pushState routing and UTM campaign tracking; custom events and flexible metric definitions
  • Deployable via containers and common DevOps workflows; codebase includes a Go ingestion/backend and a TypeScript frontend

Use Cases

  • Real-time website analytics for privacy-conscious sites and organizations
  • Campaign and UTM tracking to measure traffic sources and conversion funnels without third-party trackers
  • Self-hosted analytics for teams needing full data ownership and long-term retention

Limitations and Considerations

  • Requires external components such as ClickHouse for storage and Grafana for dashboards, which add operational complexity
  • Product-analytics features (user segmentation, retention, user paths) are noted as in-progress or planned and may be limited compared to dedicated product-analytics tools

Prisme is a pragmatic alternative to large third-party analytics providers for teams that need high ingestion performance, fine-grained control, and strong privacy guarantees. It is suitable for organizations willing to operate ClickHouse and Grafana or use the project’s managed offering.

120stars
2forks
#15
ANALOG

ANALOG

Self-hosted analytics dashboard with pluggable storage (Redis, PostgreSQL, MongoDB, SQLite), a REST API for events, and a lightweight web UI.

ANALOG is a minimal analytics tool designed to run on your own infrastructure. It provides a self-hosted analytics dashboard with an API to ingest and retrieve events, and supports multiple storage backends.

Key Features

  • Self-hosted analytics dashboard and API for events
  • Pluggable storage backends: Redis, PostgreSQL, MongoDB, SQLite
  • Deployment options via Docker, Netlify, or Vercel configurations
  • Environment-based configuration for providers and optional request protection
  • Open-source MIT licensed, with a small, focused footprint
  • Includes a short demo video in the repository

Use Cases

  • Privacy-conscious teams that want to host analytics on their own infrastructure
  • Lightweight analytics for internal apps and prototypes
  • Self-hosted analytics as an alternative to cloud-based solutions for small projects

Limitations and Considerations

  • Scheduling/cron-like tasks may be unreliable in some hosting environments due to runtime limitations

Conclusion ANALOG provides a compact, self-hosted analytics stack with a web UI and API, adaptable to multiple storage backends and deployment options. It is suitable for small teams and projects seeking control over their analytics data.

31stars
0forks
#16
Counter.dev (Self-hosted)

Counter.dev (Self-hosted)

Self-hosted Counter.dev provides lightweight web analytics as a single Go binary with embedded frontend, Redis storage, and a CLI for user and password management.

Counter.dev (self-hosted) is the community distribution of the Counter.dev web analytics platform packaged for on-premise use. It provides the same UI and integration experience as the hosted service but runs as a single Go binary that serves an embedded JavaScript frontend and stores data in Redis.

Key Features

  • Single standalone Go binary (cntr) containing static assets for easy deployment and upgrades
  • Redis used as the primary datastore for metrics and state
  • Command-line management tools for creating users, changing passwords, and serving the app (examples: createuser, chgpwd, serve)
  • Embedded JavaScript-based UI for viewing site metrics and configuring tracking integrations
  • Implements the core feature set of the hosted Counter.dev offering for lightweight site analytics

Use Cases

  • Add simple, privacy-conscious analytics to small websites or landing pages without third-party services
  • Internal site usage tracking and lightweight traffic dashboards for intranets or internal tools
  • Local testing and development of tracking integrations before moving to a hosted analytics solution

Limitations and Considerations

  • The self-hosted distribution is marked as beta; some hosted features are not yet implemented (archiving functionality is currently missing)
  • Requires a running Redis instance and basic operational knowledge to manage the service and backup data
  • Feature parity with the hosted product may be incomplete; expect ongoing changes as the self-hosted edition matures

Counter.dev self-hosted is a pragmatic option for teams who need an embeddable, Redis-backed analytics frontend with minimal infrastructure. It favors simplicity and a compact deployment model while continuing to evolve toward parity with the hosted offering.

25stars
1forks

Why choose an open source alternative?

  • Data ownership: Keep your data on your own servers
  • No vendor lock-in: Freedom to switch or modify at any time
  • Cost savings: Reduce or eliminate subscription fees
  • Transparency: Audit the code and know exactly what's running