OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.
{
"slug": "revenue-tracking",
"short_name": "Revenue tracking",
"seo": {
"title": "Revenue Tracking - Tie Every Dollar to Events",
"description": "Track revenue as events, not spreadsheets. Tie every dollar to a user, session, and conversion flow. Privacy-first product revenue analytics with OpenPanel.",
"keywords": [
"revenue analytics",
"track revenue events",
"product revenue tracking"
]
},
"hero": {
"heading": "Revenue tracking",
"subheading": "Attach a dollar value to any action - purchase, upgrade, renewal - and see exactly how money flows through your product. No spreadsheets, no stitching."
},
"related_features": [
{
"slug": "event-tracking",
"title": "Event tracking",
"description": "Revenue events are built on the same event model. Learn how events work in OpenPanel."
},
{
"slug": "funnels",
"title": "Funnels",
"description": "Add revenue steps to conversion funnels and see where money drops off."
},
{
"slug": "session-tracking",
"title": "Session tracking",
"description": "Link revenue to the session that produced it-see the full journey from landing page to purchase."
}
],
"faqs": {
"title": "Frequently asked questions",
"intro": "Common questions about tracking revenue with OpenPanel.",
"items": [
{
"question": "How do I send a revenue event?",
"answer": "Call `op.revenue(amount, properties)` with the amount as an integer in cents, for example `op.revenue(2900, { plan: 'pro' })` for $29.00. It is sent as a `revenue` event and lands on the session and the profile. From the browser, revenue is only accepted when you enable \"Allow unsafe revenue tracking\" for the project; from your backend, the client secret is enough."
},
{
"question": "Can I track recurring subscription revenue?",
"answer": "Yes, by sending one revenue event per charge from your billing webhook handler. You can then chart revenue over time and by plan or cohort. OpenPanel does not calculate MRR, churned or expansion revenue for you."
},
{
"question": "Do I need to integrate my payment provider?",
"answer": "There is no payment-provider integration to set up. Call `revenue` from the webhook you already receive from Stripe, Paddle, Polar or whichever provider you use. OpenPanel never talks to the provider."
},
{
"question": "Can I track refunds?",
"answer": "Amounts must be non-negative, so a refund cannot be sent as negative revenue. Track a `refund` event with the amount as your own property and report on it separately; it will not be subtracted from revenue."
},
{
"question": "Is revenue data shared with third parties?",
"answer": "No. OpenPanel is privacy-first. Self-host to keep revenue data entirely in your infrastructure, or use our cloud where data is never shared with third parties."
},
{
"question": "Which currency is used?",
"answer": "One. Amounts are stored as integers in cents and shown as USD. There is no per-event currency field and no conversion, so send every amount in the same currency."
}
]
},
"cta": {
"label": "Start tracking revenue",
"href": "https://dashboard.openpanel.dev/onboarding"
}
}