TiloBox
Back to directory
LicenseAGPL-3.0
GitHub stars1.6k
Last commit1 weeks ago
Tags6 topics
CookielessPerformance MonitoringGdprPrivacyTypescriptWeb Analytics
Overview

Why consider Swetrix?

Swetrix is a lightweight, privacy-focused open-source web analytics platform. It complies with GDPR and HIPAA without using tracking cookies, offering error monitoring and performance metrics.

Guided learning

Learn Swetrix by building

Practical setup notes, real use cases, and copy-ready examples in one focused guide.

1 min read 3 sections
In this guide3 sections

Overview of Swetrix

Swetrix provides cookieless website analytics, performance metric tracking, user session timelines, and live error alerting in a single self-hostable platform.

Running with Docker Compose

bash
1git clone https://github.com/Swetrix/swetrix.git
2cd swetrix
3docker compose up -d

Access the management dashboard on http://localhost:3000 to register projects and obtain tracking scripts.

Embedding the Script

html
1<script src="https://swetrix.org/swetrix.js" defer></script>
2<script>
3 document.addEventListener("DOMContentLoaded", function () {
4 swetrix.init("PROJECT_ID", { apiURL: "http://localhost:3000/api" });
5 swetrix.trackViews();
6 });
7</script>

Swetrix is distributed under the GNU AGPL-3.0 license.

Related tools

More options with a similar category or technology profile.

Swetrix FAQs

Swetrix is listed as a Developer Tools tool on TiloBox. Review the overview, features, and official documentation on this page to decide whether it solves your specific workflow.

Start with the project's GitHub repository and official website for supported installation and deployment instructions. Test the setup with representative data or a small project before rolling it out more widely.

Swetrix is listed under the AGPL-3.0 license. Read the complete license text and the project's notices before using, modifying, or distributing the software.

Production readiness depends on your requirements. Review maintenance activity, security practices, documentation, backup and upgrade procedures, and compatibility with your stack; then validate it in a non-production environment.

Swetrix is listed as an alternative to Plausible Analytics. Compare the core workflow, deployment model, integrations, and licensing against your must-have requirements before switching.