Privacy, GDPR & Data Residency
Details on EU infrastructure in Germany, zero IP storage, sub-processors, GDPR/ePrivacy posture, and automatic retention expiration.
How does TrimStats handle GDPR, ePrivacy, raw IP addresses, and EU hosting?
TrimStats hosts ClickHouse, Valkey, and Fastify ingestion on Hetzner in Nuremberg, Germany and PostgreSQL on Neon in Frankfurt, Germany. Raw visitor IPs are processed solely in volatile RAM for daily salted hashing and country lookup, never stored on disk, and default cookie-less mode writes zero browser storage.
GDPR vs ePrivacy: why cookie banners exist
Site owners often bundle GDPR and cookie banners together, though they are two distinct European rules. ePrivacy (the Cookie Directive) requires prior consent before storing or reading non-essential data on a visitor device (cookies or localStorage), even if the identifier is anonymous. GDPR governs how personal data (such as IP addresses or user IDs) is processed and where it is stored.
| Legal concept | What it means for your site | How TrimStats addresses it |
|---|---|---|
| Data Controller vs Data Processor | You (the website owner) are the Controller deciding why data is measured; TrimStats acts strictly as your Processor. | Available signed Data Processing Agreement (DPA); zero resale or cross-site ad profiling. |
| ePrivacy terminal storage | Writing cookies or localStorage for analytics typically triggers a consent banner in the EU. | Default Cookie-less mode writes 0 bytes to visitor devices. |
| GDPR IP minimization & residency | Raw IP addresses are treated as personal data in the EU and raise transfer scrutiny when sent to US clouds. | IPs are hashed in RAM with a daily rotating 32-byte salt on German EU servers and never written to disk. |
localStorage where your consent posture allows it.Privacy-by-design architecture
TrimStats is engineered from the ground up as a Data Processor on behalf of site owners. We never sell analytics data, never build cross-site advertising profiles, and never share visitor telemetry with third-party ad networks.
- Raw IP addresses are never written to disk: Incoming IPs are read transiently in RAM solely to derive the 2-letter ISO country code and (in cookie-less mode) the daily salted SHA-256 hash, then discarded immediately.
- Zero cross-site tracking: Every visitor hash is scoped to a single
site_id, so a visitor cannot be correlated across different customer websites. - Zero form-input capture: Even when UI friction tracking is enabled, TrimStats only records compact element tag/id/class selectors (for example
button.checkout-cta), never keystrokes, form values, or DOM text. - No cookies in default mode: Default cookie-less deployments store nothing on the visitor device, aligning with strict GDPR and ePrivacy interpretations without requiring a consent banner.
Exactly what telemetry is stored
| Field | Example value | Purpose |
|---|---|---|
pathname & hostname | /pricing, acme.com | Pageviews, entry/exit pages, goals, funnels |
referrer_domain & UTM params | news.ycombinator.com, utm_source=launch | Channel and campaign attribution |
country (2-letter ISO) | DE, US, GB | Geographic breakdown via edge header or in-memory GeoIP |
device, browser, os | desktop, Chrome, macOS | Coarse User-Agent classification; raw UA string is not stored |
duration_ms | 42500 | Visibility-aware engagement duration and bounce calculation |
visitor_id & session_id | 64-bit hash + 30-min UUID | Unique visitor, session, and live visitor counts |
EU hosting & sub-processors
All analytics telemetry and relational workspace configuration are hosted inside Germany (European Union).
| Sub-processor | Region | Role |
|---|---|---|
| Hetzner Online GmbH | Nuremberg, Germany (EU) | Collector ingestion, ClickHouse analytics database, and Valkey cache |
| Neon Inc. | Frankfurt, Germany (EU) | PostgreSQL relational database for accounts, sites, goals, and encrypted webhook secrets |
| Vercel Inc. | Global edge / EU | Next.js web dashboard hosting and TLS delivery |
| Polar.sh | Merchant of Record | Subscription billing, invoicing, and global sales tax / VAT compliance |
Review our full Privacy Policy, Cookie Policy, and Data Processing Agreement (DPA) for legal and procurement documentation.
Data retention & deletion
Raw analytics events expire automatically according to your plan retention window (90 to 1,095 days). Deleting a site from Site settings -> Danger zone immediately revokes its public key and removes its goals, funnels, alerts, and webhook secrets. For full workspace deletion or GDPR inquiries, email contact@trimstats.com.
Common technical questions
Does TrimStats store visitor IP addresses in ClickHouse, PostgreSQL, or server logs?
Where can EU privacy teams review TrimStats sub-processors and Article 28 DPA?
Related guides
Choose per site between zero-storage cookie-less analytics and persistent first-party visitor IDs, plus optional logged-in user identification.
Compare Starter, Growth, and Scale limits, see which events count toward monthly quotas, and learn how the 20% spike grace buffer works.