# Databuddy

> Databuddy is open-source product analytics for startups. One cookieless script tracks visitors, custom events, funnels, and goals, with opt-in error and Web Vitals tracking. Databunny, the built-in AI analyst, answers questions about your data and shows the query behind each answer. Feature flags, short links, and uptime monitoring run in the same dashboard. Free up to 10,000 events a month; error tracking starts on the Hobby plan.

Databuddy (databuddy.cc) is open-source product analytics. It is not affiliated with Tencent Cloud DataBuddy, the WeData data workbench. For the full documentation corpus, see [llms-full.txt](https://www.databuddy.cc/llms-full.txt).

## Product
- [Databuddy](https://www.databuddy.cc): Product analytics for startups: visitors, custom events, funnels, goals, and user profiles from one cookieless script.
- [Live demo](https://www.databuddy.cc/demo): A Databuddy dashboard with real traffic. No signup needed to look around.
- [Error tracking](https://www.databuddy.cc/errors): JavaScript errors from the same script, with stack trace, page, browser, and how many visitors each error hit. Starts on the Hobby plan.
- [Web Vitals](https://www.databuddy.cc/web-vitals): Real-user LCP, INP, CLS, FCP, and TTFB at p75 by page, browser, and country.
- [Uptime monitoring](https://www.databuddy.cc/uptime): HTTP checks with alerts in Slack, email, or a webhook, plus public status pages.
- [Feature flags](https://www.databuddy.cc/feature-flags): Roll out by percentage, user, or company in the same SDK as your analytics.
- [Short links](https://www.databuddy.cc/links): Short links with clicks by source, country, and device.

## Pricing
- [Pricing](https://www.databuddy.cc/pricing.md): Free up to 10,000 events a month with 10 AI credits for Databunny chat. Business includes 100 investigations a month and Scale 250; extra investigations cost $1 each. Plans, event overage, and limits in Markdown.
- [Pricing API](https://www.databuddy.cc/api/pricing): Machine-readable plans, allowances, and overage tiers.

## Databunny
- [Databunny](https://www.databuddy.cc/databunny): The built-in AI analyst. Chat is on every plan, runs on AI credits, and shows the query behind each answer. Business and Scale add daily or weekly investigations that compare the last 7 days with the prior 7 and end with evidence and a next step. Investigations are not real time, and some end without a root cause.
- [Databuddy MCP server](https://www.databuddy.cc/docs/api/mcp.md): Ask about your Databuddy data from Claude, Claude Code, or Cursor.

## Comparisons
- [Databuddy vs Google Analytics](https://www.databuddy.cc/compare/google-analytics): Databuddy vs GA4: cookieless analytics with funnels and goals, an AI analyst that shows its query, and uptime and feature flags built in, free up to 10,000 events a month.
- [Databuddy vs Plausible](https://www.databuddy.cc/compare/plausible): Databuddy vs Plausible: both are cookieless and open source, with funnels and custom properties. Databuddy also links events to identified-user profiles.
- [Databuddy vs Fathom Analytics](https://www.databuddy.cc/compare/fathom): Databuddy vs Fathom: both are cookieless, with conversion goals and CSV exports. Databuddy adds a multi-step funnel builder and a Free plan with 10,000 events.
- [Databuddy vs PostHog](https://www.databuddy.cc/compare/posthog): Databuddy vs PostHog: both track product events, run feature flags, and have AI. Databuddy is one cookieless script; PostHog adds replay and surveys.
- [Databuddy vs Umami](https://www.databuddy.cc/compare/umami): Databuddy vs Umami: both have funnels, goals, identified users, event properties, exports, and MCP access. Compare features, pricing, and when to pick each.
- [Databuddy vs Mixpanel](https://www.databuddy.cc/compare/mixpanel): Databuddy vs Mixpanel: both have web analytics, funnels, flags, identified users, and AI analysis. Mixpanel adds cohorts; Databuddy is one cookieless script.
- [Databuddy vs Amplitude](https://www.databuddy.cc/compare/amplitude): Databuddy vs Amplitude: both have AI analysis, feature flags, and custom events. Amplitude adds session replay and cohorts; Databuddy is one cookieless script.
- [Databuddy vs Rybbit](https://www.databuddy.cc/compare/rybbit): Databuddy vs Rybbit: both are cookieless, with identified profiles, funnels, MCP access, and managed cloud. Rybbit adds session replay and retention reports.
- [Databuddy vs Vercel Analytics](https://www.databuddy.cc/compare/vercel-analytics): Databuddy vs Vercel Analytics: both are cookieless, with custom events, Next.js support, Web Vitals, and flags. Databuddy works on any host and is free up to 10,000 events a month.
- [Databuddy vs Matomo](https://www.databuddy.cc/compare/matomo): Databuddy vs Matomo: both track events, goals, and live visits, with reporting APIs. Matomo adds heatmaps and recordings; Databuddy is one cookieless script.

## Top guides
- [Getting started](https://www.databuddy.cc/docs/getting-started.md): Add Databuddy to Next.js, React, Vue, or any site with a script tag or the npm SDK. Track pageviews and custom events without cookies, free up to 10,000 events a month.
- [Next.js](https://www.databuddy.cc/docs/Integrations/nextjs.md): Set up cookieless analytics in Next.js App Router or Pages Router, verify your first pageview and event, and replace an existing tracker without duplicate events.
- [React](https://www.databuddy.cc/docs/Integrations/react.md): Add cookieless product analytics to your React application
- [Identify users](https://www.databuddy.cc/docs/sdk/identify-users.md): Link tracked activity to your own user IDs and see real names in your dashboard
- [Tracking recipes](https://www.databuddy.cc/docs/hooks.md): Copyable recipes for tracking custom events and user interactions
- [MCP Server](https://www.databuddy.cc/docs/api/mcp.md): Connect Claude, Claude Code, or Cursor to your Databuddy analytics over MCP, then ask about traffic, funnels, events, and goals in plain language.
- [Cookieless analytics: how collection and privacy work](https://www.databuddy.cc/docs/privacy/cookieless-analytics-guide.md): Understand cookieless analytics, browser storage, optional user identification, consent requirements, and how to verify your Databuddy setup.
- [Web analytics privacy: consent and GDPR considerations](https://www.databuddy.cc/docs/compliance/gdpr-compliance-guide.md): Review Databuddy's collection, browser storage, optional profiles, consent behavior, and data-processing responsibilities before deploying analytics.
- [Core Web Vitals: measure and improve LCP, INP, and CLS](https://www.databuddy.cc/docs/performance/core-web-vitals-guide.md): Measure real-user Core Web Vitals with Databuddy, distinguish field data from lab tests, and diagnose loading, responsiveness, and layout stability.

## Developer Resources
- [Databuddy Developer Resources](https://www.databuddy.cc/developers): Canonical index of Databuddy API docs, OpenAPI, MCP, SDK, auth, and webhook resources.
- [Databuddy Developer Docs](https://www.databuddy.cc/docs): SDK setup, REST API guides, feature flags, Web Vitals, privacy, and integrations.
- [Databuddy API Docs](https://www.databuddy.cc/docs/api): Authentication, rate limits, analytics queries, events, and links.
- [Databuddy OpenAPI Spec](https://www.databuddy.cc/openapi.json): Machine-readable OpenAPI 3.1 schema for Databuddy's REST API.
- [Databuddy API Catalog](https://www.databuddy.cc/.well-known/api-catalog): RFC 9727 linkset catalog for Databuddy API and machine-readable specs.
- [Databuddy API Reference](https://api.databuddy.cc): Interactive API reference generated from the OpenAPI schema.
- [Databuddy API Authentication](https://www.databuddy.cc/auth.md): MCP sign-in with a Databuddy account, API key headers, bearer tokens, scopes, and access levels.
- [Databuddy Agent Discovery](https://www.databuddy.cc/.well-known/agent.json): Machine-readable agent discovery file with capabilities, endpoints, auth, and when-to-use guidance.
- [Databuddy A2A Agent Card](https://www.databuddy.cc/.well-known/agent-card.json): Agent card that points A2A agents to the Databuddy MCP server. Databuddy has no A2A message endpoint.
- [Databuddy MCP Server](https://www.databuddy.cc/docs/api/mcp): Model Context Protocol setup for Claude, Cursor, Windsurf, and other agents.
- [Databuddy MCP Manifest](https://www.databuddy.cc/.well-known/mcp.json): Machine-readable MCP discovery manifest pointing to the Streamable HTTP server.
- [Databuddy MCP Server Card](https://www.databuddy.cc/.well-known/mcp/server-card.json): MCP server card with transports, authentication, and resource details.
- [Databuddy SDK Docs](https://www.databuddy.cc/docs/sdk): React, Vue, Node.js, Nuxt, vanilla JS, and tracker SDK guides.
- [Databuddy Events Ingestion API](https://www.databuddy.cc/docs/api/events): Server-side custom event tracking through the Basket API: authentication, payloads, and batching.
- [Databuddy llms.txt](https://www.databuddy.cc/llms.txt): Compact LLM-readable index of Databuddy documentation and developer resources.
- [Databuddy skills.sh Skill](https://www.databuddy.cc/skill.md): Official SKILL.md source for agents that integrate Databuddy SDK, API, and MCP workflows.
- [Databuddy feedback.md](https://www.databuddy.cc/feedback.md): Where agents send feedback about the product, docs, API, SDK, or MCP server. No authentication required.

## Core
- [API keys](https://www.databuddy.cc/docs/api-keys.md): Create, use, and manage API keys with scopes and resource access
- [Dashboard guide](https://www.databuddy.cc/docs/dashboard.md): Complete guide to using your Databuddy analytics dashboard
- [Getting started](https://www.databuddy.cc/docs/getting-started.md): Add Databuddy to Next.js, React, Vue, or any site with a script tag or the npm SDK. Track pageviews and custom events without cookies, free up to 10,000 events a month.
- [Tracking recipes](https://www.databuddy.cc/docs/hooks.md): Copyable recipes for tracking custom events and user interactions
- [What is Databuddy?](https://www.databuddy.cc/docs/index.md): Install Databuddy on any site, track custom events, funnels, and goals, use the SDKs and REST API, and connect Claude or Cursor to your data over MCP.
- [Security and privacy](https://www.databuddy.cc/docs/security.md): Configure Databuddy's collection controls, visitor IDs, opt-out behavior, origin checks, and IP restrictions.
- [Uptime monitoring](https://www.databuddy.cc/docs/uptime.md): Monitor your endpoints with HTTP checks, transition-based alerts, and public status pages

## SDK
- [AI agents](https://www.databuddy.cc/docs/sdk/ai-agents.md): See which AI products read your site, which pages and formats they fetch, and how many visitors they send
- [Configuration reference](https://www.databuddy.cc/docs/sdk/configuration.md): Complete configuration options for all Databuddy SDK platforms
- [Databuddy DevTools](https://www.databuddy.cc/docs/sdk/devtools.md): Inspect Databuddy events, identity, queues, diagnostics, and feature flags during local development
- [Feature flags (client)](https://www.databuddy.cc/docs/sdk/feature-flags.md): Control feature rollouts and variant splits with React and Vue hooks
- [Identify users](https://www.databuddy.cc/docs/sdk/identify-users.md): Link tracked activity to your own user IDs and see real names in your dashboard
- [SDK overview](https://www.databuddy.cc/docs/sdk/index.md): SDK documentation for tracking analytics across web and server runtimes
- [MCP servers](https://www.databuddy.cc/docs/sdk/mcp.md): See which AI clients call your MCP servers, which tools they use, how fast they answer, and where they fail
- [Node SDK reference](https://www.databuddy.cc/docs/sdk/node.md): Complete reference for the Databuddy Node.js SDK for server-side analytics tracking
- [Nuxt](https://www.databuddy.cc/docs/sdk/nuxt.md): Zero-config Nuxt module with auto-imports, SPA tracking, and TypeScript support
- [React / Next.js](https://www.databuddy.cc/docs/sdk/react.md): React component and hooks for tracking analytics in React and Next.js applications
- [Server-side feature flags](https://www.databuddy.cc/docs/sdk/server-flags.md): Evaluate feature flags on the server in Node.js, API routes, and serverless functions
- [Tracker helpers](https://www.databuddy.cc/docs/sdk/tracker.md): Helper functions for tracking events, managing sessions, and cross-domain attribution
- [Vanilla JavaScript](https://www.databuddy.cc/docs/sdk/vanilla-js.md): Use the Databuddy script directly in vanilla JavaScript without any framework
- [Vue](https://www.databuddy.cc/docs/sdk/vue.md): Vue component and composables for tracking analytics in Vue applications

## API reference
- [Authentication](https://www.databuddy.cc/docs/api/authentication.md): API keys, scopes, and authentication methods for the Databuddy API
- [Error handling](https://www.databuddy.cc/docs/api/errors.md): API error formats, stable query codes, and recovery guidance
- [Event tracking](https://www.databuddy.cc/docs/api/events.md): Send custom events programmatically via the Basket API
- [API overview](https://www.databuddy.cc/docs/api/index.md): Access your analytics data programmatically with Databuddy's REST API
- [Link analytics](https://www.databuddy.cc/docs/api/links.md): Query analytics for shortened links
- [MCP Server](https://www.databuddy.cc/docs/api/mcp.md): Connect Claude, Claude Code, or Cursor to your Databuddy analytics over MCP, then ask about traffic, funnels, events, and goals in plain language.
- [Analytics queries](https://www.databuddy.cc/docs/api/query.md): Query website analytics data with flexible parameters and filters
- [Rate limits](https://www.databuddy.cc/docs/api/rate-limits.md): Current Query API limits and retry behavior

## Infrastructure as code
- [Infrastructure as code](https://www.databuddy.cc/docs/infrastructure-as-code/index.md): Manage Databuddy resources from infrastructure as code tools
- [Pulumi](https://www.databuddy.cc/docs/infrastructure-as-code/pulumi.md): Manage Databuddy uptime monitors and status pages from Pulumi

## Integrations
- [Angular](https://www.databuddy.cc/docs/Integrations/angular.md): Add cookieless product analytics to your Angular application
- [Bubble](https://www.databuddy.cc/docs/Integrations/bubble.md): Add cookieless product analytics to your Bubble application
- [Cal.com](https://www.databuddy.cc/docs/Integrations/cal.md): Track and analyze user behavior from your website to your Cal.com scheduling pages with Databuddy.
- [Framer](https://www.databuddy.cc/docs/Integrations/framer.md): Add cookieless product analytics to your Framer site
- [Google Tag Manager](https://www.databuddy.cc/docs/Integrations/gtm.md): Add Databuddy analytics through Google Tag Manager
- [Hugo](https://www.databuddy.cc/docs/Integrations/hugo.md): Add cookieless product analytics to your Hugo static site
- [Integrations](https://www.databuddy.cc/docs/Integrations/index.md): Add Databuddy to your favorite platforms and frameworks
- [Jekyll](https://www.databuddy.cc/docs/Integrations/jekyll.md): Add cookieless product analytics to your Jekyll static site
- [Laravel](https://www.databuddy.cc/docs/Integrations/laravel.md): Add cookieless product analytics to your Laravel application
- [Mintlify](https://www.databuddy.cc/docs/Integrations/mintlify.md): Add cookieless product analytics to your Mintlify documentation site
- [Next.js](https://www.databuddy.cc/docs/Integrations/nextjs.md): Set up cookieless analytics in Next.js App Router or Pages Router, verify your first pageview and event, and replace an existing tracker without duplicate events.
- [Payments](https://www.databuddy.cc/docs/Integrations/payments.md): Attribute Stripe and Paddle revenue to sessions, campaigns, and identified users with Databuddy webhooks.
- [React](https://www.databuddy.cc/docs/Integrations/react.md): Add cookieless product analytics to your React application
- [Shopify](https://www.databuddy.cc/docs/Integrations/shopify.md): Add cookieless product analytics to your Shopify store
- [Squarespace](https://www.databuddy.cc/docs/Integrations/squarespace.md): Add cookieless product analytics to your Squarespace website
- [Svelte (Vite, client-side)](https://www.databuddy.cc/docs/Integrations/svelte.md): Add cookieless product analytics to your Svelte application
- [SvelteKit](https://www.databuddy.cc/docs/Integrations/sveltekit.md): Add cookieless product analytics to your SvelteKit application
- [Webflow](https://www.databuddy.cc/docs/Integrations/webflow.md): Add cookieless product analytics to your Webflow site
- [Wix](https://www.databuddy.cc/docs/Integrations/wix.md): Add cookieless product analytics to your Wix website
- [WordPress](https://www.databuddy.cc/docs/Integrations/wordpress.md): Add cookieless product analytics to your WordPress site

## React hooks
- [Feature usage tracking](https://www.databuddy.cc/docs/hooks/feature-usage.md): Track when users interact with specific features
- [Feedback tracking](https://www.databuddy.cc/docs/hooks/feedback-tracking.md): Track user feedback with server actions and client hooks
- [Form tracking](https://www.databuddy.cc/docs/hooks/form-tracking.md): Track form submissions with validation state and error patterns
- [Modal tracking](https://www.databuddy.cc/docs/hooks/modal-tracking.md): Track when modals and dialogs are opened and closed
- [Toast tracking](https://www.databuddy.cc/docs/hooks/toast-tracking.md): Track toast notifications to understand user feedback patterns and error rates

## Performance
- [Core Web Vitals: measure and improve LCP, INP, and CLS](https://www.databuddy.cc/docs/performance/core-web-vitals-guide.md): Measure real-user Core Web Vitals with Databuddy, distinguish field data from lab tests, and diagnose loading, responsiveness, and layout stability.
- [Performance](https://www.databuddy.cc/docs/performance/index.md): Guides for measuring and improving your website's performance with Databuddy

## Privacy
- [Cookieless analytics: how collection and privacy work](https://www.databuddy.cc/docs/privacy/cookieless-analytics-guide.md): Understand cookieless analytics, browser storage, optional user identification, consent requirements, and how to verify your Databuddy setup.
- [Event scanner: what gets sent and what is kept](https://www.databuddy.cc/docs/privacy/event-scanner.md): Exactly which code @databuddy/scan sends, where it goes, what Databuddy logs, and how to keep your source off Databuddy entirely.
- [Privacy](https://www.databuddy.cc/docs/privacy/index.md): Guides for privacy-first, cookieless analytics with Databuddy

## Compliance
- [Web analytics privacy: consent and GDPR considerations](https://www.databuddy.cc/docs/compliance/gdpr-compliance-guide.md): Review Databuddy's collection, browser storage, optional profiles, consent behavior, and data-processing responsibilities before deploying analytics.
- [Compliance](https://www.databuddy.cc/docs/compliance/index.md): Guides for GDPR and privacy regulation compliance with Databuddy