Revenue Tracking
Track purchases, revenue, and ROI across all channels
Revenue tracking lets you monitor purchase events, calculate key metrics like MRR, ARR, ARPU, and AOV, and break down revenue by channel.
Setting Up Revenue Tracking
Revenue tracking works automatically once you track a purchase event. Use our tracking script or SDK to send purchase events:
<script
src="https://your-instance.com/api/script.js"
data-site-id="YOUR_SITE_ID"
defer
></script>// Track a purchase event
window.rybbit('track', 'purchase', {
revenue: 49.99,
currency: 'EUR',
orderId: 'ORD-12345'
});Revenue Dashboard
The revenue page displays several key sections.
Stat Cards
- MRR — Monthly Recurring Revenue (normalized from all purchase events)
- ARR — Annualized Recurring Revenue (MRR × 12)
- ARPU — Average Revenue Per User (total revenue ÷ unique users)
- AOV — Average Order Value (total revenue ÷ number of orders)
- Each card shows a period-over-period change badge with percentage and direction
Revenue Chart
The time-series chart shows revenue trends over your selected period. Toggle between:
- Revenue — Total revenue per interval
- Orders — Number of purchase events per interval
- AOV — Average order value per interval
Channel Breakdown
Revenue is broken down by:
- Channel — Direct, Search, Social, Referral, Email
- UTM Source — Specific sources like google, twitter, newsletter
- Each row shows revenue, percentage of total, orders, and AOV
Currency Support
Revenue amounts are displayed in EUR. The system accepts multiple currencies in purchase events and normalizes them for consistent reporting.
API Access
Revenue data is available via the public API:
GET /api/v1/sites/:siteId/revenue— Revenue metrics and time-seriesGET /api/v1/sites/:siteId/revenue/breakdown— Revenue breakdown by channel