Skip to content

Commit 64cdfe5

Browse files
committed
docs
1 parent 8a1f5c0 commit 64cdfe5

File tree

2 files changed

+52
-51
lines changed

2 files changed

+52
-51
lines changed

apps/docs/app/layout.config.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,12 @@ import type { BaseLayoutProps } from 'fumadocs-ui/layouts/shared';
22
import { FaDiscord, FaGithub, FaXTwitter } from 'react-icons/fa6';
33
import { MdSpaceDashboard } from 'react-icons/md';
44
import { LogoContent } from '@/components/logo';
5-
import { ThemeToggle } from '@/components/theme-toggle';
65

76
export const baseOptions: BaseLayoutProps = {
87
nav: {
98
enabled: false,
109
title: <LogoContent />,
1110
transparentMode: 'top',
12-
children: <ThemeToggle />,
1311
},
1412
links: [
1513
{

apps/docs/content/docs/index.mdx

Lines changed: 52 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -1,123 +1,126 @@
11
---
22
title: What is Databuddy
3-
description: Privacy-first web analytics. 247x faster than Google Analytics, GDPR compliant by default, no cookies required.
3+
description: Privacy-first web analytics. 65x faster than Google Analytics, GDPR compliant by default, no cookies required.
44
---
55

6-
import { Card, Cards } from 'fumadocs-ui/components/card';
7-
import { Callout } from 'fumadocs-ui/components/callout';
6+
import { Card, Cards } from "fumadocs-ui/components/card";
7+
import { Callout } from "fumadocs-ui/components/callout";
8+
import { SciFiButton } from "@/components/landing/scifi-btn";
89

910
Databuddy provides powerful website analytics while respecting user privacy. Get comprehensive insights without cookies, consent banners, or GDPR headaches.
1011

1112
<Callout type="info">
12-
**247x faster** than Google Analytics • **No cookies required****GDPR compliant by default**
13+
<strong>TL;DR</strong> — **65x faster**, **no cookies**, **GDPR by default**,
14+
anonymous & aggregated only.
1315
</Callout>
1416

1517
## Why Choose Databuddy?
1618

1719
<Cards>
18-
<Card title="Lightning Fast" href="/docs/getting-started">
19-
Only 3KB script size. Improve your Core Web Vitals and SEO rankings instantly.
20+
<Card title="Lightning Fast" href="/docs/getting-started">
21+
~3KB script. Improve Core Web Vitals and SEO instantly.
2022
</Card>
21-
22-
<Card title="🔒 Privacy-First" href="/docs/security">
23-
Anonymous analytics with no personal data collection. No consent banners needed.
23+
<Card title="Privacy-First" href="/docs/security">
24+
Anonymous, aggregated analytics. No consent banners.
2425
</Card>
25-
26-
<Card title="📊 Real-time Data" href="/docs/dashboard">
27-
Live dashboards with 100% accurate data. No sampling, no delays.
26+
<Card title="Real-Time Data" href="/docs/dashboard">
27+
Live dashboards with accurate, unsampled data.
2828
</Card>
29-
30-
<Card title="⚙️ Easy Setup" href="/docs/Integrations">
31-
Works with React, Next.js, WordPress, Shopify. Install in minutes.
29+
<Card title="Easy Setup" href="/docs/integrations">
30+
Next.js, React, WordPress, Shopify. Install in minutes.
3231
</Card>
3332
</Cards>
3433

3534
## Analytics Features
3635

3736
**Essential Tracking**
37+
3838
- Page views with automatic SPA routing
39-
- Anonymous user sessions
39+
- Anonymous user sessions
4040
- Traffic sources and referrers
4141
- Real-time visitor monitoring
4242

4343
**Performance Monitoring**
44+
4445
- Core Web Vitals (LCP, FID, CLS)
4546
- Page load timing metrics
4647
- JavaScript error tracking
4748
- Custom business events
4849

4950
**E-commerce Analytics**
51+
5052
- Purchase tracking and revenue
5153
- Shopping cart behavior
5254
- Product performance metrics
5355
- Conversion funnel analysis
5456

55-
## Quick Start Guide
57+
## Quick Start
5658

5759
<Cards>
5860
<Card title="Create Account" href="https://app.databuddy.cc">
59-
Sign up free and verify your domain
61+
Sign up free and verify your domain.
6062
</Card>
61-
6263
<Card title="Install SDK" href="/docs/getting-started">
63-
Add script tag or install React package
64+
Add a script tag or install the React package.
6465
</Card>
65-
6666
<Card title="View Analytics" href="/docs/dashboard">
67-
Watch real-time data in your dashboard
67+
Watch real-time data in your dashboard.
6868
</Card>
6969
</Cards>
7070

7171
## Platform Integrations
7272

7373
<Cards>
74-
<Card title="React" href="/docs/Integrations/react" icon="⚛️">
75-
TypeScript support with React hooks and components
74+
<Card title="React" href="/docs/integrations/react">
75+
TypeScript support with React hooks and components.
7676
</Card>
77-
78-
<Card title="Next.js" href="/docs/Integrations/nextjs" icon="🚀">
79-
App Router and Pages Router with automatic route tracking
77+
<Card title="Next.js" href="/docs/integrations/nextjs">
78+
App Router and Pages Router with automatic route tracking.
8079
</Card>
81-
82-
<Card title="WordPress" href="/docs/Integrations/wordpress" icon="📝">
83-
Plugin installation and manual setup options
80+
<Card title="WordPress" href="/docs/integrations/wordpress">
81+
Plugin installation and manual setup options.
8482
</Card>
85-
86-
<Card title="Shopify" href="/docs/Integrations/shopify" icon="🛒">
87-
E-commerce tracking with purchase analytics
83+
<Card title="Shopify" href="/docs/integrations/shopify">
84+
E‑commerce tracking with purchase analytics.
8885
</Card>
8986
</Cards>
9087

9188
## Key Benefits
9289

93-
**No Cookies Required**
94-
Uses localStorage for anonymous session tracking only. No cookie banners needed.
90+
**No Cookies Required**
91+
Anonymous session tracking only. No cookie banners needed.
9592

96-
**GDPR Compliant by Default**
97-
Anonymous data collection means automatic compliance. No consent management required.
93+
**GDPR Compliant by Default**
94+
Anonymous collection and immediate IP anonymization. No consent management.
9895

99-
**Developer-Friendly**
100-
TypeScript support, React components, comprehensive API, detailed documentation.
96+
**DeveloperFriendly**
97+
TypeScript, React components, comprehensive API, and detailed docs.
10198

102-
**Cross-Platform**
103-
Works on websites, web apps, mobile apps, any JavaScript environment.
99+
**CrossPlatform**
100+
Websites, web apps, mobile appsany JavaScript environment.
104101

105102
## Pricing
106103

107104
<Callout type="success">
108-
**Free tier: 10,000 monthly page views** - Perfect for personal projects and small websites
105+
**Free tier: 10,000 monthly events** — perfect for personal projects and small
106+
websites.
109107
</Callout>
110108

111-
<Callout type="success">
112-
**Early adopters get 3 months free, unlimited websites and page views**
113-
</Callout>
109+
Looking for plan details? See the full breakdown on the [pricing page](/pricing).
114110

115111
## Get Support
116112

117-
- [Complete Documentation](/docs/getting-started) - Guides and API reference
118-
- [Email Support](mailto:[email protected]) - Direct help from our team
119-
- [GitHub Issues](https://github.com/databuddy/issues) - Bug reports and features
113+
- [Documentation](/docs/getting-started) — guides and API reference
114+
- [Email support](mailto:[email protected]) — direct help from our team
115+
- [GitHub issues](https://github.com/databuddy-analytics/databuddy/issues) — bug reports and features
120116

121117
---
122118

123-
Ready to get started? [Create your free account](https://app.databuddy.cc) or [read the documentation](/docs/getting-started).
119+
<div style={{ display: "flex", gap: 12, alignItems: "center" }}>
120+
<SciFiButton asChild>
121+
<a href="https://app.databuddy.cc" target="_blank" rel="noopener">
122+
GET STARTED
123+
</a>
124+
</SciFiButton>
125+
<a href="/docs/getting-started">Read the documentation →</a>
126+
</div>

0 commit comments

Comments
 (0)