Revenue Tracking

Revenue Tracking

Track payments and revenue to analyze your business metrics alongside visitor analytics.

Basic Usage

window.owt.trackPayment(99.99);

Full Payment Details

window.owt.trackPayment(149.99, 'EUR', 'txn_1234567890');

API Reference

window.owt.trackPayment(amount, currency, transactionId, callback);

ParameterTypeRequiredDescription
amountnumberYesPayment amount (will be rounded to integer)
currencystringNoCurrency code (default: ‘USD’)
transactionIdstringNoUnique transaction identifier
callbackfunctionNoCalled with HTTP status code when complete

Revenue Analytics

Revenue data appears in your dashboard with breakdowns by:

  • Location: Country, Region, City
  • Page: Which pages generate revenue
  • Device: Desktop, Mobile, Tablet
  • Browser: Chrome, Firefox, Safari, etc.
  • OS: Windows, macOS, Linux, iOS, Android
  • Referrer: Which sources drive revenue