Revenue

Send revenue with any event, from the web script, the app SDKs or the server. Amounts are always integers in minor units, with an ISO 4217 currency.

js
pagebee("Purchase", { revenue: 1999, currency: "GBP" });   // £19.99
swift
Pagebee.track("Upgraded", revenue: Revenue(amount: 999, currency: "USD"))
ts
await pagebee.track({ name: "Subscription started", revenue: { amount: 9600, currency: "USD" } });

On the dashboard

The Revenue tab shows totals by source, refunds netted off, and revenue by channel for web events (which channel the visit came from). Amounts in other currencies are converted to your workspace currency at that day's rate, and the rate is shown.

Refunds

Send a refund as a negative amount on an event named Refund, or post it to the payments channel so it shows in the feed too.