Skip to main content

Welcome to Databuddy

Databuddy is a comprehensive, privacy-first analytics platform built for modern web applications. Track user behavior, monitor performance, and gain actionable insights without compromising your users’ privacy.
Databuddy is open-source (AGPL-3.0) and provides anonymized analytics by default—no cookies, no fingerprinting, no PII collection.

Why Databuddy?

Databuddy combines powerful analytics capabilities with a privacy-first approach, making it the perfect choice for teams who care about both insights and user privacy.

Privacy-First

Anonymized by default. No cookies, no fingerprinting, GDPR-compliant from day one.

Easy Integration

Add analytics to your app in under 2 minutes with our drop-in React component or script tag.

Real-Time Analytics

Track page views, custom events, Web Vitals, and user behavior in real-time.

Developer-Friendly

Type-safe SDK with React, Vue, and Node.js support. Full TypeScript autocomplete.

Key Features

Analytics Features

  • Automatic Page Tracking - Zero-config page view tracking for SPAs and MPAs
  • Custom Event Tracking - Track any user action with a simple API
  • Real-Time Dashboard - See your analytics data update in real-time
  • Goal Tracking - Define and monitor conversion goals
  • Funnel Analysis - Understand user journeys through your app
  • Session Replay - Coming soon
  • Cohort Analysis - Coming soon
  • A/B Testing - Coming soon

Performance Features

  • Web Vitals Monitoring - Track FCP, LCP, CLS, INP, TTFB, and FPS
  • Performance Metrics - Monitor load time, DOM ready, and render time
  • Error Tracking - Capture and monitor JavaScript errors
  • Scroll Depth Tracking - Understand content engagement

Privacy Features

  • Anonymized by Default - All data is anonymized without PII collection
  • No Cookies - Works without third-party cookies
  • GDPR Compliant - Built-in privacy controls and opt-out mechanisms
  • Data Encryption - All data encrypted in transit and at rest
  • Sampling & Batching - Optimize data collection for minimal impact

Developer Experience

  • Type-Safe SDK - Full TypeScript support with autocomplete
  • Framework Support - First-class React, Next.js, Vue, and Node.js SDKs
  • Drop-in Components - <Databuddy /> component for instant setup
  • Declarative Tracking - Use data-track attributes for no-code tracking
  • API Access - Full REST API for custom integrations
  • Webhook Support - Real-time event notifications

Quick Start

1

Create an Account

Sign up at app.databuddy.cc and create your first project.
2

Get Your Client ID

Copy your Client ID from the project settings dashboard.
3

Install the SDK

npm install @databuddy/sdk
4

Add to Your App

import { Databuddy } from '@databuddy/sdk/react';

export default function RootLayout({ children }) {
  return (
    <html lang="en">
      <head>
        <Databuddy
          clientId={process.env.NEXT_PUBLIC_DATABUDDY_CLIENT_ID!}
          trackWebVitals
          trackErrors
        />
      </head>
      <body>{children}</body>
    </html>
  );
}
Check out the Quickstart Guide for a complete walkthrough, or jump to Installation for framework-specific setup instructions.

Architecture

Databuddy is built with modern technologies for maximum performance and scalability:
  • Frontend: Next.js 16, React 19, TypeScript 5.9
  • Backend: Elysia (Bun), ClickHouse for analytics storage
  • SDK: Lightweight tracker (< 10KB gzipped)
  • Infrastructure: Edge-deployed for low latency worldwide

Example Use Cases

Track product views, add-to-cart events, checkout funnel, and conversion rates:
// Track product view
window.databuddy.track('product_viewed', {
  product_id: 'abc-123',
  product_name: 'Awesome T-Shirt',
  category: 'Clothing',
  price: 29.99
});

// Track add to cart
window.databuddy.track('add_to_cart', {
  product_id: 'abc-123',
  quantity: 2,
  value: 59.98
});

Next Steps

Quickstart

Follow our step-by-step guide to get your first analytics data flowing.

Installation

Detailed setup instructions for React, Vue, Next.js, and vanilla JavaScript.

Dashboard

View your analytics dashboard and configure your projects.

GitHub

Star us on GitHub and contribute to the project.

Community & Support

Discord

Join our community

Twitter

Follow for updates

Email

Get in touch
Databuddy is under active development. Some features marked as “Coming soon” are not yet available. Check our GitHub roadmap for the latest updates.

Build docs developers (and LLMs) love