Prompt your analytics
into existence
Tell your AI what to track. It writes the config. You deploy. Dashboards that would take hours, shipped in minutes.
import { defineDashboard } from '@realanalytics/sdk'
export const dashboard = defineDashboard({
id: 'overview',
title: 'Product Analytics',
widgets: [
{ type: 'metric', event: '$pageview', label: 'Visitors' },
{ type: 'timeSeries', event: 'signup', title: 'Signups' },
{ type: 'funnel', steps: ['visit', 'signup', 'purchase'] }
]
})Describe it. Deploy it.
Tell your AI what to track. It generates the TypeScript config. You deploy. Dashboard ready instantly.
βCreate a conversion funnel from homepage to pricing to signup to payment, show drop-off ratesβ
βShow me daily signups for the last 30 days, broken down by UTM sourceβ
βBuild a dashboard showing our key product metricsβ
0M+
Events tracked
0.0%
Uptime SLA
<0KB
SDK size
<0ms
Query time
Built-in widget types
Everything you need to visualize your data. Metrics, charts, funnels, and breakdownsβall defined in code.
Metrics
Single KPI with comparison
Time Series
Line charts over time
Funnels
Conversion step analysis
Breakdowns
Bar charts by property
How it works
From zero to production analytics in three simple steps.
Install the SDK
One command. Works with React, Next.js, Vue, or vanilla JS.
Prompt your dashboard
Tell AI what to track. It generates type-safe config instantly.
Deploy & ship
Push to git. Your dashboard deploys automatically.
26+ events autocaptured
Pageviews, clicks, forms, errors, web vitalsβall tracked automatically.
TypeScript SDK
Full type safety with autocomplete. Define your event types and get compile-time validation.
Offline support
Events persist to localStorage when offline. Automatic retry with exponential backoff.
Lightweight
Core SDK is ~3KB gzipped. With all autocapture features enabled, still under 5KB.
Privacy-first
No cookies required. Disable any autocapture feature. Full control over what gets tracked.
Simple API, powerful results
Track events, identify users, and build dashboards with just a few lines of code.
import { createClient } from '@realanalytics/sdk'
const analytics = createClient({
publicKey: 'pk_live_xxx'
})
// Track custom events
analytics.track('purchase_completed', {
productId: 'prod_123',
price: 99.99,
currency: 'USD'
})
// Identify users
analytics.identify('user_123', {
email: 'user@example.com',
plan: 'pro'
})import { defineDashboard } from '@realanalytics/sdk'
export const marketingDashboard = defineDashboard({
id: 'marketing',
title: 'Marketing Dashboard',
widgets: [
{
type: 'metric',
label: 'Unique Visitors',
event: '$pageview',
aggregation: 'unique_users'
},
{
type: 'funnel',
title: 'Signup Flow',
steps: [
{ event: '$pageview', filter: { '$pathname': '/pricing' } },
{ event: 'signup_started' },
{ event: 'signup_completed' }
]
}
]
})Loved by developers
Join hundreds of teams who've switched to analytics-as-code.
βRealanalytics replaced our entire analytics stack. The AI-generated dashboards are surprisingly accurate.β
Sarah Chen
CTO, LaunchPad
βFinally, analytics that lives in my codebase. PR reviews for dashboard changes? Yes please.β
Marcus Johnson
Engineering Lead, Streamline
βWent from zero analytics to full funnel tracking in under an hour. The TypeScript DX is incredible.β
Emily Rodriguez
Founder, BuildFast
βOur product team can now request dashboards in Slack, and I just prompt them into existence.β
David Kim
Staff Engineer, Nexus
βThe SDK is tiny but powerful. Zero performance impact on our app, and the data just flows.β
Priya Patel
Frontend Lead, Craft Labs
βMigrated from Mixpanel in a day. The import scripts are legit. Why didn't I switch sooner?β
Alex Turner
Solo Founder, ShipIt
Free until you're successful. Then still cheap.
No credit card. No sales call. No "enterprise contact us" BS.
Free forever
$0
Vibe Check
Per month
$29
Ship It
Per month
$99
Main Character
- 1M events/month
- Unlimited dashboards
- 5 team members
- Priority support
For apps with actual users
Custom
Let's talk
VC Money
- Unlimited everything
- On-prem option
- SLA guarantees
- SOC 2 compliance
- Dedicated support
When legal gets involved
All plans start with a 14-day Pro trial. Broke indie hacker? DM us. We'll hook you up.
Yeah, we know what you're thinking
Still have questions? Ask in Discord
Your first dashboard.
Live in 5 minutes.
Tell your AI what to track. Deploy. Done. No credit card required.