Overview
Databuddy provides powerful tools for creating custom dashboards and reports beyond the default analytics views. You can track custom events, build custom queries, and visualize data exactly how you need it.Custom event tracking
The foundation of custom dashboards is tracking the right events. Use thetrack() function to send custom events with any properties you need.
Basic custom events
E-commerce tracking
User engagement tracking
SaaS metrics tracking
Global properties
Set properties that attach to every event automatically:Viewing custom events
Access your custom events in the Databuddy dashboard:Select your event
Click on any event name to see:
- Total event count
- Unique users who triggered it
- Trend over time
- Property breakdown
Building custom queries
For advanced analysis, you can query your data directly. Databuddy stores events in ClickHouse with the following schema:Event data structure
Example queries
Top events by volume:Dashboard best practices
Track user intent, not just actions
Track user intent, not just actions
Instead of tracking every button click, focus on meaningful user actions:Good:Less useful:
Use consistent naming conventions
Use consistent naming conventions
Establish a pattern for event names and properties:
- Use
snake_casefor consistency - Start with the object, then the action:
report_generated,user_invited - Use past tense for completed actions
- Group related events with prefixes:
checkout_started,checkout_completed
Include context in properties
Include context in properties
Add properties that help you understand the ‘why’ and ‘where’:
Don't track sensitive data
Don't track sensitive data
Never include PII or sensitive information in event properties:Never track:
- Email addresses
- Full names
- Credit card numbers
- Phone numbers
- Passwords
- Social security numbers
- User IDs (hashed or internal)
- Plan types
- Feature flags
- Product SKUs
- Anonymized behavior
Validate events in development
Validate events in development
Test your tracking before deploying:
Advanced: Event batching
Databuddy automatically batches events for efficiency. You can configure batching behavior:Exporting data
You can export your analytics data for further analysis:- CSV Export: Download event data directly from the dashboard
- API Access: Use the Databuddy API to fetch events programmatically
- Webhooks: Set up webhooks to receive events in real-time (see webhooks guide)
Dashboard visualization tips
- Use time-series charts for trend analysis (daily/weekly/monthly views)
- Create funnel visualizations to track conversion paths
- Build cohort reports to analyze retention by signup date
- Set up alerts for anomalies (sudden drops/spikes in key metrics)
- Segment by device type to optimize mobile vs desktop experiences
Next steps
Webhooks
Integrate with payment providers and external services
API Reference
Full SDK documentation and examples
Troubleshooting
Debug tracking issues and common problems
Migration Guide
Switch from Google Analytics