Zum Inhalt springen

Web Analytics without Cookies

Privacy-first for static websites. No fingerprinting, no data sharing – self-hosted and GDPR-compliant.

Privacy-First No Cookies Self-Hosted GDPR-Native UTM Tracking Astro-First <1KB Client Open Source
Open Source · LGPL-3.0
<1KB gzip
0 Cookies
100% GDPR

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:

Analytics.astro
---
// src/components/Analytics.astro
---
<script>
  import { init } from "@casoon/trackr/client";
  init({ endpoint: "/api/track" });
</script>
api/track.ts
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.

@casoon/trackr

The core library. Client script, server handler and storage adapter.

TypeScript Astro PostgreSQL

Trackr Dashboard

Visualization of your analytics data. Pageviews, events, referrers.

Astro Charts Realtime

Trackr Demo

Interactive demo with various event types and UTM tests.

Pageviews E-Commerce UTM

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

Static Websites
Astro
Hugo
Jekyll
Blogs
Business Websites