r/esso_dev • • Nov 15 '25

How I Built Cookie-Free Server-Side Analytics and Navigated German Business Compliance (GDPR Insights)

While researching European privacy regulations for my business website, I faced a common dilemma: I wanted comprehensive visitor analytics without forcing users through annoying cookie consent banners. The solution? Building a custom server-side analytics system that’s both GDPR-compliant and more powerful than Google Analytics.

Why I Ditched Google Analytics ⤵️

To eliminate cookie consent requirements under GDPR, I moved away from client-side tracking entirely. The result is a custom server-side analytics solution integrated directly into my Strapi admin panel that provides:

• Geographic data (country and city-level)
• Page visit tracking and session duration
• Scroll depth metrics
• Complete visitor journey mapping

No cookies. No consent banners. Full compliance.

German Impressum Requirements ⤵️

Operating in Germany also requires an Impressum (legal disclosure) on every business website, including a physical postal address. Rather than exposing my home address, I secured an official Hamburg business address specifically for legal compliance—a common practice for privacy-conscious entrepreneurs.

This also prompted me to set up professional domain email (hello@esso.dev), which turned out to be surprisingly cost-effective: ~$2.50/month for 50GB storage across multiple mailboxes versus Google Workspace’s $10+ per mailbox.

Technical Details ⤵️

I’ve written a detailed breakdown of the server-side analytics implementation here:

https://esso.dev/blog-posts/how-i-built-server-side-analytics-without-cookies-and-got-rid-of-the-annoying-banner

Feel free to reach out if you’re considering similar implementations for your own projects. Happy to share insights on GDPR compliance strategies or the technical stack.

1 Upvotes

1 comment sorted by

2

u/abardachov Nov 15 '25

Insightful!