Web Analytics without Cookies
Privacy-first for static websites. No fingerprinting, no data sharing – self-hosted and GDPR-compliant.
GitHubPrivacy-first for static websites. No fingerprinting, no data sharing – self-hosted and GDPR-compliant.
What is Trackr?
Web analytics that stores no personal data. Built for static websites that don't need cookie banners.
No consent required. Since Trackr does not collect GDPR-relevant data, there is no obligation to obtain consent. Free choice of hosting and database.
Principles
Analytics without compromise on privacy and performance.
Privacy-First
Privacy is not a feature — it is the foundation.
Self-Hosted
Your data belongs to you. No cloud dependency.
Lightweight
Under 1KB. No impact on performance.
Open Source
LGPL-3.0 license. Full access to the code.
What Makes Trackr Different
Built for teams that take privacy seriously – without giving up insights.
No Personal Data
Trackr stores no GDPR-relevant data. Therefore no consent via cookie banner is required.
Extremely Lightweight
Client script under 1KB (gzip). No impact on Core Web Vitals.
Self-Hosted
Your data stays on your infrastructure. No third-party vendor.
UTM Tracking
Automatic extraction of campaign parameters.
Free Database Choice
PostgreSQL, SQLite, or external APIs. No vendor lock-in on infrastructure.
Astro-First
Optimized for Astro, works with any static website.
Privacy Features
Every feature was built with privacy as the highest principle.
IP Anonymization
Last octet is removed before processing.
PII Filtering
Emails, phone numbers and tokens are removed from URLs.
No Cookies
Session ID is calculated from anonymized IP + User-Agent + date.
Bot Filtering
Known bots and crawlers are automatically excluded.
Simple Integration
Ready in minutes. Here is an example for Astro:
---
// src/components/Analytics.astro
---
<script>
import { init } from "@casoon/trackr/client";
init({ endpoint: "/api/track" });
</script> import { createHandler } from "@casoon/trackr/server";
import { postgres } from "@casoon/trackr/storage/postgres";
const handler = createHandler({
storage: postgres(import.meta.env.DATABASE_URL),
privacy: { anonymizeIp: true, stripPii: true },
botFilter: true
});
export const POST = async ({ request }) =>
handler(request); The Trackr Ecosystem
Three components that together form a complete analytics solution.
The core library. Client script, server handler and storage adapter.
Visualization of your analytics data. Pageviews, events, referrers.
Use Cases
For everyone who needs analytics – without privacy compromises.
Static Websites
Perfect for Astro, Hugo, Jekyll and all Static Site Generators.
Business Websites
No cookie banner needed. Full control over your data.
Blogs & Content
Understand which content is being read. Without tracking your readers.
E-Commerce Light
Event tracking for conversions, clicks and interactions.
Marketing Teams
UTM parameter tracking for campaign analysis.
Privacy Focus
For companies that take privacy seriously.
Limitations
Honesty builds trust. This is what Trackr intentionally cannot do:
No User Journeys
Without cookies, Trackr cannot trace which pages a single visitor visited in sequence.
Session Detection Inaccurate
Users on the same network (company, VPN) may be counted as one session.
No Returning Visitors
Trackr does not distinguish between first-time and repeat visitors. No cohort analysis.
Self-Hosted = Effort
You need your own infrastructure. Updates, backups and monitoring are your responsibility.
For deeper user analysis (funnels, journeys, retention), Trackr is intentionally not suitable.
Perfect for