How Databuddy provides powerful analytics without cookies using privacy-first, cookieless tracking technology.
Databuddy is 100% cookieless. We don’t use cookies, and you don’t need cookie consent banners. This page explains our cookieless approach and why it’s better for both privacy and analytics.
Google Analytics and similar tools rely heavily on cookies:
Traditional Cookie-Based Tracking
// Google Analytics sets multiple cookies:document.cookie = "_ga=GA1.2.1234567890.1234567890"; // Client ID (2 years)document.cookie = "_gid=GA1.2.0987654321.0987654321"; // Session ID (24 hours)document.cookie = "_gat=1"; // Rate limiting (1 minute)// These cookies:// ❌ Require consent under GDPR/ePrivacy// ❌ Are blocked by Safari, Firefox, Brave// ❌ Can be cleared by users anytime// ❌ Trigger cookie banners// ❌ Don't work in incognito mode
Databuddy uses localStorage for anonymous session continuity:
Cookieless Tracking with localStorage
// Databuddy stores only an anonymous ID:localStorage.setItem("did", "anon_a7f3d9c2..."); // Random UUID// Session ID in sessionStorage (cleared on browser close):sessionStorage.setItem("did_session", "sess_b8e4f1a3...");// These storage methods:// ✅ Don't require consent (not cookies)// ✅ Not blocked by browsers// ✅ Used for legitimate technical purpose// ✅ No cookie banners needed// ✅ Anonymous by design
Article 5(3): "...the use of...cookies...shall only be allowedon condition that the subscriber or user concerned has givenhis or her consent..."✅ Applies to tracking cookies❌ Consent required❌ Opt-in model
Recital 66: "...information stored...for the sole purpose ofcarrying out the transmission of a communication, or asstrictly necessary..."✅ Exempt if "strictly necessary"✅ Session continuity qualifies✅ No consent required
Databuddy’s localStorage use qualifies as exempt because:
// Remove anonymous IDlocalStorage.removeItem("did");// Remove session datasessionStorage.removeItem("did_session");sessionStorage.removeItem("did_session_timestamp");sessionStorage.removeItem("did_session_start");// Result: All tracking data cleared, new anonymous ID on next visit
<div class="cookie-banner"> <p> We use cookies to analyze website traffic and improve your experience. By accepting, you consent to our cookie policy. </p> <button onclick="acceptCookies()">Accept</button> <button onclick="rejectCookies()">Reject</button> <a href="/cookie-policy">Cookie Policy</a></div><script> function acceptCookies() { // Load Google Analytics gtag('consent', 'update', { 'analytics_storage': 'granted' }); } function rejectCookies() { // Disable analytics - lose data gtag('consent', 'update', { 'analytics_storage': 'denied' }); }</script>
import { Databuddy } from "@databuddy/react";export default function RootLayout({ children }) { return ( <html> <body> <Databuddy clientId="your-client-id" /> {/* That's it. No banner, no consent, no complexity. */} {children} </body> </html> );}
### Cookies and Tracking Technologies**We do not use cookies for analytics.**Instead of cookies, our website uses Databuddy for anonymous analytics.Databuddy stores a random anonymous identifier in your browser's localstorage (not a cookie) to understand website usage patterns.**What is stored:**- Anonymous ID: A random UUID like "anon_a7f3d9c2..." stored in localStorage- Session ID: A temporary session identifier stored in sessionStorage**What is NOT stored:**- No personal information (names, emails, addresses)- No persistent tracking cookies- No cross-site identifiers- No data shared with third parties**Your control:**You can clear your anonymous ID at any time by clearing your browser'slocalStorage. This will not affect any other functionality on our website.**Legal basis:**Anonymous analytics without cookies or personal data processing operatesunder legitimate interest (GDPR Article 6(1)(f)) and does not requireconsent under ePrivacy regulations.**Third-party cookies:**We may use cookies from third-party services (e.g., authentication, paymentprocessors). These are separate from our analytics and will be disclosedhere if applicable.
Important: While Databuddy is cookieless for analytics, your website may still use cookies for authentication or other functionality. Only analytics tracking is cookieless.
No. Databuddy analytics tracking uses zero cookies. We use localStorage and sessionStorage instead, which are not cookies and not subject to cookie consent laws when used for technical functionality.
Why is localStorage exempt from cookie consent?
The ePrivacy Directive regulates cookies specifically. localStorage used for legitimate technical purposes (session continuity, anonymous analytics) is exempt from consent requirements. Additionally, anonymous data is not personal data under GDPR, removing another consent trigger.
Can users block localStorage like they block cookies?
Technically yes, but it’s much rarer. Most browsers don’t block first-party localStorage by default (unlike third-party cookies). Users can manually clear it, and we provide an opt-out function.
Do I still need a cookie banner if I use Databuddy?
Not for Databuddy analytics. However, if you use other services that set cookies (authentication, advertising, chat widgets, etc.), you may still need a cookie banner for those. Databuddy itself requires no banner.
What about Safari's ITP and Firefox's ETP?
These browser privacy features block third-party cookies and cross-site tracking. Databuddy uses first-party localStorage and no cross-site tracking, so it’s unaffected by ITP, ETP, or similar protections.
How does cookieless tracking handle returning visitors?
The anonymous ID in localStorage persists across sessions, allowing us to recognize returning visitors (as anonymous users) without cookies. If they clear localStorage, they’ll be counted as a new visitor.
Is localStorage GDPR compliant?
Yes, when used for anonymous data. The GDPR regulates personal data. Random UUIDs stored in localStorage are not personal data because they cannot identify an individual. Additionally, localStorage for technical functionality is permitted under legitimate interest.